Results 1 to 5 of 5

Thread: Popup Blocker

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

    Exclamation Popup Blocker

    Can anyone counter this script so it doesn't work? It displays a popup and I don't want it to. Any ideas on how to null this? I've tried the regular javascript code to block popups but it won't work. Is their a javascript that allows you to disable javascript on your site?

    Code:
    if (document.cookie.indexOf("POPNEW3") == -1) {
    
        var expdate = new Date((new Date()).getTime() + 86400000);
    
        document.cookie="POPNEW3'=POP; expires=" + expdate.toGMTString() + "; path=/;";
    
    
    
    document.write('<SCR'+'IPT LANGUAGE="JavaScript" '); 
    document.write(' SRC="http://a.as-us.falkag.net/dat/dlv/aslmain.js">'); 
    document.write('</SCR');
    document.write('IPT>');
    
    document.write('<SCR'+'IPT LANGUAGE="JavaScript" '); 
    document.write(' SRC="http://a.as-us.falkag.net/dat/dlv/aslsubs111.js">'); 
    document.write('</SCR');
    document.write('IPT>');
    
    
    Ads_kid=0;Ads_bid=0;Ads_xl=0;Ads_yl=0;Ads_xp='';Ads_yp='';Ads_opt=0;Ads_wrd='[KeyWord]';Ads_prf='';Ads_par='';Ads_cnturl='';Ads_sec=0;Ads_channels='';
    
    
    document.write('<SCR'+'IPT LANGUAGE="JavaScript" '); 
    document.write(' SRC="http://a.as-us.falkag.net/dat/cjf/00/05/97/27.js">'); 
    document.write('</SCR');
    document.write('IPT>');
    
    
    }
    
    
    
    else if (document.cookie.indexOf("POPNEW5") == -1) {
    
        var expdate = new Date((new Date()).getTime() + 120000);
    
        document.cookie="POPNEW5'=POP; expires=" + expdate.toGMTString() + "; path=/;";
    
    
    
    document.write('<SCR'+'IPT LANGUAGE="JavaScript" '); 
    document.write(' SRC="http://popunder.PayPopup.com/popup.php?id=amelen&pop=enter&t=1&subid=1142&blk=1">'); 
    document.write('</SCR');
    document.write('IPT>');
    
    
    }

  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

    If you don't want the pop up, don't put the code on your page.
    - John
    ________________________

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

  3. #3
    Join Date
    Nov 2005
    Posts
    93
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    He probably means it gets automatically added to his pages
    because the server/host wants to have advertizements on his page
    as part of his 'deal'. I have seen a way to disable most such garbage,
    but the author warns that you use it at your own risk,
    (i.e., if your webhost sees you are removing ads you have agreed to show,
    you may have your site shut down, and be banned from using the server.)

  4. #4
    Join Date
    Nov 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation

    That's right. It's automatically placed onto my site. I don't really care what happens and I'm using at my own discrestion. and all that legal stuff...

  5. #5
    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

    One last insurmountable hurdle, I am afraid. It is against the rules of this forum to assist folks in doing this. So, my original advice stands. It was tongue in cheek to begin with. "Remove the code from your page.", means get a different host, or make other arrangements with your current one.
    - 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
  •