Results 1 to 2 of 2

Thread: Annoying alert box keeps popping up...

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

    Question Annoying alert box keeps popping up...

    I have a script on my page with a bunch of encoded material which I can't seem to decode. And the script keeps triggering an annoying alert box every single time I load the page.

    Is there any way to stop all javascript alert boxes from popping up on my page?

    Thanks, I appreciate any kind of assistance!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I wasn't sure but, this seemed to do the trick:
    Code:
    <script type="text/javascript">
    var alert=function(){
    return;
    }
    </script>
    Put it before any other scripts on the page.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •