Open certain webs in a new window
Hi,
I like the normal tab behaviour: all the 'external' links to a new tab. But I'd like that when the page A is called (http://www.example.com) it opens in a new window. Only for that site.
Is it possible this situation?
I've a reason for that. I've an enterprise java application that opens an external link (http://www.example.com) and it's necessary to open it in a new window, like a popup. If it opens in a new tab the Firefox window remains in the background and people can't see the new tab. Another problem is that when people want to close the tab they close all the Firefox...
Thx
所有回复 (2)
Hi there. I don't know of such a feature that would allow you to determine the new window or tab behavior based on the URL of the site being opened. I'm pretty sure it's possible to write an add-on that would handle this, but I don't know how hard it would be.
It might also be that there is already a tab add-on that has this functionality already, since there are literally hundreds of tab related add-ons out there: https://addons.mozilla.org/en-US/firefox/search/?q=tabs&platform=windows&appver=15.0a1&page=1&_pjax=true
By default, Firefox will make an exception and launch a new window instead of a new tab only if it is opened using the JavaScript window.open() function and specifies certain features, such as a specific window size or hiding certain toolbars. I don't think an external program can trigger this built-in logic, but perhaps there is a way.
I think Plan B would be an add-on that lets you manage the new window/new tab choice based on the host name. Over the years, many tab-related add-ons have been developed, but I haven't researched their features to see whether this option is already available.