Created
October 27, 2017 16:28
-
-
Save DogeLOL98/740b3e4556f80e1f05cd2ab769219faa to your computer and use it in GitHub Desktop.
Hack Quizlet Gravity
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
/* | |
Coded by SpicyWingz | |
I am not responsible for your use of this script | |
Instrucions; | |
1. Right click | |
2. Click on the tab called "Console" | |
3. Paste this script | |
4. Wait for word to come in screen | |
5. When you see word hit the "space bar" and then immediatly hit "enter" | |
6. Enjoy | |
7. Dont blame me | |
*/ | |
if(!localStorage.cheat){ | |
localStorage.cheatAutoType = true; | |
localStorage.cheatActivated = true; | |
} | |
alert('You have just pasted the hack code, Enjoy hacking! -Dogzmodz.'); | |
selector = "#GravityGameTarget > div > div > div > div.ModeLayout-content > div > div.GravityGameplayView-inner > div:nth-child(5) > div > div > div > .TermText > .TermText"; | |
outputSelector = "#GravityGameTarget > div > div > div > div.ModeLayout-controls > div > div > div > div.ModeControls-main > div.ModeControls-actions > div:nth-child(2) > div > button > span"; | |
inputSelector = "#GravityGameTarget > div > div > div > div.ModeLayout-content > div > div.GravityGameplayView-inner > div.GravityGameplayView-typingPrompt > span > div > div > div.GravityTypingPrompt-inputWrapper > textarea"; | |
inputRepeatSelector = "#GravityGameTarget > div > div > div > div.ModeLayout-content > div > div.GravityGameplayView-inner > div:nth-child(3) > div > div > div > div.GravityCopyTermView-inputWrapper > textarea"; | |
wordstotalint = 1; | |
previouswordtotal = 0; | |
setInterval(function() { | |
if(document.querySelector(selector) && localStorage.cheatActivated == "true"){ | |
translatedWord = words[document.querySelector(selector).innerHTML.replace(RegExp( | |
'<!--[\\s\\S]*?(?:-->)?' | |
+ '<!---+>?' | |
+ '|<!(?![dD][oO][cC][tT][yY][pP][eE]|\\[CDATA\\[)[^>]*>?' | |
+ '|<[?][^>]*>?', | |
'g'), "")]; | |
document.querySelector(outputSelector).innerHTML = "Coded by DogzModz"; | |
if(localStorage.cheatAutoType == "true" && wordstotalint > previouswordtotal ){ | |
document.querySelector(inputSelector).value = translatedWord; | |
} | |
} | |
}, 0); | |
words = {}; | |
for(i = 0; i<Quizlet.gravityData.terms.length; i++){ | |
if(Quizlet.gravityData.terms[i].definition == null){ | |
} else { | |
words[Quizlet.gravityData.terms[i].definition] = Quizlet.gravityData.terms[i].word; | |
} | |
} |
I think the problem might be with this line...
for(i = 0; i<Quizlet.gravityData.terms.length; i++){
which is line 32 in the most recent update of your code.
yea doesnt work for me either "VM2977:32 Uncaught TypeError: Cannot read property 'terms' of undefined
at :32:34"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i don't have the option to inspect