We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

所有回复 (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.

由jscher2000 - Support Volunteer于修改