Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

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 ».

Learn More

Stop new tabs from being focused

  • 1 réponse
  • 0 a ce problème
  • 1 vue
  • Dernière réponse par cor-el

more options

On some websites (namely, twitter), middle clicking a post opens it in a new tab. However, whenever this happens, the new tab is always focused, is there a way to prevent this from happening?

This does not occur on websites such as Youtube.com, where middle clicking a video opens it in a new tab, but does not focus it. This is the preferred result.

Likewise, when middle clicking a bookmark, the newly created tab is also immediately focused. Is this preventable aswell?

Thank you for your time.

On some websites (namely, twitter), middle clicking a post opens it in a new tab. However, whenever this happens, the new tab is always focused, is there a way to prevent this from happening? This does not occur on websites such as Youtube.com, where middle clicking a video opens it in a new tab, but does not focus it. This is the preferred result. Likewise, when middle clicking a bookmark, the newly created tab is also immediately focused. Is this preventable aswell? Thank you for your time.

Solution choisie

These prefs on the about:config page control whether links are opened with a left-click in the background or get focus.

  • browser.tabs.loadInBackground (normal links)
  • browser.tabs.loadDivertedInBackground (javascript and external links)
  • browser.tabs.loadBookmarksInBackground (bookmarks)
  • browser.search.context.loadInBackground (context menu: Search)

You can toggle the default action for opening a link in the background by holding down the Shift key when you use Ctrl plus left-click or middle-click a link.

You can open the about:config page via the location/address bar. On the warning page, you can click "Accept the Risk and Continue"to open about:config.

Lire cette réponse dans son contexte 👍 2

Toutes les réponses (1)

more options

Solution choisie

These prefs on the about:config page control whether links are opened with a left-click in the background or get focus.

  • browser.tabs.loadInBackground (normal links)
  • browser.tabs.loadDivertedInBackground (javascript and external links)
  • browser.tabs.loadBookmarksInBackground (bookmarks)
  • browser.search.context.loadInBackground (context menu: Search)

You can toggle the default action for opening a link in the background by holding down the Shift key when you use Ctrl plus left-click or middle-click a link.

You can open the about:config page via the location/address bar. On the warning page, you can click "Accept the Risk and Continue"to open about:config.