Re: Reason #1781 to hate Mosa^H^H^H^HNets^H^H^H^HMozil^H^H^H^H^HFirefox.

[prev] [thread] [next] [lurker] [Date index for 2006/03/12]

From: Phil Pennock
Subject: Re: Reason #1781 to hate Mosa^H^H^H^HNets^H^H^H^HMozil^H^H^H^H^HFirefox.
Date: 02:52 on 12 Mar 2006
On 2006-03-10 at 23:26 -0500, Chris Devers wrote:
> Where are you supposed to turn if you just don't EVER want a web page to 
> open new content in a new window? 

Round and round in a tight circle?

Not defending Mozilla, but since people are complaining, there's a
chance that they want to know how to work around it, so I'll cut&paste
in something I wrote to someone else with the same rant, about halfway
through February; two separate emails, mostly enumeration of options:

-----------------------------< cut here >-------------------------------
There have been more and more sites using flash to bypass the Firefox
pop-up blocking; what happens is that the browser exposes the controls
necessary via its DOM interface and flash provides DOM objects.  They do
seem to have introduced a new set of allowed events, though.  :^(

Go to about:config as a URL, and change these:

 privacy.popups.disable_from_plugins
  (might need creating as new integer): set to 2
  0 = Allow all popups from plugins.
  1 = Allow popups from plugins, but limit the number of popups to
      dom.popup_maximum
  2 = Block popups from plugins.
  3 = Block all popups from plugins, even on whitelisted sites.

 dom.popup_allowed_events
  set to empty string, to completely disable them all
   (some websites have legitimate need, so they try to balance this)

If you find some sites which need popups (boo!) for things like a
calendar or for help windows, change dom.popup_maximum to a low number
instead of 20.  20, ffs!

There's also:
 http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/experimental/popupsdie/
which allegedly does this stuff for you.
-----------------------------< cut here >-------------------------------

-----------------------------< cut here >-------------------------------
They keep messing with the various tab options and what's available to
control in the base and what in extensions.

Extension method:
 "Tab Mix Plus Options" (reached from Extensions list, right-click,
 Options, because I unchecked its pollute-my-Tools-menu checkbox,
 Menu->"Tools Menu" within this dialog).  Links button, top right.
 First option, "Open links that open in a new window in:" and the
 options are "New window", "New tab" and "Current tab".  So to treat
 target="_new" equivalently to a normal link, set that to "Current tab".

Direct configuration method: about:config, modify
browser.link.open_newwindow to set value integer "1".  Untested;
rationale:

The page <URL:http://kb.mozillazine.org/About:config_entries> mentions
for browser.block.target_new_window that it's no longer in use and
points to browser.link.open_newwindow instead; that change is probably
why things broke.

I have the "default" values for these, despite the first value
contradictig the knowledgebase's documented default:
 browser.link.open_newwindow                    3
 browser.link.open_newwindow.restriction        2
 browser.link.open_newwindow.ui                 3

browser.link.open_newwindow
 Where to open links that would normally open in a new window
 2 (default): In a new window
 3: In a new tab
 1 (or anything else): In the current window

browser.link.open_newwindow.restriction
 Firefox and SeaMonkey only. Source: The Burning Edge.
 0  (Default in SeaMonkey): Force all new windows opened by JavaScript
    into tabs.
 1: Let all windows opened by JavaScript open in new windows.
    (Default behavior in IE.)
 2  (Default in Firefox): Catch new windows opened by JavaScript that do
    not have specific values set (how large the window should be,
    whether it should have a status bar, etc.) This is useful because
    some popups are legitimate . it really is useful to be able to see
    both the popup and the original window at the same time. However,
    most advertising popups also open in new windows with values set, so
    beware.

browser.link.open_newwindow.ui
 Determine which new window open options are available from the UI. No
 longer used in Firefox 1.0. Default value is 3.
-----------------------------< cut here >-------------------------------

-Phil
There's stuff above here

Generated at 23:00 on 18 Mar 2006 by mariachi 0.52