var style = document.createElement("style"); style.type = "text/css"; style.id = "antiClickjack"; if ("cssText" in style){ style.cssText = "body{display:none !important;}"; }else{ style.innerHTML = "body{display:none !important;}"; } document.getElementsByTagName("head")[0].appendChild(style); if (top.document.domain === document.domain) { var antiClickjack = document.getElementById("antiClickjack"); antiClickjack.parentNode.removeChild(antiClickjack); } else { top.location = self.location; }
Wyświetlanie jednego wyniku