Print bookmarklet

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

View File

@ -10,7 +10,11 @@ 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:%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).
Alternatively, use this bookmarklet:
```js
javascript:(() => {alert(`; ${document.cookie}`.split(`; bearer_token=`).pop().split(';').shift());})();
```
## License