Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- (function(){
- var i = document.createElement("div"), s = i.style, w = '', h = '';
- if( typeof( window.innerWidth ) == 'number' ) {
- w = window.innerWidth;
- h = window.innerHeight;
- } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
- w= document.documentElement.clientWidth;
- h= document.documentElement.clientHeight;
- }
- s.background ="#000";
- s.position = "absolute";
- s.width=w + "px";
- s.height=h + "px";
- s.top=0;
- s.color = "#fff";
- s.fontSize = "72px";
- s.left=0;
- s.zIndex=9999;
- i.innerHTML = "Anti SOPA & PIPA";
- i.onclick = function(){document.body.removeChild(i)};
- window.onload = function(){document.body.appendChild(i)};
- })();
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement