Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
2  
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
    
And how to have Firefox open these links normally ? –  Nicolas Barbulesco Aug 31 '13 at 18:35

2 Answers 2

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?

share|improve this answer
1  
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
  • 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

share|improve this answer
1  
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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