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

Re: Target, or opening a new instance of UA with a link

From: Ben Bucksch <ben.bucksch.news@beonex.com>
Date: Mon, 25 Feb 2002 22:16:04 +0100
Message-ID: <3C7AA994.6070401@beonex.com>
To: Frank Tobin <ftobin@neverending.org>
Cc: Doug M-C <doug@m-c.lake.mn.us>, www-html@w3.org
Frank Tobin wrote:

>The idea is that, as you slightly hint at, this is presentational issue
>(telling the UA how to act/display).  I'm not sure what advisable
>replacements there are currently available, however.  Javascript might be
>desirable here if you want 'actions' taken upon following a link.
>
IMO, JS is by far the worst of all options. Not only is JS 
onmouseclick="window.open()" even more presentational than a 
target=_blank, it also has major security problems and is much harder to 
separate from other code.

>I personally dislike the target attribute when used to open new windows,
>and am glad it's gone, especially since, quoting you, it's used to "force"
>open a new window (I hate my UA/me being 'forced' to do anything).
>
Nothing in HTML forces you to anything. It is trivial to ignore the 
target attribute, and Mozilla has a (hidden?) pref to do just that. (But 
it still works with frames, IIRC.)

>'ll
>decide when I want a window, thank you very much.  Similarly, I'll make
>sure my UA's Javascript is also set to not open new windows (thank you,
>Mozilla, for giving me control).
>
Mozilla does not actually give you control, and it is very hard to 
implement properly. See <http://bugzilla.mozilla.org/show_bug.cgi?id=64560>.

Much unlike target=_blank.
Received on Monday, 25 February 2002 16:20:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:50 GMT