Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

I would like all links to open in the active tab, unless I command-click on the link.

  • 12 antwurd
  • 4 hawwe dit probleem
  • 1 werjefte
  • Lêste antwurd fan ukkonen

more options

I've searched for answers to this question, and I was able to adjust the values for preferences in about:config so that all links open in the active tab, but after doing so I am unable to command-click to open a link in a new tab. Is there any way to change certain preferences so that command-clicking will override the browser.link.open_newwindow preferences? Or maybe there's some other way around this?

This might seem like an odd request, but several sites I use (Tumblr especially) open nearly all links in a new tab by default, and it quickly gets out of hand. A "same-tab unless command-click" configuration would allow me to control where every link opens. Also, I would still like all links from external applications to load in a new tab.

I'm using Firefox 32.0 on Mac OS X 10.9.4.

Thanks

I've searched for answers to this question, and I was able to adjust the values for preferences in about:config so that all links open in the active tab, but after doing so I am unable to command-click to open a link in a new tab. Is there any way to change certain preferences so that command-clicking will override the browser.link.open_newwindow preferences? Or maybe there's some other way around this? This might seem like an odd request, but several sites I use (Tumblr especially) open nearly all links in a new tab by default, and it quickly gets out of hand. A "same-tab unless command-click" configuration would allow me to control where every link opens. Also, I would still like all links from external applications to load in a new tab. I'm using Firefox 32.0 on Mac OS X 10.9.4. Thanks

Bewurke troch ukkonen op

Alle antwurden (12)

more options

I am not sure how this addon will affect the configuration that you have already changed but it may be helpful:

Do you have a middle mouse button? https://addons.mozilla.org/en-US/fire.../click_modifiers/

more options

Your request sounds similar to this old thread, except that you want a different setting for the third preference: How do I get when I click on a link it will not open in new tab? I want to open in the same tab where I clicked on that click.

(1) In a new tab, type or paste about:config and press Enter. Click the button promising to be careful.

(2) In the filter box, type or paste link.o and pause while the list is filtered.

(3) Double click these to modify the values as desired:

(A) browser.link.open_newwindow

3 = divert new window to a new tab (default) (checked*) 2 = allow link to open a new window (unchecked*) 1 = force new window into same tab

* First checkbox in Options > Tabs

(B) browser.link.open_newwindow.restriction - for links in Firefox tabs

0 = apply the setting under (A) to ALL new windows (even script windows) 2 = apply the setting under (A) to normal windows, but NOT to script windows with features (default) 1 = override the setting under (A) and always use new windows

(C) browser.link.open_newwindow.override.external - for links in other programs

-1 = apply the setting under (A) to external links (default) 3 = open external links in a new tab in the last active window 2 = open external links in a new window 1 = open external links in the last active tab replacing the current page

Does that combination work?

more options

I should add that Ctrl+click overrides this preference on Windows, but if Mac behaves differently on Command+click, it could be caused by a different preference.

more options

If you have a mouse with a clickable scroll wheel that acts as a middle mouse button then you can try to use that button.

Is this with normal links or a problem with JavaScript links (window.open or onclick or event handlers)?

It might be a problem to override such JavaScript links as those would respond to status keys.

more options

guigs2: Thanks for your reply. Unfortunately it wasn't able to override the about:config settings I'd already changed. It'd be perfect if it was able to modify the regular click as well as the others. And I don't have a middle mouse button, as I have a Macbook.

Bewurke troch ukkonen op

more options

jscher2000: Thanks for your reply. Unfortunately though, command-clicking no longer works at all after changing these preferences. It must be another preference, as you mentioned.

Bewurke troch ukkonen op

more options

cor-el : Thanks for the response. This occurs with all links. I don't expect to be able to edit the way javascript links are handled.

Bewurke troch ukkonen op

more options

Hi ukkonen, do either of these methods work with the changed preferences:

  • clicking with middle mouse button (scroll wheel)
  • right-click > Open Link in New Tab

I'm not sure those are applicable on Mac mice.

more options

I don't have a middle mouse button / scroll wheel, but "open link in new tab" does still work.

more options

I'm still looking for a solution to this. If anyone has any further suggestions, I'd appreciate them.

Thanks

more options

Type about:preferences<Enter> in the address bar.

Select General. Under Tabs, check the settings. Are you having trouble with your settings being saved?

more options

No problem with settings being saved. It's that the problem wasn't solved to begin with.