[whatwg] Target Attribute Values
lachlan.hunt at lachy.id.au
Sat Apr 28 09:32:19 PDT 2007
> 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.
More information about the whatwg