This topic has been locked
Kevin Yew 13 Jun, 2017 @ 2:33am
16
9
4
2
11
5
4
7
3
3
3
2
51
How to reset "Not Interested" list
Finally updated!
Hi all.

I've noticed this thread is still getting a lot of attention, so I've come back and fixed up the script for the 3rd time. I noticed some people mentioning it wasn't working anymore, mainly because Steam decided to change the format of the applist from an array to an object, which broke everything.

Usage
Grab the code from this pastebin link: https://pastebin.com/nEbyeFLj (updated link), go to any Steam page, such as https://steamhost.cn/account/notinterested/, and paste the code into your Developer Tools Console (hit F12 > Console > Paste & Enter Key). It will then check how many games are on the list, and confirm with you before it clears it. If you've got a long list of games like mine, it will take a little bit to clear, so look at the console status messages for a progress report of how long it is taking. It will come up with a message when it is finished.

At the top of the script is a variable, PAUSE_INTERVAL, which is the number of milliseconds between each request. I have set it to 500 (half a second), however feel free to increase this if you are still getting rate limited by steam.

Security reminder: Normally I wouldn't want people to get into the habit of pasting JavaScript code into their browser, as it can be very dangerous and do virtually anything if you don't know what it does, so please look through the code yourself and check that it is safe. Don't paste code in that people send you unsolicited. If there was any easier way to do this, it would be great, but unfortunately there isn't.

If there's any other handy scripts like this people need me to make, just leave a comment or send me a message. Cheers!

Warning
Some people have reported getting an 'Access Denied' message after running the script on thousands of games. I didn't experience this when I originally created the script, but it seems Steam has implemented some anti-spam features since then. I have updated the script to include a short, half a second timeout (you can change this interval if you want by changing the value of PAUSE_INTERVAL at the top), and also ensuring that two requests will never be sent at the same time. Hopefully this will avoid people being temporarily unable to access Steam.

EDIT As requested, I have now added a script to clear a wishlist as well (https://pastebin.com/jN2EZAi5). There is also a browser extension called Enhanced Steam that will allow you to do this, but this script will allow you to do it without having to install anything.
Last edited by Kevin Yew; 15 Apr, 2023 @ 7:22am
< >
Showing 1-15 of 94 comments
Kevin Yew 14 Jun, 2017 @ 4:59pm 
Originally posted by XAXAXA:
Hey, thanks for the script. I was wondering do you happen to have one for your wishlist as well? I've been adding games but there are a lot of them I'm simply not interested in anymore, but going through each one of them is gonna be a pain.
No worries, added to the post as an edit.
Chickentango 22 Jun, 2017 @ 5:21am 
Thanks!
David 21 Jul, 2017 @ 3:17am 
This works well - good job! I was getting frustrated that I couldn't find anything on the store page.
cragarion 6 Aug, 2017 @ 1:12am 
Hi i press f12 and nothing happens ?
Kevin Yew 6 Aug, 2017 @ 7:45pm 
Originally posted by cragarion:
Hi i press f12 and nothing happens ?
Which browser are you using? I personally recommend Chrome or Firefox, but the developer console still comes up for me in Edge or Internet Explorer. In Chrome, you can also go Menu > More Tools > Developer Tools.
cragarion 7 Aug, 2017 @ 1:16am 
Managed to open the console but all i ever get is:

var totalItems;
var completedItems;
resetQueue();

function resetQueue() {
//Perform initial request
jQuery.get("https://steamhost.cn/dynamicstore/userdata/", {t: new Date().getTime()}, function(data) {
totalItems = data.rgIgnoredApps.length;
completedItems = 0;
if (totalItems == 0) {
alert("There are no items in your Not Interested list.");
return;
} else {
var approval = confirm("About to remove " + totalItems + " games from your Not Interested list, proceed?");
}
if (!approval) {
return;
}
for (i = 0; i < totalItems; i++) {
jQuery.post("https://steamhost.cn/recommended/ignorerecommendation/", {sessionid: g_sessionID, appid: data.rgIgnoredApps, remove: 1}, function() {
completedItems++;
console.log(completedItems + "/" + totalItems + " items removed");
if (completedItems === totalItems) {
alert("All items cleared from Not Interested list.");
}
}).fail(function() {
console.error("Request failed, your Steam session id is probably incorrect/invalid, reload the page and try again");
});
}
}, "json").fail(function() {
console.error("There was an error retrieving your Discovery Queue");
});
}
Kevin Yew 13 Aug, 2017 @ 2:48am 
Originally posted by cragarion:
Managed to open the console but all i ever get is:

Yeah, that's the code you pasted in. Just hit the enter key after you've pasted it to run it.
Porkmancer 18 Aug, 2017 @ 11:29pm 
Worked like a charm! Thank's a lot - saved me a bunch of clicking.
Bambucha` 10 Oct, 2017 @ 7:38am 
Awesome, thank you for the script, saved me from retarded clicking.
Tova 19 Oct, 2017 @ 1:10pm 
<3
LukaLovre 25 Oct, 2017 @ 10:09am 
Thx a bunch!!!!
AmyMialee 23 Nov, 2017 @ 12:35pm 
Thanks a lot, this needs a bump for the Autumn and upcoming Winter Sales
nuk3meister 23 Nov, 2017 @ 6:46pm 
Just came to say thanks! Big help!:steamhappy:
Kevin Yew 11 Mar, 2018 @ 1:19am 
No worries mate, I'm from Australia too ;)
Jodian 19 Mar, 2018 @ 4:09pm 
Script worked perfectly... Actually kept refreshing the page in Steam and watched my "Not Interested" titles drop from over 2000 until it hit ZERO. Thanks!
Last edited by Jodian; 19 Mar, 2018 @ 4:09pm
< >
Showing 1-15 of 94 comments
Per page: 1530 50

Date Posted: 13 Jun, 2017 @ 2:33am
Posts: 94