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

Anyone want anti-framebuster for ezine articles?

Discussion in 'Black Hat SEO Tools' started by petros, Jan 9, 2010.

  1. petros

    petros Newbie

    Joined:
    Jan 23, 2009
    Messages:
    13
    Likes Received:
    7
    I made a small script that let's you frame ezine articles without using any javascript or php (no proxies etc). Would anyone be interested in this sort of thing? I only tested with with ezine articles but it should work with any site that uses the same framebuster code.

    Image:
    Code:
    http://i47.tinypic.com/20z3fbc.jpg

    I decided to release because I found a different more universal way to break frames (works on more sites than this but is still only working on a very low percentage of sites).

    Basically the idea behind this is that ezine breaks of frames using this code:
    Code:
     /* frame buster */
     if (parent && parent.frames && parent.frames.length>0)
     {
             parent.location.href=self.document.location;
    }
    
    On firefox and many other browser you can't control the content of the "parent" variable and there's really no point in finding an exploit for it because it'll just be fixed in the next update. But look how it only changes the parent.location instead of window.location. This means we just need to create two files in order to frame our article.

    index.php:
    PHP:
    <body>
    <
    iframe width="500px" height="500px" style="border: 2px dashed blue; float: left; margin-right: 5px;" src="http://locahost/bypass.php" ></iframe>
    <
    div>See how nicely it lives in a frameThe scroll bars are optionalCan be used with cakeslice and other tools like that.</div>
    </
    body>
    </
    html>
    bypass.php:
    PHP:
    <iframe src="http://www.associatedcontent.com/article/2515379/postholiday_letdown_emergency_first.html?cat=5" scrolling="auto" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" width="100%" height="100%">
    </
    iframe>
    This way when the page breaks out of the frame it's still nested nicely in our first frame.
     
    • Thanks Thanks x 2
    Last edited: Jan 9, 2010
  2. Barbacamanitu

    Barbacamanitu Jr. VIP Jr. VIP Premium Member

    Joined:
    May 8, 2008
    Messages:
    500
    Likes Received:
    91
    is there any actual use of this? just getting your views higher?
     
  3. petros

    petros Newbie

    Joined:
    Jan 23, 2009
    Messages:
    13
    Likes Received:
    7
    Probably. You can get views higher and use it to embed articles into your site so and have offers related CPA offers around it. I don't use ezine articles so I'm not really sure how this can be applied (but it does work on various other sites aswell)

    EDIT: Forget it I just released it
     
    Last edited: Jan 9, 2010
  4. yoessan

    yoessan BANNED BANNED

    Joined:
    Dec 23, 2009
    Messages:
    74
    Likes Received:
    13
    i'm building a script that will scrape ezine contents and change it to other language for unique contents, and this helps a lot, thanks.
     
  5. bigvito21

    bigvito21 BANNED BANNED

    Joined:
    Jun 17, 2011
    Messages:
    272
    Likes Received:
    8
    But its still not keeping the site within the frame though?
     
  6. meannn

    meannn Supreme Member

    Joined:
    Apr 22, 2009
    Messages:
    1,461
    Likes Received:
    1,896
    Occupation:
    Unemployed Winner
    Location:
    TR
    Only works with sites which using this iframe buster code.

    PHP:
    if (parent && parent.frames && parent.frames.length>0) { parent.location.href=self.document.location; }
     
  7. EisaG

    EisaG BANNED BANNED

    Joined:
    Feb 7, 2011
    Messages:
    208
    Likes Received:
    31
    can you make one for this

    window.onbeforeunload = function() { if( !landerClickthrough ) { landerClickthrough = true; alert('------------------------------------------------------------\nThink first! Click CANCEL on the next page to receive a new gift card option.\n\nYour free $1,000 gift card is yours by filling out our 5 min internet survey.\n\n------------------------------------------------------------'); window.location = 'http://www.linkclkthru.com/path/exitOffer'; return '------------------------------------------------------------\nClick CANCEL\n\nOver $1,000,000 in gifts have been given out, get yours today!\n\n------------------------------------------------------------';
     
  8. meannn

    meannn Supreme Member

    Joined:
    Apr 22, 2009
    Messages:
    1,461
    Likes Received:
    1,896
    Occupation:
    Unemployed Winner
    Location:
    TR
    ^^ Use beautifier to fix the appereance of the code.
     
    • Thanks Thanks x 1
  9. EisaG

    EisaG BANNED BANNED

    Joined:
    Feb 7, 2011
    Messages:
    208
    Likes Received:
    31
    window.onbeforeunload = function () {
    if (!landerClickthrough) {
    landerClickthrough = true;
    alert('------------------------------------------------------------\nThink first! Click CANCEL on the next page to receive a new gift card option.\n\nYour free $1,000 gift card is yours by filling out our 5 min internet survey.\n\n------------------------------------------------------------');
    window.location = 'http://www.linkclkthru.com/path/exitOffer';
    return '------------------------------------------------------------\nClick CANCEL\n\nOver $1,000,000 in gifts have been given out, get yours today!\n\n------------------------------------------------------------';