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!

搜索 | 用户支持

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

详细了解

"Open links in tabs instead of new windows" not working

  • 5 个回答
  • 1 人有此问题
  • 6 次查看
  • 最后回复者为 cor-el

more options

I have "Open links in tabs instead of new windows" selected but links are still opening in the same tab. I understand not all websites support opening links in new tabs, but links that are from the search results used to always open in new tabs and now it's not working for some reason.

I have "Open links in tabs instead of new windows" selected but links are still opening in the same tab. I understand not all websites support opening links in new tabs, but links that are from the search results used to always open in new tabs and now it's not working for some reason.
已附加屏幕截图

所有回复 (5)

more options

"Open links in tabs instead of new windows" only applies to links that specify a target window and those can be diverted to a new tab. For links opened via JavaScript (onclick handler) there is a separate pref named browser.link.open_newwindow.restriction that isn't affected by this setting.


Normal Links:

  • browser.link.open_newwindow
    1:current tab; 2:new window; 3:new tab;

JavaScript Links:

  • browser.link.open_newwindow.restriction
    0:divert always; 1:divert never; 2:divert no features
  • browser.link.open_newwindow.override.external (see browser.link.open_newwindow)
more options

I understand, but this happens with every single link from the list of search results. It didn’t used to happen. It used to open all links in new tabs and now it doesn’t open any.

more options

For search results an the Google website there is a setting on the Google Settings page.

more options

thanks. I use DuckDuckGo, but I found the setting in the search engine. I didn't know there were 2 places that I had to turn it on. It must have reset after an update.

more options

Such a setting is stored in a PREF cookie, so if you do not keep this cookie then you lose those settings and need to redo them again.

Detail like websites remembering you is stored in cookies, so make sure you aren't clearing important cookies.

You can use these steps to make a website recognize and remember you.

  • create a cookie allow exception with the proper protocol (https:// or http://) to make a website remember you

You can check that you aren't clearing important cookies.

  • using "Delete cookies and site data when Firefox is closed" to clear cookies keeps cookies with an allow exception
    in 102+ version toggling this setting makes changes to the "Clear history when Firefox closes" settings and those settings prevail
  • using "Clear history when Firefox closes" in Firefox 102+ honors exceptions and keeps cookies with an allow exception, previous versions removed all cookies

Make sure to keep the "Site settings".

  • clearing "Site settings" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data
  • Settings -> Privacy & Security
    Cookies and Site Data: "Manage Exceptions"
  • Settings -> Privacy & Security
    Firefox will: "Use custom settings for history":
    [X] "Clear history when Firefox closes" -> Settings