...

View Full Version : anti frame buster



samvel2609
06-23-2009, 09:34 PM
recently i tried to iframe a certain site...but they are using the follwing
frame bursting technique...

<script type="text/javascript">
if(top.frames.length > 0)
top.location.href=self.location;
</script>


is there any method to over come this and to iframe the site???
some one please help me...

thanks in advance
samvel

Philip M
06-23-2009, 09:52 PM
recently i tried to iframe a certain site...but they are using the follwing
frame bursting technique...

<script type="text/javascript">
if(top.frames.length > 0)
top.location.href=self.location;
</script>


is there any method to over come this and to iframe the site???
some one please help me...

thanks in advance
samvel

No. That is why they are using the technique.

samvel2609
06-23-2009, 10:51 PM
he he ...but i wanna break it...i m scratching my heads to break this thing

Mike_O
06-23-2009, 11:09 PM
Hey samvel2609,

This seems kind of crazy, and it probably won't work, but I'm just going to bring out out there. What if you were to take the entire rendered HTML from that site, store it as a big string on the client side, except removing that script in question from the string. Then in your page, put the string as an innerHTML inside your iframe.

Mike

rnd me
06-24-2009, 02:31 AM
some browsers let you re-define top and location, i know newer firefox explicitly prevents this though.

if you have a server, you might try caja for a simple solution.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum