Javascript: Prevent page from frameset hijack
Tuesday, April 17th, 2007If you would like to prevent your site being frame by other website, you can use the code below to protect your site being frame.
Basically, the javascript check if your site is being open by frameset. It check if the opening window is top or else it will refresh the page to your site URL.
Many [...]