Using Firefox 3.6.8, if I have two or more windows open and I click a link with target="_blank", it always opens the link in a new tab in the first window.
How can I make it so these links always open in a new tab in the window they were launched from?

I have tried the "Tab Mix Plus" addon, and couldn't find a way to do it with that.

link|improve this question

75% accept rate
This is a prime example why links with target="_blank" suck. I'm glad this part of HTML is depreciated. Users should always have control over where pages open. – ghoppe Aug 10 '10 at 1:53
feedback

2 Answers

Surf to about:config

browser.link.open_newwindow set to 3

This should be the default. No idea why your setting was different. Perhaps you have a plugin that is messing with the behaviour?

link|improve this answer
That is exactly what mine is set to, and it doesn't do what I want. Links with target="_blank" are always opening a tab in the first browser window, not necessarily the window the link was launched from. – Scott Leis Aug 10 '10 at 2:50
feedback
  • Bring up the Options Dialog box.

  • Select the tab screen.

  • Make sure open new windows in a new tab instead is selected and click ok.

You might also want to look at the setting

browser.link.open_newwindow.restriction

link|improve this answer
I have the option set to open windows in a new tab. I've tried the three documented values for browser.link.open_newwindow.restriction in about:config; none of them produce the desired effect. – Scott Leis Aug 11 '10 at 1:41
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.