-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
async function getName() { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
||
const response = await fetch('https://api.blooket.com/api/users/verify-token', { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
cocopops-alt
via email
|
||
method: "GET", | ||
headers: { | ||
"accept": "application/json, text/plain, */*", | ||
"accept-language": "en-US,en;q=0.9,ru;q=0.8", | ||
}, | ||
credentials: "include" | ||
}); | ||
const data = await response.json(); | ||
|
||
return data.name; | ||
}; | ||
|
||
async function addCurrencies() { | ||
const tokens = Number(prompt('How many tokens do you want to add to your account? (500 daily)')); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
||
|
||
if (tokens > 500) { | ||
alert('You can only add up to 500 tokens daily.'); | ||
}; | ||
|
||
const response = await fetch('https://api.blooket.com/api/users/add-rewards', { | ||
method: "PUT", | ||
headers: { | ||
"referer": "https://www.blooket.com/", | ||
"content-type": "application/json", | ||
}, | ||
credentials: "include", | ||
body: JSON.stringify({ | ||
addedTokens: tokens, | ||
addedXp: 300, | ||
name: await getName() | ||
}) | ||
}); | ||
|
||
if (response.status == 200) { | ||
alert(`${tokens} tokens and 300 XP added to your account!`); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
link5000000000000000000000000000
|
||
} else { | ||
alert('An error occured.'); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
link5000000000000000000000000000
|
||
}; | ||
|
||
}; | ||
|
||
addCurrencies(); |
10 comments
on commit 6578584
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesnt work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update pls
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry don't work but its a good idea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i dont work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
god
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
praise god
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks a lot
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does not work 🏢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does work but i cant buy blocks with it
what i do?