Created
September 21, 2023 05:39
-
-
Save leej731/c8aa10e5403190a0fdea012b66fb799f to your computer and use it in GitHub Desktop.
Quizlet Live Hack (UPDATED 2023)
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
// ==UserScript== | |
// @name Quizlet Match Hacker | |
// @namespace Ray D. Adams | |
// @version 1.1 | |
// @description The time will freeze and the answers will be the same color | |
// @author You | |
// @match https://quizlet.com/*/* | |
// @grant none | |
// @license MIT | |
// ==/UserScript== | |
//Ignore the variable gravityScore because it doesn't work any more, but I decided to keep the code here | |
var gravityScore, | |
href = window.location.href; | |
//<br><br><button class="UIButton" id="customWaitButton" type="button"><span class="UIButton-wrapper"><span>Inject</span></span></button> | |
(function() { | |
initLoad(); | |
function initLoad() { | |
if (href.includes("quizlet.com")) { | |
if (href.includes("/learn")) { | |
cAlert('<h2>Game Mode: Learn</h2>Thank you for using Ray D. Adams Quizlet Exploit<br>Without you, this exploit wouldnt be possible.<br><h4>Instructions:</h4>Just wait for this script to finish!<br><br><button class="UIButton" id="learnButton" type="button"><span class="UIButton-wrapper"><span>Inject</span></span></button>'); | |
getId("learnButton").addEventListener("click", function() { | |
document.getElementById("customMessageContainer").remove(); | |
learn(); | |
}); | |
} else if (href.includes("/flashcards")) { | |
cAlert('<h2>Game Mode: Flashcards</h2>Thank you for using Ray D. Adams Quizlet Exploit<br>Without you, this exploit wouldnt be possible.<br><h4>Changelog:</h4>+ Added Match time freeze for regular match and diagrams<br>+ Added Gravity score exploit to get ANY score you want!<br>+ Added custom alert box<br>+ Fixed graphics<br>- Removed useless alert boxes.<h4>Instructions:</h4>Umm why are you here? Go cheat somewhere else...<br><br><button class="UIButton" id="flashcardsButton" type="button"><span class="UIButton-wrapper"><span>Inject</span></span></button>'); | |
getId("flashcardsButton").addEventListener("click", function() { | |
document.getElementById("customMessageContainer").remove(); | |
}); | |
} else if (href.includes("/write")) { | |
cAlert('<h2>Game Mode: Write</h2>Thank you for using Ray D. Adams Exploit<br>Without you, this exploit wouldnt be possible.<br><h4>Instructions:</h4>You dont even have to wait,<br> this is my favorite one to watch!<br><br><button class="UIButton" id="writeButton" type="button"><span class="UIButton-wrapper"><span>Inject</span></span></button>'); | |
getId("writeButton").addEventListener("click", function() { | |
document.getElementById("customMessageContainer").remove(); | |
write(); | |
}); | |
} else if (href.includes("/spell")) { | |
cAlert('<h2>Game Mode: Spell</h2>Thank you for using Ray D. Adams Quizlet Exploit<br>Without you, this exploit wouldnt be possible.<br><h4>Instructions:</h4>Hold down enter and wait.<br><br><button class="UIButton" id="spellButton" type="button"><span class="UIButton-wrapper"><span>Inject</span></span></button>'); | |
getId("spellButton").addEventListener("click", function() { | |
document.getElementById("customMessageContainer").remove(); | |
spell(); | |
}); | |
} else if (href.includes("/test")) { | |
cAlert('<h2>Game Mode: Test</h2>Thank you for using Ray D. Adams Quizlet Exploit<br>Without you, this exploit wouldnt be possible.<br><br><h4>Instructions:</h4>Right click to toggle answers.<br>(Be subtle when using)<br><br><button class="UIButton" id="testButton" type="button"><span class="UIButton-wrapper"><span>Inject</span></span></button>'); | |
getId("testButton").addEventListener("click", function() { | |
document.getElementById("customMessageContainer").remove(); | |
testMode(); | |
}); | |
} else if (href.includes("/micromatch")) { | |
cAlert('<h2>Game Mode: Micromatch</h2>Thank you for using Ray D. Adams Quizlet Exploit<br>Without you, this exploit wouldnt be possible.<br><h4>Instructions:</h4>The timer will be paused when at choosen time.<br>The answers will also be highlighted for you.<br>At your leisure, solve the questions.<br><h4>Match Time: </h4><input type="text" id="matchTimeInput" value="0"></input><br><br><button class="UIButton" id="micromatchButton" type="button"><span class="UIButton-wrapper"><span>Inject</span></span></button>'); | |
getId("micromatchButton").addEventListener("click", function() { | |
document.getElementById("customMessageContainer").remove(); | |
micromatch(); | |
}); | |
} else if (href.includes("/match")) { | |
cAlert('<h2>Game Mode: Match</h2>Thank you for using Ray D. Adams Quizlet Exploit<br>Without you, this exploit wouldnt be possible.<br><h4>Instructions:</h4>The timer will be paused when at choosen time.<br>The answers will also be highlighted for you.<br>At your leisure, solve the questions.<br><h4>Match Time: </h4><input type="text" id="matchTimeInput" value="0"></input><br><br><button class="UIButton" id="matchButton" type="button"><span class="UIButton-wrapper"><span>Inject</span></span></button>'); | |
getId("matchButton").addEventListener("click", function() { | |
document.getElementById("customMessageContainer").remove(); | |
match(); | |
}); | |
} else if (href.includes("/gravity")) { | |
try { | |
document.getElementsByClassName("UIModal is-white is-open")[0].style.display = "none" | |
} catch (e) {} | |
cAlert('<h2>Game Mode: Gravity</h2>Thank you for using Ray D. Adams Quizlet Exploit<br>Without you, this exploit wouldnt be possible.<br> <h4>What score would you like?: <input type="number" id="gravityScoreInput" value="4294967295" onchange="gravityScore = parseInt(this.value);"></input></h4><br><br><button class="UIButton" id="gravityButton" type="button"><span class="UIButton-wrapper"><span>Inject</span></span></button>'); | |
getId("gravityButton").addEventListener("click", function() { | |
document.getElementById("customMessageContainer").remove(); | |
gravity(); | |
}); | |
} else { | |
} | |
} | |
function testMode() { | |
var question = getClass("TermText notranslate lang-en"); | |
for (var i = 0; i < question.length; i++) { | |
question[i].innerHTML += '<br><small style="font-weight: bold; display: block;" class="answers">' + findAnswerGlobal(question[i].innerHTML) + "</small>"; | |
} | |
window.oncontextmenu = function(e) { | |
e.preventDefault(); | |
var answer = getClass("answers"); | |
if (answer[0].style.display == "block") { | |
for (var i = 0; i < answer.length; i++) { | |
answer[i].style.display = "none"; | |
} | |
} else { | |
for (var i = 0; i < answer.length; i++) { | |
answer[i].style.display = "block" | |
} | |
} | |
} | |
} | |
function gravity() { | |
if (gravityScore === undefined) { | |
gravityScore = parseInt(prompt("Enter exact score:")); | |
} | |
var t = window.QJP([], [], ["hyek"]).a, | |
n = t.grader.grade.bind(t.grader); | |
t._startGame(), t.dataMap = t.dataMap.update("points", function(t) { | |
return gravityScore; | |
}); | |
for (var o = 0; o < 99; o++) t._advanceLevel(); | |
function s(e) { | |
t.grader.grade = function(e, t, n) { | |
return !0; | |
}, e(), t.grader.grade = n | |
} | |
s(function() { | |
console.log(null); | |
}); | |
var a = t._promptCopyAnswer.bind(t); | |
t._promptCopyAnswer = function(e) { | |
a(e), setTimeout(function() { | |
s(function() { | |
t._checkCopiedAnswer({ | |
liveTermId: e, | |
answer: "" | |
}); | |
}); | |
}, 0); | |
}; | |
} |
and u should try submitting the code one more. i dont think the code is correct. the console said there are a lot of errors
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bro, i cant even submit the code into console