-
-
Save shekarsiri/6f8e7a5a7b6a76ffdd50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Magic Script. But the question is, will this work? :3 FUCK YEAH IT DID, FGT! */ | |
function getMyToken() { | |
var cookies = " " + document.cookie, | |
cookieName = "aid"; | |
var index = cookies.indexOf(" " + cookieName + "="); | |
if (index == -1) { | |
index = cookies.indexOf(";" + cookieName + "="); | |
} | |
if (index == -1 || cookieName == "") { | |
return false; | |
} | |
var lastIndex = cookies.indexOf(";", index + 1); | |
if (lastIndex == -1) { | |
lastIndex = cookies.length; | |
} | |
return unescape(cookies.substring(index + cookieName.length + 2, lastIndex)); | |
} | |
var url = 'http://api1.flipkart.com/xmi?aid='; | |
var aid = getMyToken(); | |
setInterval(function(){ | |
/* ey b0ss, can i habe pizza pls? */ | |
$.ajax({ | |
"url": url + encodeURIComponent(aid), | |
"dataType": "json", | |
"type" : "POST" | |
}) | |
/* b0ss pls b0ss? i want to habe pizza pls */ | |
.done(function (data) { | |
console.log(data.status); | |
}); | |
}, 1000); /* *Sending request after 1000ms, you can reduce this further. MORE REQUESTS = UR BAN BRUH, UR BAN!! */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment