1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Anti iFrame Breaker Script - Anyone?

Discussion in 'CPA' started by mystery, Feb 4, 2012.

  1. mystery

    mystery Regular Member

    Joined:
    Apr 10, 2007
    Messages:
    335
    Likes Received:
    24
    Hey,

    does anyone know of a good anti-iframe breaker script?
     
  2. meannn

    meannn Supreme Member

    Joined:
    Apr 22, 2009
    Messages:
    1,461
    Likes Received:
    1,896
    Occupation:
    Unemployed Winner
    Location:
    TR
    Yes, I know.
     
  3. mystery

    mystery Regular Member

    Joined:
    Apr 10, 2007
    Messages:
    335
    Likes Received:
    24
    Ok, let me rephrase the question...

    may someone NAME a good anti-iframe breaker script, so that we know where and how to get it?
     
  4. Theycallmebe

    Theycallmebe Newbie

    Joined:
    Jan 17, 2012
    Messages:
    9
    Likes Received:
    1
    I would like to know this also.
     
  5. dadecotti

    dadecotti Senior Member

    Joined:
    Dec 13, 2008
    Messages:
    800
    Likes Received:
    29
    I am looking for this from so much time... but nothing found yet, please if you have news let me know
     
  6. heiska

    heiska Junior Member

    Joined:
    Dec 5, 2008
    Messages:
    139
    Likes Received:
    169
    PHP:
    var prevent_bust 0;

     
    // Event handler to catch execution of the busting script.
     
    window.onbeforeunload = function() { prevent_bust++ };

     
    // Continuously monitor whether busting script has fired.
     
    setInterval(function() {
       if (
    prevent_bust 0) {  // Yes: it has fired. 
         
    prevent_bust -= 2;     // Avoid further action.
         // Get a 'No Content' status which keeps us on the same page.
         
    window.top.location 'http://server-which-responds-with-204.example.com';
       }
     }, 
    1);
     
    • Thanks Thanks x 2
  7. mystery

    mystery Regular Member

    Joined:
    Apr 10, 2007
    Messages:
    335
    Likes Received:
    24

    Thanks man. Gonna try this one out...

    I came across something similar, but I think I didn't full get the "http://server-which-responds-with-204.example.com" part.

    I created an empty page that only has this code and used its url:

    Any inputs?
     
  8. heiska

    heiska Junior Member

    Joined:
    Dec 5, 2008
    Messages:
    139
    Likes Received:
    169
  9. mystery

    mystery Regular Member

    Joined:
    Apr 10, 2007
    Messages:
    335
    Likes Received:
    24
    Apologies but I'm a noob when it comes to this... may you show me how to do that? the actual server which responds with 204 no content?

    The network I'm targeting doesn't care a lot. I know that. So no worries.