Last active
May 18, 2022 14:14
-
-
Save No-Eul/02a6f6f4a885ead1801de8d6c1cac235 to your computer and use it in GitHub Desktop.
Userscript and Local Storage Data Value to Grant All Achievements of Power Mode (Party Mode) in Discord
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
// The userscript file to grant all archievements w/o uncomfortable work | |
// This will be kept forever, once applied. | |
// After application, you will need to reload Discord. | |
($ => { | |
$.contentWindow.localStorage.PoggermodeAchievementStore = JSON.stringify({ | |
_state: { | |
unlockedAchievements: [...Array(20)].map((_, i) => ({ achievementId: i, dateUnlocked: 0 })) | |
// You can set value of 'dateUnlocked' to current time with the code 'Date.now()' instead of '0'. | |
}, | |
_version: 0 | |
}); | |
$.remove(); | |
})(document.body.appendChild(document.createElement('iframe'))); |
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
{"_state":{"unlockedAchievements":[{"achievementId":0,"dateUnlocked":0},{"achievementId":1,"dateUnlocked":0},{"achievementId":2,"dateUnlocked":0},{"achievementId":3,"dateUnlocked":0},{"achievementId":4,"dateUnlocked":0},{"achievementId":5,"dateUnlocked":0},{"achievementId":6,"dateUnlocked":0},{"achievementId":7,"dateUnlocked":0},{"achievementId":8,"dateUnlocked":0},{"achievementId":9,"dateUnlocked":0},{"achievementId":10,"dateUnlocked":0},{"achievementId":11,"dateUnlocked":0},{"achievementId":12,"dateUnlocked":0},{"achievementId":13,"dateUnlocked":0},{"achievementId":14,"dateUnlocked":0},{"achievementId":15,"dateUnlocked":0},{"achievementId":16,"dateUnlocked":0},{"achievementId":17,"dateUnlocked":0},{"achievementId":18,"dateUnlocked":0},{"achievementId":19,"dateUnlocked":0}]},"_version":0} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Copy the userscript, and paste into the console of your browser or Discord client!
๐ Before Opening DevTools
๐ How to Run Userscript
๐ How to Apply Local Storage Data Value
์ ์ ์คํฌ๋ฆฝํธ๋ฅผ ๋ณต์ฌํด์ ๋น์ ์ ๋ธ๋ผ์ฐ์ ๋ Discord ์ฝ์์ ๋ถ์ฌ๋ฃ์ผ์ธ์!
๐ ๊ฐ๋ฐ์ ๋๊ตฌ๋ฅผ ์ด๊ธฐ ์ ์
๐ ์ ์ ์คํฌ๋ฆฝํธ ์คํ์ํค๋ ๋ฐฉ๋ฒ
๐ Local Storage ๋ฐ์ดํฐ ๊ฐ ์ ์ฉํ๋ ๋ฐฉ๋ฒ