為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

"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