Pomoc pśepytaś

Glědajśo se wobšudy pomocy. Njenapominajomy was nigda, telefonowy numer zawołaś, SMS pósłaś abo wósobinske informacije pśeraźiś. Pšosym dajśo suspektnu aktiwitu z pomocu nastajenja „Znjewužywanje k wěsći daś“ k wěsći.

Dalšne informacije

How do I stop Firefox from switching to new tabs for links that would normally open in new windows?

  • 2 wótegronje
  • 2 matej toś ten problem
  • 1 naglěd
  • Slědne wótegrono wót cor-el

more options

I am using "browser.link.open_newwindow.restriction" to force links that normally open in new windows, to instead open in new tabs. It all works fine, except when I click those links, Firefox switches to the new tabs immediately when I click them. I would like the tabs to open in new tabs but I do not want Firefox to immediately switch to them.

Please note that I have unchecked "When you open a link in a new tab, switch to it immediately". Meaning, Firefox correctly does not switch to new tabs for normal links. However, it is switching to the new tabs for links that would normally open in new windows.

I am using "browser.link.open_newwindow.restriction" to force links that normally open in new windows, to instead open in new tabs. It all works fine, except when I click those links, Firefox switches to the new tabs immediately when I click them. I would like the tabs to open in new tabs but I do not want Firefox to immediately switch to them. Please note that I have unchecked "When you open a link in a new tab, switch to it immediately". Meaning, Firefox correctly does not switch to new tabs for normal links. However, it is switching to the new tabs for links that would normally open in new windows.

Wubrane rozwězanje

There are separate settings for these two different cases:

  • User directs a link to open in a new tab -- this is the checkbox
  • Firefox diverts a new window to a new tab -- this requires a visit to the Configuration Editor:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box in the page, type or paste inback and pause while the list is filtered

(3) Double-click the browser.tabs.loadDivertedInBackground preference to switch the value from false to true

Success?

More info on about:config: Configuration Editor for Firefox.

Toś to wótegrono w konteksće cytaś 👍 2

Wšykne wótegrona (2)

more options

Wubrane rozwězanje

There are separate settings for these two different cases:

  • User directs a link to open in a new tab -- this is the checkbox
  • Firefox diverts a new window to a new tab -- this requires a visit to the Configuration Editor:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box in the page, type or paste inback and pause while the list is filtered

(3) Double-click the browser.tabs.loadDivertedInBackground preference to switch the value from false to true

Success?

More info on about:config: Configuration Editor for Firefox.

more options

These prefs on the about:config page control whether links are opened with a left-click in the background or get focus.
You can toggle the default action by holding the Shift key down when you use Ctrl plus left-click or middle-click a link.

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

This pref determines whether to open a link in the current tab if this is an empty tab or always open a link in a new tab.

  • browser.tabs.loadBookmarksInTabs = true