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! 🎁

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Pop Up Window not opening as a new tab

more options

I already have the Tab setting selected to open new windows in a new tab instead. There is a web site i check on a normal basis, and there is link that i click on and it opens a pop up window. This window opens as a new window instead of a new tab. How do i fix this?

I already have the Tab setting selected to open new windows in a new tab instead. There is a web site i check on a normal basis, and there is link that i click on and it opens a pop up window. This window opens as a new window instead of a new tab. How do i fix this?

所有回覆 (1)

more options

There is an exception to the rule, and a way to override the exception.

The exception is for popup windows with special features set, such as a width and height. The idea is that Firefox doesn't want to make it difficult to access dialogs that are meant for use while you can still see the page. But sites may be abusing the exception so...

To override it:

  1. In a new tab, type or paste about:config and press Enter/Return. Click the button promising to be careful.
  2. In the filter box, type or paste link.o and pause while the list is filtered.
  3. There are three similarly named preferences for different scenarios, but the second one is the key change:
    (A) browser.link.open_newwindow: 3 = divert new window to a new tab
    (B) browser.link.open_newwindow.restriction: 0 = divert regular AND scripted windows with features
    (C) browser.link.open_newwindow.override.external: -1 = follow browser.link.open_newwindow for external links

I have a test page here for, er, testing: https://jeffersonscher.com/res/popit.html