W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2007

[whatwg] Target Attribute Values

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sun, 29 Apr 2007 02:32:19 +1000
Message-ID: <46337713.5010501@lachy.id.au>
Smylers wrote:
> Lachlan Hunt writes:
>> You're assuming there is actually a valid use case for the popup in
>> the first place.
> 
> But as you've already pointed out, browsers can offer users who never
> want to have links automatically open anywhere than the current window,
> so webpages' hints are completely ignored anyway.
> ...
> So target (except for frames within a page) is only relevant for users
> who like some things to open in new windows, and trust webpages to offer
> hints on which links are appropriate for this.  As such, the views of
> people who never want new windows don't need to be taken into account
> here -- because they won't be affected whatever happens!

You're ignoring the users who don't like popups, but don't know how to 
prevent them using those *hidden prefs* I mentioned.

J. King wrote:
> On Sat, 28 Apr 2007 00:55:30 -0400, Lachlan Hunt <lachlan.hunt at lachy.id.au> wrote:
>> e.g. in Firefox, setting the pref browser.link.open_newwindow to 1 causes any links with target="" that would normally open a new window, to open in the current tab.  There are a few other prefs to control window.open() as well.
> 
> open_newwindow=1 -suppressing- new windows?  Holy counterintuitive, Batman!
> Or is that just a typo on your part?

It's not a boolean value, so 1 != true.

http://kb.mozillazine.org/About:config_entries

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Saturday, 28 April 2007 09:32:19 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:54 UTC