Last active
March 16, 2023 20:57
-
-
Save dannycreations/c77a805962bd61fbc45b94491802ee85 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://steamcommunity.com/id/<username>/edit/favoritebadge | |
// https://www.reddit.com/r/Steam/comments/his7lt/how_to_remove_featured_badge/ | |
const formData = new FormData() | |
formData.append('input_protobuf_encoded', '') | |
const token = JSON.parse(document.getElementById('application_config').readAttribute('data-loyaltystore')).webapi_token | |
await fetch('https://api.steampowered.com/IPlayerService/SetFavoriteBadge/v1?access_token=' + token, { method: 'POST', body: formData }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment