Disable Switch To Tab Function when clicking a link
When i click some links particularly in gmail, for instance if i get an email from youtube about a video being uploaded and i click said video, firefox opens this link in a new tab but the problem is that it automaticly switches to that tab which i hate. this happens with other links that want to open in a new tab to.
Switch to tab no more or switch to tab blacklist does not work. i did have a fix for it within the about:config page but i recently refreshed firefox and it removed the function. preferably i dont want to use an extension to solve this
(edited title for clarity - c)
Gewysig op
Gekose oplossing
Sorry, I got distracted by the title of the question.
You can check the setting for the Tab bar in Options/Preferences > Tabs.
- [ ] "When I open a link in a new tab, switch to it immediately"
There are three prefs, accessible via the about:config page, to control the focus if you click a link.
- browser.tabs.loadInBackground (normal links)
- browser.tabs.loadDivertedInBackground (javascript)
- browser.tabs.loadBookmarksInBackground (bookmarks)
All Replies (5)
You can remove the checkmark on "Open Tabs" in the location bar settings.
- Tools > Options > Privacy > Location Bar: When using the location bar, suggest:
[] Open tabs - https://support.mozilla.org/kb/Options+window+-+Privacy+panel
Note that you can hold down the Alt or Shift key while an entry in the drop down list is highlighted to disable "Switch to tab" and see the URL of all entries instead.
- Alt + Enter opens the highlighted URL in a new tab.
- Shift + Enter opens the highlighted URL in the current tab.
- Cursor Right copies the highlighted URL to the location bar in case you want to edit it.
Gewysig op
you didnt read what i said did you? i said when i CLICK A LINK not the location bar.
Gekose oplossing
Sorry, I got distracted by the title of the question.
You can check the setting for the Tab bar in Options/Preferences > Tabs.
- [ ] "When I open a link in a new tab, switch to it immediately"
There are three prefs, accessible via the about:config page, to control the focus if you click a link.
- browser.tabs.loadInBackground (normal links)
- browser.tabs.loadDivertedInBackground (javascript)
- browser.tabs.loadBookmarksInBackground (bookmarks)
yup that fixed it for me set all 3 of the to true and it worked. thanks a lot, i spent all day yesterday trying to figure that out.
You're welcome.