2021-07-31 03:58:29 +00:00
|
|
|
# afk
|
|
|
|
|
|
|
|
Go AFK
|
|
|
|
|
2022-01-25 16:31:47 +00:00
|
|
|
## Getting your token
|
|
|
|
|
|
|
|
Login to `minecraft.net`, then paste the following into your console:
|
|
|
|
|
|
|
|
```js
|
2022-01-25 17:54:46 +00:00
|
|
|
console.log(`; ${document.cookie}`.split(`; bearer_token=`).pop().split(';').shift());
|
2022-01-25 16:31:47 +00:00
|
|
|
```
|
|
|
|
|
2022-01-25 17:59:29 +00:00
|
|
|
Alternatively, use this bookmarklet:
|
|
|
|
|
|
|
|
```js
|
|
|
|
javascript:(() => {alert(`; ${document.cookie}`.split(`; bearer_token=`).pop().split(';').shift());})();
|
|
|
|
```
|
2022-01-25 17:54:46 +00:00
|
|
|
|
2021-07-31 03:58:29 +00:00
|
|
|
## License
|
|
|
|
|
|
|
|
[MIT](LICENSE)
|