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

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

Tripadvisor opens a window even though option to open tabs is set

more options

I have the option set to open links in a new tab rather than a new window. This seems to work perfectly except in one situation. Tripadvisor will often open a new window about 'other suitable hotels', always hidden behind the other windows, the only indication being the icon on the task bar. This window opens of its own accord, not directly due to my actions, at least not because I have clicked a link. If I don't spot the task bar icon and close the main Firefox window first then the Tripadvisor window becomes the default and loads at the next startup. Thankfully I can find all my other tabs under recently closed windows, but it's a hassle.

How does Tripadvisor cause this to happen, in contradiction to the options, and when everything else seems to follow the setting? Is it because it 'opens itself'? Can it be stopped?

I have the option set to open links in a new tab rather than a new window. This seems to work perfectly except in one situation. Tripadvisor will often open a new window about 'other suitable hotels', always hidden behind the other windows, the only indication being the icon on the task bar. This window opens of its own accord, not directly due to my actions, at least not because I have clicked a link. If I don't spot the task bar icon and close the main Firefox window first then the Tripadvisor window becomes the default and loads at the next startup. Thankfully I can find all my other tabs under recently closed windows, but it's a hassle. How does Tripadvisor cause this to happen, in contradiction to the options, and when everything else seems to follow the setting? Is it because it 'opens itself'? Can it be stopped?

Réiteach roghnaithe

By default, Firefox diverts most links that open in new windows, and automatic pop-up windows, to a new tab. However, if the pop-up specifies its size or modifies what toolbars are displayed, Firefox defers to the site so that in case it's a dialog related to the page, it will display as intended.

You can force Firefox to treat ALL pop-up windows the same, whether they have these special feature or not. Doing that requires a visit to the about:config preferences editor. Apologies for what will seem like excess detail, but there are 3 related settings so I want to list them together.

In a new tab, type or paste about:config and press Enter. Click the button promising to be careful.

In the filter box, type or paste link.o and pause while the list is filtered.

Double click these to modify the values as desired (especially the second one):

(A) 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

(B) browser.link.open_newwindow.restriction - for links in Firefox tabs

0 = apply the setting under (A) to ALL new windows (even script windows)
2 = apply the setting under (A) to normal windows, but NOT to script windows with features (default)
1 = override the setting under (A) and always use new windows

(C) browser.link.open_newwindow.override.external - for links in other programs

-1 = apply the setting under (A) to external links (default)
3 = open external links in a new tab in the last active window
2 = open external links in a new window
1 = open external links in the last active tab replacing the current page

Can you tame those popups?

Read this answer in context 👍 4

All Replies (1)

more options

Réiteach Roghnaithe

By default, Firefox diverts most links that open in new windows, and automatic pop-up windows, to a new tab. However, if the pop-up specifies its size or modifies what toolbars are displayed, Firefox defers to the site so that in case it's a dialog related to the page, it will display as intended.

You can force Firefox to treat ALL pop-up windows the same, whether they have these special feature or not. Doing that requires a visit to the about:config preferences editor. Apologies for what will seem like excess detail, but there are 3 related settings so I want to list them together.

In a new tab, type or paste about:config and press Enter. Click the button promising to be careful.

In the filter box, type or paste link.o and pause while the list is filtered.

Double click these to modify the values as desired (especially the second one):

(A) 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

(B) browser.link.open_newwindow.restriction - for links in Firefox tabs

0 = apply the setting under (A) to ALL new windows (even script windows)
2 = apply the setting under (A) to normal windows, but NOT to script windows with features (default)
1 = override the setting under (A) and always use new windows

(C) browser.link.open_newwindow.override.external - for links in other programs

-1 = apply the setting under (A) to external links (default)
3 = open external links in a new tab in the last active window
2 = open external links in a new window
1 = open external links in the last active tab replacing the current page

Can you tame those popups?

Athraithe ag jscher2000 - Support Volunteer ar