Forum Moderators: open
I made use long ago of this code I got from an NG on how to stop this site from framing a page of mine. Why they did it, and why that particular page, I've no idea. 'was probably harmless on their part.
Now I'd like to use this for another site's Homepage which someone else is Framing. Any chances this would hurt me with the SEs? The code follows:
<script type="text/javascript">
if (window.location!= top.location) {
window.location = "http://";
}
</script>
I make a conscious effort never to redirect ALL traffic -- but in this case, with an "if" statement and putting the whole thing into an external file, I don't think there's a problem. At least, I've never noticed one. It is, after all, NOT an attempt to manipulate.