Files
portal-legacy/html/phpmyad/js/cross_framing_protection.js
Chris Sewell cf140a2e97 initial commit
2012-11-28 03:55:08 -05:00

2 lines
331 B
JavaScript

try{var topdomain=top.document.domain;if(topdomain!=self.document.domain){alert("Redirecting...");top.location.replace(self.document.URL.substring(0,self.document.URL.lastIndexOf("/")+1))}}catch(e$$5){alert("Redirecting... (error: "+e$$5);top.location.replace(self.document.URL.substring(0,self.document.URL.lastIndexOf("/")+1))};