W3C home > Mailing lists > Public > www-validator@w3.org > February 2002

Re: opening a link in a new window (hope this is ok for this list)

From: Sascha Claus <SC_LE@gmx.de>
Date: Sun, 24 Feb 2002 15:00:53 +0100
Message-ID: <3C78F215.9020605@gmx.de>
To: www-validator@w3.org
Jim Ley wrote:
> Mozilla 0.9.8 works - but no configuration option to disable windows
> opening - UAAG violation AIUI

user_pref("dom.disable_open_during_load", true);
for popup/popoffs (also via Edit/Preferences/Advanced/Scripts&Windows)

user_pref("browser.target_new_blocked", true);
for <a target="...">

user_pref("capability.policy.default.Window.open", "noAccess");
for all JS window.open stuff (popups/popoffs too)
Sascha Claus                                      no mail copies, please
mailto:SC_LE@gmx.de                                   PGP-key:0x9E095CA2
The best argument against democracy is a five-minute conversation with
the average voter.      (Sir Winston Leonard Spencer "Winnie" Churchill)
Received on Sunday, 24 February 2002 09:01:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:26 UTC