This topic has been locked
L 6 Jul, 2020 @ 11:45pm
I can't remove my profile badge. Help!
Since they released the new steam update, there are many errors in the case that when I leave a game and I want to talk to my friend, the steam tab does not open, I have to start the game so that the wse menu appears and what I do not like is that I can't remove my profile badge
< >
Showing 1-15 of 18 comments
MalikQayum 7 Jul, 2020 @ 2:37am 
Setting the Favorite / Featured Badge back to none.
go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info
open dev tools (chrome press f12)
paste the below code snippet.

var access_token = $J("[data-loyaltystore]").data("loyaltystore").webapi_token; var badgeid = 0; SetFavoriteFeaturedBadge(access_token, badgeid); function SetFavoriteFeaturedBadge(access_token, badgeid) { $J.post( 'https://steamhost.cn/api_steampowered_com/IPlayerService/SetFavoriteBadge/v1?', { access_token: access_token, badgeid: badgeid }); }

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2241771269
Last edited by MalikQayum; 14 Apr, 2023 @ 12:50am
かぐや 7 Jul, 2020 @ 3:57am 
Originally posted by MalikQayum:
Setting the Favorite / Featured Badge back to none.
go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info
open dev tools (chrome press f12)
paste the below code snippet.

var access_token = ""; var badgeid = 0; if (window.location.href.indexOf("steampowered") > -1) { access_token = $J("[data-loyaltystore]").data("loyaltystore").webapi_token; } else if(window.location.href.indexOf("steamcommunity") > -1) { access_token = JSON.parse($J("#profile_edit_config").attr("data-profile-edit")).webapi_token; SetFavoriteFeaturedBadge(access_token, badgeid); } else { console.log("go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info"); SetFavoriteFeaturedBadge(access_token, badgeid); } function SetFavoriteFeaturedBadge(access_token, badgeid) { $J.post( 'https://steamhost.cn/api_steampowered_com/IPlayerService/SetFavoriteBadge/v1?', { access_token: access_token, badgeid: badgeid }); }

Wow! This actually worked. Thank you!
edit: I don't use Chrome. This works on other browsers as well.
Last edited by かぐや; 7 Jul, 2020 @ 3:58am
rider 7 Jul, 2020 @ 3:57am 
Originally posted by MalikQayum:
Setting the Favorite / Featured Badge back to none.
go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info
open dev tools (chrome press f12)
paste the below code snippet.

var access_token = ""; var badgeid = 0; if (window.location.href.indexOf("steampowered") > -1) { access_token = $J("[data-loyaltystore]").data("loyaltystore").webapi_token; } else if(window.location.href.indexOf("steamcommunity") > -1) { access_token = JSON.parse($J("#profile_edit_config").attr("data-profile-edit")).webapi_token; SetFavoriteFeaturedBadge(access_token, badgeid); } else { console.log("go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info"); SetFavoriteFeaturedBadge(access_token, badgeid); } function SetFavoriteFeaturedBadge(access_token, badgeid) { $J.post( 'https://steamhost.cn/api_steampowered_com/IPlayerService/SetFavoriteBadge/v1?', { access_token: access_token, badgeid: badgeid }); }
This works, go to https://steamhost.cn/steamcommunity_com/my/edit/info and copy the code into console (press f12). Thanks to @MalikQayum for this fix
tanjil 7 Sep, 2020 @ 3:08am 
Originally posted by MalikQayum:
Setting the Favorite / Featured Badge back to none.
go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info
open dev tools (chrome press f12)
paste the below code snippet.

var access_token = ""; var badgeid = 0; if (window.location.href.indexOf("steampowered") > -1) { access_token = $J("[data-loyaltystore]").data("loyaltystore").webapi_token; } else if(window.location.href.indexOf("steamcommunity") > -1) { access_token = JSON.parse($J("#profile_edit_config").attr("data-profile-edit")).webapi_token; SetFavoriteFeaturedBadge(access_token, badgeid); } else { console.log("go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info"); SetFavoriteFeaturedBadge(access_token, badgeid); } function SetFavoriteFeaturedBadge(access_token, badgeid) { $J.post( 'https://steamhost.cn/api_steampowered_com/IPlayerService/SetFavoriteBadge/v1?', { access_token: access_token, badgeid: badgeid }); }
Thanks a lot
Zyks 16 Sep, 2020 @ 1:43am 
Originally posted by MalikQayum:
Setting the Favorite / Featured Badge back to none.
go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info
open dev tools (chrome press f12)
paste the below code snippet.

