japoneix
asked on
frame buster workaround
How do I get a page with a 'frame buster' opened inside an IFRAME or FRAMESET?
target's onload attribute:
--
if (self !=top) top.location = location
--
target's onload attribute:
--
if (self !=top) top.location = location
--
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
nope. can't be done, AFAIK.
third is correct
...and i am glad that you can't b/c i use it in every site i develop regardless
...and i am glad that you can't b/c i use it in every site i develop regardless
Try this out, it works fine for me. Cheers.
<script language="Javascript">
<!--
if (top.location!= self.location) {
top.location = self.location.href
}
//-->
</script>
<script language="Javascript">
<!--
if (top.location!= self.location) {
top.location = self.location.href
}
//-->
</script>
Kind regards