Created
July 20, 2024 09:12
-
-
Save EdamAme-x/138b8fbe52ca336b04988761a25088c0 to your computer and use it in GitHub Desktop.
Misskey Achivement Getter
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
const token = document.cookie.split("; ").map(c => c.startsWith("token=") ? c.split("=").pop() : null).filter(Boolean).shift() | |
const alist = [ | |
'notes1', | |
'notes10', | |
'notes100', | |
'notes500', | |
'notes1000', | |
'notes5000', | |
'notes10000', | |
'notes20000', | |
'notes30000', | |
'notes40000', | |
'notes50000', | |
'notes60000', | |
'notes70000', | |
'notes80000', | |
'notes90000', | |
'notes100000', | |
'login3', | |
'login7', | |
'login15', | |
'login30', | |
'login60', | |
'login100', | |
'login200', | |
'login300', | |
'login400', | |
'login500', | |
'login600', | |
'login700', | |
'login800', | |
'login900', | |
'login1000', | |
'passedSinceAccountCreated1', | |
'passedSinceAccountCreated2', | |
'passedSinceAccountCreated3', | |
'loggedInOnBirthday', | |
'loggedInOnNewYearsDay', | |
'noteClipped1', | |
'noteFavorited1', | |
'myNoteFavorited1', | |
'profileFilled', | |
'markedAsCat', | |
'following1', | |
'following10', | |
'following50', | |
'following100', | |
'following300', | |
'followers1', | |
'followers10', | |
'followers50', | |
'followers100', | |
'followers300', | |
'followers500', | |
'followers1000', | |
'collectAchievements30', | |
'viewAchievements3min', | |
'iLoveMisskey', | |
'foundTreasure', | |
'client30min', | |
'client60min', | |
'noteDeletedWithin1min', | |
'postedAtLateNight', | |
'postedAt0min0sec', | |
'selfQuote', | |
'htl20npm', | |
'viewInstanceChart', | |
'outputHelloWorldOnScratchpad', | |
'open3windows', | |
'driveFolderCircularReference', | |
'reactWithoutRead', | |
'clickedClickHere', | |
'justPlainLucky', | |
'setNameToSyuilo', | |
'cookieClicked', | |
'brainDiver', | |
'smashTestNotificationButton', | |
'tutorialCompleted', | |
'bubbleGameExplodingHead', | |
'bubbleGameDoubleExplodingHead', | |
]; | |
for (const name of alist) { | |
fetch("/api/i/claim-achievement", { | |
"headers": { | |
"accept": "*/*", | |
"accept-language": "ja-JP,ja;q=0.9,ar-SS;q=0.8,ar;q=0.7,en-US;q=0.6,en;q=0.5,ko-KR;q=0.4,ko;q=0.3", | |
"cache-control": "no-cache", | |
"content-type": "application/json", | |
"pragma": "no-cache", | |
"priority": "u=1, i", | |
"sec-ch-ua": "\"Not/A)Brand\";v=\"8\", \"Chromium\";v=\"100\", \"Google Chrome\";v=\"100\"", | |
"sec-ch-ua-mobile": "?0", | |
"sec-ch-ua-platform": "\"Windows\"", | |
"sec-fetch-dest": "empty", | |
"sec-fetch-mode": "cors", | |
"sec-fetch-site": "same-origin" | |
}, | |
"referrer": window.location.origin, | |
"referrerPolicy": "origin", | |
"body": "{\"name\":\"" + name + "\",\"i\":\"" + token + "\"}", | |
"method": "POST", | |
"mode": "cors", | |
"credentials": "omit" | |
}); | |
} | |
/** @author https://twitter.com/amex2189 */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment