This topic has been locked
</Payloadz> Aug 10, 2022 @ 2:56am
How to remove all favorites items
I noticed that it is extremely difficult to unfavorite items in large quantities besides always going to each item one at a time (for example - favorited artwork that you no longer want there).

So I made a script that will help out with this timely and torturous task.

1. Login to steam via browser (preferably firefox - haven't tested with Chrome yet)

2. Go to the location of the Favorited items (For example grid view of favorite artwork) and then open up "Inspect Element"

3. From there open up the console and paste the following code

//pass the contents found on page into the ImageList variable var ImageList = document.querySelectorAll('a[href*="https://steamcommunity.com/sharedfiles/filedetails/?id"]') //compare the ImageList length to x for (let x = 0; x < ImageList.length; x++) { let ID = ImageList[x].search.substring(4) let APPID = ImageList[x].dataset.appid //send post request to unfavorite items on page $J.post( 'https://steamcommunity.com/sharedfiles/unfavorite' , { 'id' : ID, 'appid' : APPID, 'sessionid' : g_sessionID }); } //refresh page setTimeout(function(){ window.location.reload() },1000);

What this script does is find the 'id' and 'appid' of those favorited items, and then sends a post request to unfavorite everything that it finds on that specific page.

Once you run that, you will notice that all of the images on page 1 of the pictures on grid view should've been removed.

Will likely need to re-run multiple times to keep removing earlier favorites
Last edited by </Payloadz>; Aug 10, 2022 @ 4:29am

Something went wrong while displaying this content. Refresh

Error Reference: Community_9708323_
Loading CSS chunk 7561 failed.
(error: https://community.cloudflare.steamstatic.com/public/css/applications/community/communityawardsapp.css?contenthash=789dd1fbdb6c6b5c773d)
Showing 1-3 of 3 comments
Pebblewulff Feb 7, 2024 @ 11:03am 
Awesome, worked like a charm, although I increased the timeout to 5 seconds. The page was refreshing before all the posts had completed, leaving unsubscribed items on the page. The extra delay allowed the posts to complete and only subscribed items were loaded.
</Payloadz> Feb 20, 2024 @ 4:03am 
Originally posted by smith.rupert:
Awesome, worked like a charm, although I increased the timeout to 5 seconds. The page was refreshing before all the posts had completed, leaving unsubscribed items on the page. The extra delay allowed the posts to complete and only subscribed items were loaded.

Forgot that I'd posted this. Glad to see it's of use to others :hrx_pip: Soon to be 2 years later and still surprised steam hasn't implemented a better solution for this.
Steven Feb 20, 2024 @ 6:01am 
This thread was quite old before the recent post, so we're locking it to prevent confusion.
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Aug 10, 2022 @ 2:56am
Posts: 3