Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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

Всички отговори (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.