Firefox is always opening links in new tabs, and I can't change the default to open in the same tab.
I'm trying to keep the default as links open in the same tab, rather than a new tab or new window. I've tried Search Settings<Where Results Open, and I've gone into about:config. My configuration is: browser.search.openintab = false browser.urlbar.openintab = false browser.tabs.loadBookmarksInTabs = false </p>
Links keep opening in a new tab, and the "Open results in new tab" slider at the top of the page is always on by default (I can turn it off, but the next time I open a new tab, it's on again by default).
Thanks!
被采纳的解决方案
Did you try it? Some sites add a target="_blank" attribute to links. Links with these attributes are supposed to open in a new window when left clicked. However, Firefox by default opens these links in a new tab in the current window. By setting browser.link.open_newwindow to 1, these links will instead open in the current tab/window.
定位到答案原位置 👍 0所有回复 (4)
Set browser.link.open_newwindow to 1. After that, perhaps set browser.link.open_newwindow.override.external to 3, so external links will then open in new tabs. That way opening multiple external links at one time won't load them in the current tab.
I want links to open in the existing tab, not in a new tab or a new window. Right now clicking on a link opens an additional tab, rather than the current tab following the link.
选择的解决方案
Did you try it? Some sites add a target="_blank" attribute to links. Links with these attributes are supposed to open in a new window when left clicked. However, Firefox by default opens these links in a new tab in the current window. By setting browser.link.open_newwindow to 1, these links will instead open in the current tab/window.
That seems to have fixed it (made it open links in the same tab). Thank you! The slider still defaults to "Open results in new tab", but it doesn't open in a new tab. Thanks again.