"PSERVE" <news@pserve.co .uk> wrote in message news:416ad7ef$0 $8469$cc9e4d1f@ news.dial.pipex .com...[color=blue]
> Is the a way of preventing popups from other sites while your page is
> loading?
>
> --
> Regards
> Nik
> http://www.itconsultancy.org
>
> [/color]
Well in Windows if you know where the popups are going to load from you can put the address in your hosts file. Look in the hosts file for examples.
Or you can turn off javascripting. That also will stop them.
Fact is most popups from offsite are advertisements and the addresses are not many. After a few popups you'll get most of them for the hosts file.
--
George Hester
_______________ _______________ ____
You can't do it in JavaScript. It's not yours! You download it from website and it will run anyway (if you use it).
Use http://www.mozilla.org/products/firefox/
Alex Kizub.
George Hester wrote:
[color=blue]
> "PSERVE" <news@pserve.co .uk> wrote in message news:416ad7ef$0 $8469$cc9e4d1f@ news.dial.pipex .com...[color=green]
> > Is the a way of preventing popups from other sites while your page is
> > loading?
> >
> > --
> > Regards
> > Nik
> > http://www.itconsultancy.org
> >
> >[/color]
> Well in Windows if you know where the popups are going to load from you can put the address in your hosts file. Look in the hosts file for examples.
>
> Or you can turn off javascripting. That also will stop them.
>
> Fact is most popups from offsite are advertisements and the addresses are not many. After a few popups you'll get most of them for the hosts file.
>
> --
> George Hester
> _______________ _______________ ____[/color]
PSERVE wrote:
[color=blue]
> Is the a way of preventing popups from other sites while your page is
> loading?[/color]
Well... you say "your page" implying it is a page you authored? If that
is the case, then the way to prevent popups is to not write the code to
open them in the first place.
If you mean you are using a free Web hosting provider and they inject
code to create popups, then no, you should not attempt to circumvent that
behaviour or you will be in violation of the TOS you agreed to when you
signed up. If you want Web hosting without popups, pay for it.
If you mean you are loading an arbitrary page and it is opening windows
during the loading process, there are a variety of solutions. If you are
using Internet Explorer, Windows XP Service Pack 2 (<url: http://windowsupdate.microsoft.com />) and the Google toolbar (<url: http://toolbar.google.com />) offer good popup blockers. AOL Instant
Messenger (AIM) now also comes with a popup blocker, I don't know how
well it works. As well, there are a variety of other "Internet Security"
software packages that offer paranoia generation (oops, I mean
"firewall") and popup blocking services. And as others have mentioned,
you could use a browser with popup prevention built in (Firefox <url: http://www.mozilla.org/firefox /> or Opera <url: http://www.opera.com
/>).
--
Grant Wagner <gwagner@agrico reunited.com>
comp.lang.javas cript FAQ - http://jibbering.com/faq
Comment