Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*Be aware that this method could potentially delete your Minecraft license. I used it on an alt, not my main. If you want to use this on your main account, be aware of the risks.
- Open your browser, and head to minecraft.net - make sure you are logged in. Then press Ctrl+Shift+I to open Developer tools/inspect. Click on console and paste the text below then hit enter. You should have the cape!!*/
- const mcToken = JSON.parse(localStorage.getItem('MCToken')).mcToken;
- fetch("https://net.web.minecraft-services.net/api/v1.0/grant/offer?offer=7118a7d5-240e-4f6d-8959-5269ba041938", {
- "headers": {
- "accept": "/",
- "accept-language": "en-US,en;q=0.9",
- "authorization": mcToken,
- "content-type": "application/json",
- "priority": "u=1, i",
- "sec-ch-ua-mobile": "?0",
- "sec-ch-ua-platform":"Windows",
- "sec-fetch-dest": "empty",
- "sec-fetch-mode": "cors",
- "sec-fetch-site": "cross-site"
- },
- "referrer": "https://www.minecraft.net/",
- "referrerPolicy": "strict-origin-when-cross-origin",
- "body": null,
- "method": "PUT",
- "mode": "cors",
- "credentials": "include"
- })
- .then(response => {
- console.log('Status Code:', response.status);
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement