View Full Version : ANTI frame breaker

06-01-2003, 07:20 PM
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.

06-01-2003, 10:25 PM
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.