Akkana wrote:
> Paul Bergsagel writes:
>
>> Here is what happens: I am surfing at a web site and all of a sudden an
>> "adult" site takes over Mozilla. closing the window generates a new one.
>
>
> Well, you can disable window.open entirely, or only for certain
> domains. See http://www.mozilla.org/unix/customizing.html for more
> info. Don't know if there's a way to disable it only if it happens
> from window.close, but you might find info on that in
> http://www.mozilla.org/projects/security/components/configPolicy.html
>
> ...Akkana
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.
--Chris
--
------------
Christopher Blizzard
http://people.redhat.com/blizzard/
mozilla.org - We're on a mission from God. Still.
------------