Suppress new windows

From MozillaZine Knowledge Base
Revision as of 21:23, 19 October 2005 by Unarmed (talk | contribs) (Correct blatantly incorrect information; add Fx1.5 directions)
Jump to navigationJump to search

If you want to make full use of tabbed browsing then you know how annoying it is when a new window opens after clicking on a target="_blank" link. Do not fear! Firefox and Mozilla Suite have everything you ever wanted built in!

Mozilla Suite

  1. Go to about:config (through your Location Bar)
  2. Put browser.block into the filter bar
  3. Now right-click on browser.block.target_new_window's value and choose modify
  4. Change the value to true, restart Mozilla Suite and you are done

Mozilla Firefox 1.0.x

  1. Go to about:config (through your Location Bar)
  2. Right-click anywhere in the browser and select "New → Boolean"
  3. Paste in browser.tabs.showSingleWindowModePrefs for the preference and choose True for the value
  4. Use the now-visible settings under “Tools → Options → Advanced → Tabbed Browsing → Force links that open in new windows to open in...” to control how new windows are treated.

Mozilla Firefox 1.5

Use the settings under “Tools → Options → Tabs → Force links that open new windows to open in”.

See Also