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

“Not Secure” Web Error

In this day and age browsers now default to using https:// instead of http://. We make SSL...

Exclude directory or folder from a rewrite rule in .htaccess

To exclude a directory or group of directories from rules in your .htaccess insert the following...

I am unable to delete a file.

This can occur for several reasons. With our service, if a directory of a script was found to...

Redirect website to https:// and www. via .htaccess

To forward a website to use both www. and https:// use the following in an .htaccess file:...

https:// with Weebly

To enable and force https:// with your Weebly website, be sure to go into your editor area,...