Add bookmarklet

Signed-off-by: jolheiser <john.olheiser@gmail.com>
master
jolheiser 2022-01-25 11:54:46 -06:00
parent 619c2f1750
commit 59deae7889
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 3 additions and 1 deletions

View File

@ -7,9 +7,11 @@ Go AFK
Login to `minecraft.net`, then paste the following into your console:
```js
console.log(`; ${document.cookie}`.split(`; bearer_token=`).pop().split(';').shift())
console.log(`; ${document.cookie}`.split(`; bearer_token=`).pop().split(';').shift());
```
Alternatively, use this [bookmarklet](javascript:%28%28%29%20%3D%3E%20%7Balert%28%60%3B%20%24%7Bdocument.cookie%7D%60.split%28%60%3B%20bearer_token%3D%60%29.pop%28%29.split%28%27%3B%27%29.shift%28%29%29%3B%7D%29%28%29%3B).
## License
[MIT](LICENSE)