搜尋 Mozilla 技術支援網站

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

Learn More

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

  • 2 回覆
  • 1 有這個問題
  • 30 次檢視
  • 最近回覆由 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!