Stuart Ballard wrote:

> Christopher Blizzard wrote:
> 
>> This mostly happens as a result of a window.open() in an onclose()
>> handler ( I think that's the right name. )
>> 
>> Could we add a pref'ed OK/Cancel question dialog when that happens?  It
>> happens so rarely and I know a lot of unsuspecting people that has
>> happened to.  Of course, I don't know if it's possible to tell if you
>> are doing an open in a close.
> 
> 
> I believe it's possible to disable onclose entirely (can't remember how,
> but I'm sure I saw it mentioned once alongside the "disable window.open"
> thing).
> 
> Are there any legitimate uses for onclose()? Is there any reason that I
> shouldn't turn off onclose for all sites all the time? And if so, should
> mozilla.org consider making onclose disabled the default? (I doubt, for
> some reason, that Netscape/AOL would ever consider doing this in their
> branded browser...)
> 
> Stuart.

Yep, there are quite a few that I can think of off of the top of my 
head.  Most of the ideas that I have include the online web mail 
systems, though.  I wouldn't support turning off onclose in mozilla.

--Chris

-- 
------------
Christopher Blizzard
http://people.redhat.com/blizzard/
mozilla.org - We're on a mission from God.  Still.
------------


Reply via email to