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.

Mozilla 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

Open certain webs in a new window

more options

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

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

All Replies (2)

more options

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

more options

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.