Search Support

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.

Learn More

Disable Switch To Tab Function when clicking a link

  • 5 replies
  • 9 have this problem
  • 110 views
  • Last reply by cor-el

more options

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)

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)''

Modified by cor-el

Chosen solution

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)
Read this answer in context 👍 2

All Replies (5)

more options

You can remove the checkmark on "Open Tabs" in the location bar settings.


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.

Modified by cor-el

more options

you didnt read what i said did you? i said when i CLICK A LINK not the location bar.

more options

Chosen Solution

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)
more options

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.

more options

You're welcome.