You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jolheiser 3f5ac4842a
Print bookmarklet
Signed-off-by: jolheiser <john.olheiser@gmail.com>
1 year ago
.gitignore Initial commit 2 years ago
LICENSE Initial commit 2 years ago
README.md Print bookmarklet 1 year ago
client.go Add M$ login 1 year ago
cook.go Add M$ login 1 year ago
go.mod Add M$ login 1 year ago
go.sum Add M$ login 1 year ago
main.go Add M$ login 1 year ago

README.md

afk

Go AFK

Getting your token

Login to minecraft.net, then paste the following into your console:

console.log(`; ${document.cookie}`.split(`; bearer_token=`).pop().split(';').shift());

Alternatively, use this bookmarklet:

javascript:(() => {alert(`; ${document.cookie}`.split(`; bearer_token=`).pop().split(';').shift());})();

License

MIT