Open only Tabs in Firefox in Ubuntu without Extension

One thing that annoys me while surfing the internet is, that some pages want to open a new window but I want only one firefox window with tabs instead. Now I found a method that seems to work.

In the firefox location bar type about:config to change the advanced settings. There you have to change two preferences:

  • Change browser.link.open_newwindow to 3
  • Change browser.link.open_newwindow.restriction to 0

browser.link.open_newwindow defines where links, that should open a new window, will be opened. There are three values possible:

  • 2 (default) in a new windows
  • 3 in a new tab
  • 1 (or any other value) in the active tab/window

browser.link.open_newwindow.restriction defines if and which per JavaScript opened windows should be opened according to the browser.link.open_newwindow
setting. There are too three possible values.

  • 0 (default till firefox 1.0) open all per JavaScript opened windows according to browser.link.open_newwindow
  • 1 let all per JavaScript opened windows as windows (like IE)
  • 2 (default from firefox 1.5) per javascript opened windows with defined settings (like size, status bar) stay as windows, others according to browser.link.open_newwindow
Advertisements

8 Responses to “Open only Tabs in Firefox in Ubuntu without Extension”


  1. 1 Sharuk March 28, 2007 at 3:48 am

    That annoys me too! If you click the link with middle button of your scrolling wheel mouse that opens a link in same window of firefox.

  2. 2 Adam Pope May 16, 2007 at 10:43 am

    Hey, Thanks! I loved that feature in Windows, have been really miffed that by Feisty installation didn’t do it. Tabbed browsing, it’s where it’s at, no? Well, thanks to you, it is again now…

  3. 3 Mikael Håkansson June 10, 2007 at 3:55 pm

    Thanks a lot, been irritated by this for some time now =)

  4. 4 pjman August 30, 2007 at 9:14 am

    Thank you!

  5. 5 David December 25, 2007 at 4:31 pm

    Thanks for saving an ex-opera user from going back to a closed-source browser… This was one of the things that I loved about opera… Everything else I’ve been able to replace with add-ons.


  1. 1 Ryu Kun » Blog Archive » ubuntu 7.04 feisty fawn Trackback on April 22, 2007 at 10:29 pm
  2. 2 Ryu Kun » Blog Archive » firefox extensions Trackback on May 20, 2007 at 5:11 am
  3. 3 Firefox Extensions « ertpresso Trackback on March 26, 2012 at 1:50 pm
Comments are currently closed.




%d bloggers like this: