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

Frank Tobin wrote:

>> 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.)
> 
> Of course, this is a great idea too (other than simply rejecting invalid
> XHTML because it uses the a[target]).  I wasn't aware of this option, but
> have now found it and put it into my user.js:
> 
> pref("browser.target_new_blocked", true);
> 
> It was Mozilla Bugzilla bug 56296.  Thanks for the heads up on that :)

Sorry for being kinda off-topic here (non-Mozilla users can hit their 
delete keys now), but 'browser.target_new_blocked' has recently (15 
hours ago!) been renamed to 'browser.block.target_new_window'. More 
important, it is now exposed to "normal" users (i.e., people who don't 
want to edit user.js manually) through Preferences|Advanced|Scripts & 
Windows. It's the "Open a link in a new window" checkbox.

See bug 78037, <http://bugzilla.mozilla.org/show_bug.cgi?id=78037>, for 
all the details.

/Jonas

Received on Tuesday, 26 February 2002 09:08:11 UTC