Results 1 to 2 of 2

Thread: Javascript alert blocker

  1. #1
    Join Date
    Mar 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Javascript alert blocker

    Is there a way to block all javascript alerts from appearing on my site? Ie. there are spam alerts popping up with freewares and I want to get rid of them. Is there a code that would just block all javascript popups and alerts (especially alerts)? Something like the javascript error blocker:

    <!-- Error_Blocker -->
    <script language="JavaScript">
    <!-- Begin
    function blockError(){return true;}
    window.onerror = blockError;
    // End -->
    </script>
    <!-- End Error_Blocker -->

    but for alerts.
    Thanks a lot.

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Methinks you are trying to remove adverts from your free host - we can't help there, sorry.

    cr3
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •