Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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.

ค้นหาฝ่ายสนับสนุน

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.

เรียนรู้เพิ่มเติม

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

  • 1 การตอบกลับ
  • 5 คนมีปัญหานี้
  • 4 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย jscher2000 - Support Volunteer

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?

วิธีแก้ปัญหาที่เลือก

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?

อ่านคำตอบนี้ในบริบท 👍 4

การตอบกลับทั้งหมด (1)

more options

วิธีแก้ปัญหาที่เลือก

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?

เปลี่ยนแปลงโดย jscher2000 - Support Volunteer เมื่อ