How to prevent / block other web pages from loading your page using Frames
| Posted in Uncategorized
The following javascript snippet will prevent other web pages from
loading your web pages using Frames or Iframes.
This will prevent others from stealing you content and bandwidth.
This script will make the webpages to redirect to your original page.
Include the following snippet in the <head> section of your web page.
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
<!-- if (self != top) { top.location.href = self.location.href; }
//-->
</SCRIPT>
|