Suppress new windows: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (change firefox category to feature-specific category)
(removed from Mozilla Suite category since it is already under the subcategory, Tabbed browsing; removed Fx 1.0 instructions)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
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!
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:


== Mozilla Suite ==
== Mozilla Suite ==
#Go to [[about:config]] (through your Location Bar)
#Go to [[about:config]] (through your Location Bar)
#Put ''browser.block'' into the filter bar
#Put ''browser.block'' into the filter box
#Now right-click on ''browser.block.target_new_window''<nowiki>'s</nowiki> value and choose modify
#Now right-click on '''browser.block.target_new_window'''and choose "modify".
#Change the value to ''true'', restart Mozilla Suite and you are done
#Change the value to '''true''', restart Mozilla Suite and you are done. [http://www.deftone.com/blogzilla/archives/suppress_new_windows.html]


==Mozilla Firefox 1.0.x==
== SeaMonkey ==
#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 &rarr; Boolean"
#Put ''window'' into the filter box
#Paste in <tt>browser.tabs.showSingleWindowModePrefs</tt> for the preference and choose ''True'' for the value
#Now right-click on '''browser.tabs.opentabfor.windowopen'''and choose "Toggle" to change the value to '''true'''
#Use the now-visible settings under &ldquo;Tools &rarr; Options &rarr; Advanced &rarr; Tabbed Browsing &rarr; Force links that open in new windows to open in...&rdquo; to control how new windows are treated.
#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


==Mozilla Firefox 1.5==
==Firefox==
Use the settings under &ldquo;Tools &rarr; Options &rarr; Tabs &rarr; Force links that open new windows to open in&rdquo;.
Use the settings under &ldquo;Tools &rarr; Options &rarr; Tabs &rarr; Force links that open new windows to open in&rdquo;.


== See Also ==
== See also ==
* [[Mozilla Suite : Tips : Tab Browsing | Tab Browsing Tips]]
* [[Tabbed browsing - SeaMonkey]]
* [http://www.deftone.com/blogzilla/archives/suppress_new_windows.html Blogzilla: Suppress new windows]
 


[[Category:Mozilla Suite]]
[[Category:Tabbed browsing]]
[[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