Other websites keep framing my site. How can I prevent?

This issue can be pretty annoying to some. The following javascript is a great tool in preventing your site from being framed by other sites.

Include the following code to your <body> tag:

<body onLoad="if (self != top) top.location = self.location">
  • 852 Users Found This Useful

Was this answer helpful?

Related Articles

Change your Websites Favorite Icon

How to change your website's icon for your internet browser. Create a 16x16 pixel icon image...

Why do I have references to robots.txt in my web stat programs?

Many search engines will look for a robots.txt file before spidering your sites content. The...

How do I remove a web disk?

In Windows, go to My Network Places on your PC, find the connection, right click and delete....

How do I hide my domain WHOIS information?

If you do not wish to have your contact information shown when someone does a WHOIS report on...

I updated my site but I still see old pages.

Make sure your files are indeed updated by checking the file time stamps. Also, you may want to...