MozillaZine

Suppress new windows

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 11:46, 8 May 2005
Wintogreen (Talk | contribs)
(quick cleanup)
<-- Previous diff
Revision as of 13:04, 8 May 2005
Asqueella (Talk | contribs)

Next diff -->
Line 1: Line 1:
:''This applies to Firefox and Mozilla Suite'' :''This applies to Firefox and Mozilla Suite''
-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!+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 <code>target="_blank"</code> link. Do not fear! Firefox and Mozilla Suite have everything you ever wanted built in!
== Mozilla Suite == == Mozilla Suite ==
Line 10: Line 10:
== Firefox == == Firefox ==
-#Go to [[about:config]] (through your location bar)+#Go to [[about:config]] (through your Location Bar)
-#Right-click anywhere in the browser and select New > String+#Right-click anywhere in the browser and select "New -> String"
#Paste in ''browser.block.target_new_window'' for the preference and ''true'' for the value #Paste in ''browser.block.target_new_window'' for the preference and ''true'' for the value
#Change the value to ''true'', restart Firefox and you are done #Change the value to ''true'', restart Firefox and you are done

Revision as of 13:04, 8 May 2005

This applies to Firefox and Mozilla Suite

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

Firefox

  1. Go to about:config (through your Location Bar)
  2. Right-click anywhere in the browser and select "New -> String"
  3. Paste in browser.block.target_new_window for the preference and true for the value
  4. Change the value to true, restart Firefox and you are done

See Also