I hate it, when sites decide for me, which links should open in a new window, and which in the same. The back-button doesn't work. Good thing is, firefox has the option browser.link.open_newwindow. If I set this to 1, all links with target=blank open in the same window, as it should be. But now also clicks in external programs (like the email-client or newsreader) on links open this in the same window, destroying the already opened website. How can I configure firefox to open links in a website always in the same window, but in external programs opened URLs always in a new one?

link|improve this question

77% accept rate
feedback

1 Answer

In the config menu, set browser.link.open_external to 2.

MozillaZine documentation

EDIT: The above method only works for pre-3.5 versions of Firefox, and for SeaMonkey. See also:
advanced.system.supportDDEExec
Make Firefox open URLs passed from external applications in new tabs
Bug 172962 - Options for where to open URLs from other applications (reuse tab, new tab, new window)

link|improve this answer
That doesn't work. URLs from external applications are opened in the same window. – Mnementh Mar 25 '10 at 15:35
Are you using Firefox 3.5 or later? The option was removed in 3.5. – Lord Torgamus Mar 25 '10 at 17:23
Yes, I use 3.5.8 that is delivered with Ubuntu 9.10. – Mnementh Mar 26 '10 at 8:57
Were any of my edits helpful to you, or are you still having no luck? – Lord Torgamus Mar 26 '10 at 13:59
It seems firefox has regressed on this issue. All the edits are non-working solutions for the most recent firefox version at time of writing (6.0.1) – freespace Sep 4 '11 at 4:40
show 1 more comment
feedback

Your Answer

 
or
required, but never shown

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