Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Disable Switch To Tab Function when clicking a link

  • 5 réponses
  • 9 ont ce problème
  • 63 vues
  • Dernière réponse par 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)''

Modifié le par cor-el

Solution choisie

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)
Lire cette réponse dans son contexte 👍 2

Toutes les réponses (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.

Modifié le par 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

Solution choisie

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.