Frameset killer

Submitted by:David Villa

Date added:11 September, 2016

Category:JavaScript

Website won't display in a frameset. Site will jump out of the frameset.

Tags: frameset

Code Snippet:

if(top.location != location) {
top.location.href = document.location.href;
}
 
 

Comments