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

搜索 | 用户支持

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

详细了解

How can I set all new window links to open in tabs, but still pop out YouTube videos?

  • 2 个回答
  • 1 人有此问题
  • 9 次查看
  • 最后回复者为 max6166

more options

I generally prefer the setting "Open links that open in a new window in: new tab".

The only problem is that this causes the "Pop Out" right-click function in YouTube videos to also open the video in a tab instead of a window.

Does anyone know a way to just get the YouTube "pop out" working without changing my preferences everytime?

I generally prefer the setting "Open links that open in a new window in: new tab". The only problem is that this causes the "Pop Out" right-click function in YouTube videos to also open the video in a tab instead of a window. Does anyone know a way to just get the YouTube "pop out" working without changing my preferences everytime?

被采纳的解决方案

I get a tiny new window for Pop out; it seems to match the resolution of the video.

Could you check some settings in Firefox's about:config preferences editor?

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the filter box, type or paste link.open and pause while the list is filtered

You may want to reset any settings that are not set to the default (the non-default items should appear in bold). I think the second one is the critical one in this case.


browser.link.open_newwindow

3 = divert new window to a new tab (default) (checked*)
2 = allow link to open a new window (unchecked*)
1 = force new window into same tab


* First checkbox in Options > Tabs (on Mac, Preferences > Tabs)

browser.link.open_newwindow.restriction

0 = open_newwindow preference honored for all new windows
2 = open_newwindow preference honored for all new windows except script windows with features (default)
1 = open_newwindow preference ignored completely (same effect as open_newwindow=2)


browser.link.open_newwindow.override.external

-1 = open_newwindow applies to external links (default)
3 = open external links in a new tab
2 = open external links in a new window
1 = open external links in active tab


If you have any add-ons that alter the way tabs work in Firefox, they might be overriding or changing these settings, so check those as well.

定位到答案原位置 👍 2

所有回复 (2)

more options

选择的解决方案

I get a tiny new window for Pop out; it seems to match the resolution of the video.

Could you check some settings in Firefox's about:config preferences editor?

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the filter box, type or paste link.open and pause while the list is filtered

You may want to reset any settings that are not set to the default (the non-default items should appear in bold). I think the second one is the critical one in this case.


browser.link.open_newwindow

3 = divert new window to a new tab (default) (checked*)
2 = allow link to open a new window (unchecked*)
1 = force new window into same tab


* First checkbox in Options > Tabs (on Mac, Preferences > Tabs)

browser.link.open_newwindow.restriction

0 = open_newwindow preference honored for all new windows
2 = open_newwindow preference honored for all new windows except script windows with features (default)
1 = open_newwindow preference ignored completely (same effect as open_newwindow=2)


browser.link.open_newwindow.override.external

-1 = open_newwindow applies to external links (default)
3 = open external links in a new tab
2 = open external links in a new window
1 = open external links in active tab


If you have any add-ons that alter the way tabs work in Firefox, they might be overriding or changing these settings, so check those as well.

由jscher2000 - Support Volunteer于修改

more options

Thank you so much! I had "browser.link.open_newwindow.restriction" set to 0. Changing it to 2 fixed the YouTube pop out windows.

Cheers!