Forum Moderators: coopster
I have a message board app that konks out if someone comes to the site through hotmail. It's because of that ridiculous hotmail frame.
Is there any way of making sure that my site doesn't appear in a framed page?
Cheers. shasan.
There are several free ones like
<script language=javascript> <!--// var wind,doc; wind = parent.location; doc = document.location; if (wind!= doc) { parent.location.href= doc; } //--> </script>
if ((parent) && (parent.frames.length > 0)) { parent.location.href = self.location.href; }
If you can check for frames in PHP, you could probably do something similar.
Jordan
[Edit:] Macro beat me... [/edit]
cheers shasan