Last active
September 3, 2022 18:01
-
-
Save jkmartindale/062de04cd23ada8aac6fa5683c30d1bb to your computer and use it in GitHub Desktop.
Bypass that annoying as hell, buggy task verification gate
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
let user = JSON.parse(localStorage.getItem('user')); | |
user.giveaways[user.giveaways.length-1].tasks.forEach(task => task.completed = '1'); | |
localStorage.setItem('user', JSON.stringify(user)); | |
refreshInterface(); |
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
for(let taskid in [0, 1, 2, 3, 4, 5, 6]) { | |
var user = JSON.parse(localStorage.getItem('user')); | |
if (user.giveaways[1].tasks[taskid].completed == '0') { | |
user.giveaways[1].tasks[taskid].completed = '1'; | |
user.giveaways[1].secident = user.giveaways[1].secident + 1; | |
localStorage.setItem('user', JSON.stringify(user)); | |
refreshInterface(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment