Αυτός ο ιστότοπος θα έχει περιορισμένη λειτουργικότητα, όσο εκτελούμε εργασίες συντήρησης για να βελτιώσουμε την εμπειρία σας. Αν ένα άρθρο δεν επιλύει το ζήτημά σας και θέλετε να κάνετε μια ερώτηση, η κοινότητα υποστήριξής μας είναι έτοιμη να σας βοηθήσει στο Twitter (@FirefoxSupport) και στο Reddit (/r/firefox).

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

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

  • 2 απαντήσεις
  • 2 έχουν αυτό το πρόβλημα
  • 1 προβολή
  • Τελευταία απάντηση από 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.

Επιλεγμένη λύση

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.

Ανάγνωση απάντησης σε πλαίσιο 👍 2

Όλες οι απαντήσεις (2)

more options

Επιλεγμένη λύση

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