Forum Moderators: open
It seems like a long time ago that I saw a piece of code that would do that, but I cannot remember what or where I found it. Any help would be appreaciated.
Thanks in advance for any assistance with this issue.
John
sparky@roava.net
One way is to put the following javascript code between a <script...> and </script> tag into your <head> section:
if (top!= self)
top.location.href = self.location.href;
Another way would be something like:
if (top!= self) {
window.open(self.location.href, "_blank", "");
self.location.href = "copywrite_violation.html";
}
Where copywrite_violation.html is an html file in the same directory as your html file, and it has something like the following in it:
<html>
<head>
</head>
<body style="...some really big bold font...">
The website you are viewing has violated copyright!
</body>
Shawn
John