Suppress new windows: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(removed from Mozilla Suite category since it is already under the subcategory, Tabbed browsing; removed Fx 1.0 instructions)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
'''''This tip supports 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 <code>target="_blank"</code> link.  You can avoid this as follows:


If you want to make full use of Mozilla's tabed browsing features 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 have everything you ever wanted built in!
== Mozilla Suite ==
#Go to [[about:config]] (through your Location Bar)
#Put ''browser.block'' into the filter box
#Now right-click on '''browser.block.target_new_window'''and choose "modify".
#Change the value to '''true''', restart Mozilla Suite and you are done. [http://www.deftone.com/blogzilla/archives/suppress_new_windows.html]


== SeaMonkey ==
#Go to [[about:config]] (through your Location Bar)
#Put ''window'' into the filter box
#Now right-click on '''browser.tabs.opentabfor.windowopen'''and choose "Toggle" to change the value to '''true'''
#You may also set [[About:config entries#Browser..2A|browser.link.open newwindow]] and [[browser.link.open_newwindow.restriction]] if desired
#After you modify the settings, restart SeaMonkey and you are done


== Override New Windows ==
==Firefox==
=== Mozilla Suite ===
Use the settings under &ldquo;Tools &rarr; Options &rarr; Tabs &rarr; Force links that open new windows to open in&rdquo;.
:Go to ''about:config'' (through your location bar)
:Put ''browser.block'' into the filter bar
:Now right-click on ''browser.block.target_new_window''<nowiki>'s</nowiki> value and choose modify
:Change the value to ''true'', restart mozilla and you are done


=== Firefox ===
== See also ==
:Go to ''about:config'' (through your location bar)
* [[Tabbed browsing - SeaMonkey]]
:Right-click anywhere in the browser and select New > String
:Paste in ''browser.block.target_new_window'' for the preferance and ''true'' for the value
:Change the value to ''true'', restart mozilla and you are done
::'''Source:[http://www.deftone.com/blogzilla/archives/suppress_new_windows.html Blogzilla]'''


== See Also ==
 
[[Mozilla Suite : Tips : Tab Browsing | Tab Browsing Tips]]
[[Category:Tabbed browsing]]

Latest revision as of 06:12, 14 February 2009

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. You can avoid this as follows:

Mozilla Suite

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

SeaMonkey

  1. Go to about:config (through your Location Bar)
  2. Put window into the filter box
  3. Now right-click on browser.tabs.opentabfor.windowopenand choose "Toggle" to change the value to true
  4. You may also set browser.link.open newwindow and browser.link.open_newwindow.restriction if desired
  5. After you modify the settings, restart SeaMonkey and you are done

Firefox

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

See also