為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 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