17 lines
457 B
Markdown
17 lines
457 B
Markdown
# afk
|
|
|
|
Go AFK
|
|
|
|
## Getting your token
|
|
|
|
Login to `minecraft.net`, then paste the following into your console:
|
|
|
|
```js
|
|
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) |