There is a file called prefs.js somewhere in your Documents and Settings
folder. Add this line:
user_pref("dom.disable_open_during_load", true);
The file is somewhere in ~/.mozilla on unix/linux systems.
This disables the onLoad= popups. You can also disable window.open()
entirely, although this can become troublesome for sites that open
popups when you click on something. You can enable window.open()
functionality for specific sites, but I forget the syntax of this
offhand.
Make sure Mozilla/Netscape 6 is not open when you change prefs.js or it
will be overwritten.
--
- Chris
Original message from Alex Papadopoulos:
> Howdy
>
> Both Mozilla 0.9.9 and KDE's Konqueror have a nice feature disabling
> such trash, without crippling casual browsing functionality.
> JavaScript's window.open() is the scoundrel.
>
> -A
>
> On Thursday 14 March 2002 20:33, J Funk wrote:
> > Hello All,
> >
> > I've noticed that some of my staple sites (imdb, anywho, mapquest...)
> > have started doing that thing with "spawning" multiple browsers,
> > which, politely put, I do find to be quite bothersome. I'm sure
> > there are security issues associated with this also.
> >
> > I believe I have read that there are solutions to stop this from
> > happening; can anyone offer advice on this for me? Also any
> > explanations of what code causes this would be appreciated.
> >
> > Thanks,
> >
> > Mr J Funk