var access_token = ""; var badgeid = 0; if (window.location.href.indexOf("steampowered") > -1) { access_token = $J("[data-loyaltystore]").data("loyaltystore").webapi_token; } else if(window.location.href.indexOf("steamcommunity") > -1) { access_token = JSON.parse($J("#profile_edit_config").attr("data-profile-edit")).webapi_token; SetFavoriteFeaturedBadge(access_token, badgeid); } else { console.log("go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info"); SetFavoriteFeaturedBadge(access_token, badgeid); } function SetFavoriteFeaturedBadge(access_token, badgeid) { $J.post( 'https://steamhost.cn/api_steampowered_com/IPlayerService/SetFavoriteBadge/v1?', { access_token: access_token, badgeid: badgeid }); }
Thanks
000 17 Sep, 2020 @ 5:22am 
Originally posted by MalikQayum:
Setting the Favorite / Featured Badge back to none.
go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info
open dev tools (chrome press f12)
paste the below code snippet.

var access_token = ""; var badgeid = 0; if (window.location.href.indexOf("steampowered") > -1) { access_token = $J("[data-loyaltystore]").data("loyaltystore").webapi_token; } else if(window.location.href.indexOf("steamcommunity") > -1) { access_token = JSON.parse($J("#profile_edit_config").attr("data-profile-edit")).webapi_token; SetFavoriteFeaturedBadge(access_token, badgeid); } else { console.log("go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info"); SetFavoriteFeaturedBadge(access_token, badgeid); } function SetFavoriteFeaturedBadge(access_token, badgeid) { $J.post( 'https://steamhost.cn/api_steampowered_com/IPlayerService/SetFavoriteBadge/v1?', { access_token: access_token, badgeid: badgeid }); }

♥♥♥♥♥♥♥ legend thankyou so much
Rush 4 Dec, 2020 @ 9:27pm 
Originally posted by MalikQayum:
Setting the Favorite / Featured Badge back to none.
go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info
open dev tools (chrome press f12)
paste the below code snippet.

var access_token = ""; var badgeid = 0; if (window.location.href.indexOf("steampowered") > -1) { access_token = $J("[data-loyaltystore]").data("loyaltystore").webapi_token; } else if(window.location.href.indexOf("steamcommunity") > -1) { access_token = JSON.parse($J("#profile_edit_config").attr("data-profile-edit")).webapi_token; SetFavoriteFeaturedBadge(access_token, badgeid); } else { console.log("go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info"); SetFavoriteFeaturedBadge(access_token, badgeid); } function SetFavoriteFeaturedBadge(access_token, badgeid) { $J.post( 'https://steamhost.cn/api_steampowered_com/IPlayerService/SetFavoriteBadge/v1?', { access_token: access_token, badgeid: badgeid }); }
Thank you, It worked
woz 10 Jan, 2021 @ 2:41am 
Originally posted by MalikQayum:
Setting the Favorite / Featured Badge back to none.
go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info
open dev tools (chrome press f12)
paste the below code snippet.

var access_token = ""; var badgeid = 0; if (window.location.href.indexOf("steampowered") > -1) { access_token = $J("[data-loyaltystore]").data("loyaltystore").webapi_token; } else if(window.location.href.indexOf("steamcommunity") > -1) { access_token = JSON.parse($J("#profile_edit_config").attr("data-profile-edit")).webapi_token; SetFavoriteFeaturedBadge(access_token, badgeid); } else { console.log("go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info"); SetFavoriteFeaturedBadge(access_token, badgeid); } function SetFavoriteFeaturedBadge(access_token, badgeid) { $J.post( 'https://steamhost.cn/api_steampowered_com/IPlayerService/SetFavoriteBadge/v1?', { access_token: access_token, badgeid: badgeid }); }
thank you, it worked been searching for this for a while now )
w; 4 May, 2021 @ 1:44pm 
bumping this old thread and saying THANKS.
Abel 13 Apr, 2023 @ 6:17am 
Hello, I have a problem, when i put this command, he responding me with this:

