This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 2 replies
  • 1 has this problem
  • 1 view
  • Last reply by 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?

Chosen solution

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.

Read this answer in context 👍 2

All Replies (2)

more options

Chosen Solution

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.

Modified by 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!