Advertisement
BenSyt

Zearn hacks

Jun 2nd, 2023 (edited)
16,081
3
Never
98
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //WORKING WITHOUT TAMPERMONKEY SCRIPT!!!
  2. //All Answers right hack working as of 6/16/24; universal still works on number gym/fluency
  3. //Answers right hack(WORKING 6/16/24):
  4. //COPY START
  5. javascript:(()=>{if(window.run)alert("Script has already been run!");else{window.run=!0;var t=Function.prototype.call,tasks=[];function findValsForTask(t,s){return t.$store.dispatch("tasks/allowFinalAdvancement",{taskId:s}),t.$store.getters["tasks/getVueComponent"](s)?t.$store.getters["tasks/getVueComponent"](s).correctVals[0]:t.$store.getters["tasks/getSpineTaskObj"](s).task.correct_vals[0]}function patch(t){if(!window.patched){var s=t.$store._vm["tasks/currentGradingState"];delete t.$store._vm["tasks/currentGradingState"],t.$store._vm["tasks/currentGradingState"]=function(){let t=s.apply(this,arguments);return("try-again"==t||"incorrect"==t)&&(t="correct"),t},window.patched=!0,console.log("Correct patched!")}var e=t.$store._vm["taskGroups/latestResponsesForTaskIds"];String(e)?.includes("findValsForTask")||(delete t.$store._vm["taskGroups/latestResponsesForTaskIds"],t.$store._vm["taskGroups/latestResponsesForTaskIds"]=function(){let s=e.apply(this,arguments);return console.log(s),s.forEach((s=>{s&&(s.is_correct=!0,s.val=findValsForTask(t,s.task_id))})),s},console.log("This task patched!"))}Function.prototype.call=function(){return arguments[0]?.$store?._vm&&patch(arguments[0]),t.apply(this,arguments)}}})();
  6. //COPY END
  7. //these are kind of obselete; they only work sometimes
  8. //ALL ANSWERS RIGHT INSTRUCTIONS: run on the page before you answer the question. answer the question like normal, and the script will capture the values. after, just answer like normal, answer will be correct and it will save to server.
  9.  
  10. //Universal hack! (op)
  11. //COPY START
  12. //https://pastebin.com/yDxRFunG
  13. //COPY END
  14.  
  15. //heres a video of the universal hack(dont ask about the tabs): https://www.youtube.com/watch?v=tzQspG4NwLU
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement