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

Error 406 unacceptable

This error can be caused by several factors. One cause can be the incorrect permissions are set...

What is a Top-Level-Domain (TLD)?

TLD stands for Top Level Domain. This includes any domain names which suffix is .com, .net, .org,...

Setting up Zend Framework

When setting up Zend Frameworks in your hosting account be sure to upload your frameworks folder...

How can I change the default page / document?

Create a .htaccess file, include the below information into it and upload it to the public_html...

Adding HTML to Site Builder

When adding HTML code/source in site builders be sure you are in HTML mode. There is often a...