This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to make dynamic split browser (co-depending)?

more options

I want to make a split window - additional to main one, where I would see a different URL, built on basis of main window. For example main URL is http://xxx.com, the additional one would be http://xxx.com/inbox/search?q=[TEXT] where text would be taken from main page code - for example from metatags or from title.

any help appreciated:) Regards

I want to make a split window - additional to main one, where I would see a different URL, built on basis of main window. For example main URL is http://xxx.com, the additional one would be http://xxx.com/inbox/search?q=[TEXT] where text would be taken from main page code - for example from metatags or from title. any help appreciated:) Regards

All Replies (1)

more options

You might be able to do this with the Greasemonkey or Scriptish extension and a userscript.

When a page or userscript launches a new window using the window.open() method, it can specify a name for that window (e.g, "my_search"). If you keep that named window open next to your main window, every time you load a new page in the first window your script can load the new URL in the second window by re-using that window name. I need to add "in theory" because I haven't tested this idea.

To get assistance with writing a userscript, you can try this forum: Ideas and script requests - Userscripts.org.

Modified by jscher2000 - Support Volunteer