为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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