blob: 725a986eaa63cee58cd16392e46fa21176ea9545 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
{% if disallow_iframe_embed %}
<style id="anti-clickjack">body{display:none !important;}</style>
<script type="text/javascript" charset="utf-8">
if (self === top) {
var antiClickjack = document.getElementById("anti-clickjack");
antiClickjack.parentNode.removeChild(antiClickjack);
} else {
top.location = self.location;
}
</script>
{% endif %}
|