Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    May 2003
    Thanked 0 Times in 0 Posts

    ANTI frame breaker

    I want an site to be dispalyed on my site, I used the IFRAME tags and everything, but the site seems to be using an frame buster, is there an javascript that makes sure that the page is loaded inside the frame, it is of an referal, so I need it to pay for my dsl and hosting. And I want my visitors to see it in the frame as everybody hates POPUPS. Please help ,I am an rookie.

  • #2
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    metro DC
    Thanked 18 Times in 18 Posts
    You basically can't. If it is a page on another domain, then you don't even have dynamic read access to the contents of the page, let alone dynamic write access (dynamic meant by in memory and not actually physical) to it.

    And if it is a decent framebreaker script essentially taking the form of:

    if (top != self) top.location.href = self.location.href;

    then you can't get around it without changing the source of the page.

    Ask the author of the page for permission to frame the page and let him modify the page to let you do so.


    Posting Permissions

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