https://imgur.com/a/ZxLWQZM

Originally posted by MalikQayum:
Setting the Favorite / Featured Badge back to none.
go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info
open dev tools (chrome press f12)
paste the below code snippet.

var access_token = ""; var badgeid = 0; if (window.location.href.indexOf("steampowered") > -1) { access_token = $J("[data-loyaltystore]").data("loyaltystore").webapi_token; } else if(window.location.href.indexOf("steamcommunity") > -1) { access_token = JSON.parse($J("#profile_edit_config").attr("data-profile-edit")).webapi_token; SetFavoriteFeaturedBadge(access_token, badgeid); } else { console.log("go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info"); SetFavoriteFeaturedBadge(access_token, badgeid); } function SetFavoriteFeaturedBadge(access_token, badgeid) { $J.post( 'https://steamhost.cn/api_steampowered_com/IPlayerService/SetFavoriteBadge/v1?', { access_token: access_token, badgeid: badgeid }); }

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2241771269
L 13 Apr, 2023 @ 8:58am 
Originally posted by Slendy:
Hello, I have a problem, when i put this command, he responding me with this:

https://imgur.com/a/ZxLWQZM

Originally posted by MalikQayum:
Setting the Favorite / Featured Badge back to none.
go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info
open dev tools (chrome press f12)
paste the below code snippet.

var access_token = ""; var badgeid = 0; if (window.location.href.indexOf("steampowered") > -1) { access_token = $J("[data-loyaltystore]").data("loyaltystore").webapi_token; } else if(window.location.href.indexOf("steamcommunity") > -1) { access_token = JSON.parse($J("#profile_edit_config").attr("data-profile-edit")).webapi_token; SetFavoriteFeaturedBadge(access_token, badgeid); } else { console.log("go to: https://steamhost.cn/points/shop or https://steamhost.cn/steamcommunity_com/my/edit/info"); SetFavoriteFeaturedBadge(access_token, badgeid); } function SetFavoriteFeaturedBadge(access_token, badgeid) { $J.post( 'https://steamhost.cn/api_steampowered_com/IPlayerService/SetFavoriteBadge/v1?', { access_token: access_token, badgeid: badgeid }); }

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2241771269





https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2947375220
Abel 13 Apr, 2023 @ 12:18pm 
Ye, I resolved the problem with this video:

https://www.youtube.com/watch?v=lyAcznaYDsg

:steamhappy:
MalikQayum 14 Apr, 2023 @ 12:49am 
here is a proper fix:

var access_token = $J("[data-loyaltystore]").data("loyaltystore").webapi_token; var badgeid = 0; SetFavoriteFeaturedBadge(access_token, badgeid); function SetFavoriteFeaturedBadge(access_token, badgeid) { $J.post( 'https://steamhost.cn/api_steampowered_com/IPlayerService/SetFavoriteBadge/v1?', { access_token: access_token, badgeid: badgeid }); }

they have removed the access token from the elements attribute so it can no longer be accessed that way.
JSON.parse($J("#profile_edit_config").attr("data-profile-edit")).webapi_token;

however it can be accessed the same way it does from the store page.
$J("[data-loyaltystore]").data("loyaltystore").webapi_token;

so we can just set the access_token from the beginning now.

I have also updated the the initial post.
Last edited by MalikQayum; 14 Apr, 2023 @ 12:51am
SpaceRabbit 28 May, 2023 @ 7:20pm 
Thanks
Garth52 31 Aug, 2023 @ 10:24pm 
Works as of 08/31/23

Thanks!
< >
Showing 1-15 of 18 comments
Per page: 1530 50