STEAM GROUP
Sentinels of the Store StoreSents
STEAM GROUP
Sentinels of the Store StoreSents
290
IN-GAME
1,542
ONLINE
Founded
17 January, 2017
Language
English
 This topic has been pinned, so it's probably important
[Jave Code] Auto-Mark "Not Interested" (Verified by Moderators)
Hello folks. I hope you all find this helpful.

@Mods/Admins/Mellow: Change, edit, delete, move or whatever you wish with this information. I'm just trying to help out and "give back" a little to the group.
Thanks for the hard work you do. The shovelware/crapware that is allowed to flow through the store pisses me off, so the service the Group Announcements provide is greatly appreciated.

----------

I am not a coder and don't have any understanding, but it seems to work.

The Java code marks ALL RESULTS displayed on the Steam Search page as "not interested". So be careful if you get results outside your search interests. This is why I say below to search based on the developer or publisher name.


Code provided at end of the post.

Thanks to SotS, I now have a way to find and mark many of the Zombie/Unethical Devs and Publishers who push crapware through the Steam Store.

My goal was simply to speed up the process of marking all of these shady seller's products as "not interested" when viewing them in the Steam Search.

It became very tedious and time-consuming to mark/flag/check them 1 by 1 and store page by store page.

I reached out to a scriptwriter/author on Steamgifts.com for "a script" that would automate the process based on what was displayed on the store page, meaning a search based on the developer or publisher name.

The info below is what was provided and seems to work just fine as far as I can tell.

https://www.steamgifts.com/discussion/y9vVm/userscript-steam-web-integration-previously-steam-store-game-owned-checker/search?page=3#jnssgBm

Here is the meat of the info:
In your Web Browser (not steam client)

1) Go to <Steam Search Page>
* I suggest you find a game developer you don't like/want and search based on the dev or publisher name to get results.

Here is an example of a search result based on Developer
https://steamhost.cn/search/?developer=Ripknot%20Systems

2) Search for the games you want to ignore (you can search for devs/pubs)
3) Press F12 or open developer console on your browser
4) Go to (javascript) console
5) Paste the code I gave you in there and run it [Press Enter]
That should do it

This is the code string/line to paste into the Console

javascript:(function(){jQuery("#search_result_container [data-ds-appid]").each((i, elem) => jQuery.post("/recommended/ignorerecommendation/", { sessionid: g_sessionID, appid: jQuery(elem).data("ds-appid") }));})()


P.S.
If you find this helpful, don't thank me. Thank the Admins/Mods here on SotS and the writer of the script, Royalgamer06, over at Steamgifts.com :gearthumbsup: :) They are the ones doing all the heavy lifting. ;)
Last edited by Selective Oblivion; 7 Jan, 2018 @ 3:27pm
< >
Showing 1-15 of 28 comments
Ratchet 7 Jan, 2018 @ 3:09pm 
Here's a simple guide for it

1. Install TamperMonkey for Google Chrome
2. Goto https://github.com/Royalgamer06/SteamWebIntegration/blob/master/Steam%20Web%20Integration.user.js and click Raw
3. Install it via TamperMonkey (Clicking Raw will redirect to TamperMonkey)
4. Goto https://steamhost.cn/dynamicstore/userdata/ and make sure has a lot of numbers (if "rgOwnedPackages looks like "rgOwnedPackages": [] then refresh until you get numbers or re-login)
5. Go to Steam and search for a zombie developer
6. Hit F12 and run the code below. (WARNING: It will set all games to ignore on that page so make sure you aren't ignoring anything you might potentially buy like Prey/CSGO etc)

javascript:(function(){jQuery("#search_result_container [data-ds-appid]").each((i, elem) => jQuery.post("/recommended/ignorerecommendation/", { sessionid: g_sessionID, appid: jQuery(elem).data("ds-appid") }));})()
Thank you Carl

I did not realize the Code provided required the SteamWebIntergration script to function.
I assumed it would work independently of having the script installed.
Ratchet 7 Jan, 2018 @ 3:44pm 
Originally posted by ☕ Selecтιve Oвlιvιoɴ ☕:
Thank you Carl

I did not realize the Code provided required the SteamWebIntergration script to function.
I assumed it would work independently of having the script installed.

Unfortunatly not, it runs via the main script and requires it
Revadike 7 Jan, 2018 @ 3:51pm 
Originally posted by SSA Carl (Ratchet):
Originally posted by ☕ Selecтιve Oвlιvιoɴ ☕:
Thank you Carl

I did not realize the Code provided required the SteamWebIntergration script to function.
I assumed it would work independently of having the script installed.

Unfortunatly not, it runs via the main script and requires it
the code should work independently
Ratchet 7 Jan, 2018 @ 4:48pm 
Originally posted by Royalgamer06:
Originally posted by SSA Carl (Ratchet):

Unfortunatly not, it runs via the main script and requires it
the code should work independently
Really? I had errors without it
Revadike 8 Jan, 2018 @ 10:49am 
What kind of errors? It works normally on my end without my userscript enabled.

@OP I improved the code a bit:
javascript:(function(){jQuery(".search_result_row[data-ds-appid]:not(:hidden)").each((i, elem) => jQuery.post("/recommended/ignorerecommendation/", { sessionid: g_sessionID, appid: jQuery(elem).data("ds-appid") }));})()
Thanks again, Royalgamer.

It was working fine on my end, but I also have your script enabled.
ZygZag 9 Jan, 2018 @ 2:37am 
Originally posted by Royalgamer06:
Here, I made it into an userscript: https://greasyfork.org/en/scripts/37194-steam-store-search-results-actions

"Add to your wishlist" works like "Not interested"
and
"Not interested" works like "Add to your wishlist"
:lol:

Here is a mistake:

function wishlistResults() {
doAction(this, "/recommended/ignorerecommendation/");
}

and here:

function ignoreResults() {
doAction(this, "/api/addtowishlist/");
}
Last edited by ZygZag; 9 Jan, 2018 @ 2:39am
Revadike 9 Jan, 2018 @ 2:47am 
Originally posted by ZygZag:
Originally posted by Royalgamer06:
Here, I made it into an userscript: https://greasyfork.org/en/scripts/37194-steam-store-search-results-actions

"Add to your wishlist" works like "Not interested"
and
"Not interested" works like "Add to your wishlist"
:lol:

Here is a mistake:

function wishlistResults() {
doAction(this, "/recommended/ignorerecommendation/");
}

and here:

function ignoreResults() {
doAction(this, "/api/addtowishlist/");
}
Fixed
Originally posted by Royalgamer06:
Here, I made it into an userscript: https://greasyfork.org/en/scripts/37194-steam-store-search-results-actions

Thanks. Tried it and it works. Nice little graphic box too. :)

Might I make a suggestion... Change the wording to add the words "Actions for ALL search results" to the top of the box, or similar phrasing. Make it obvious (people forget over time) that by clicking any of those 3 options will take action on all displayed search results.
Provos 14 Jun, 2018 @ 10:10am 
A bit of Necro but I was looking for a script to help with this process.
.:G:. 4 Jul, 2018 @ 4:56am 
:facepalm:

That's JavaScript not Java.
Revadike 4 Jul, 2018 @ 6:15am 
Haha, yeah. Just noticed it too.
eidolon232 8 Aug, 2018 @ 11:58pm 
Thanks for the useful script! Is there a version available that works with all the search results instead of just the 25 games of the current page?
< >
Showing 1-15 of 28 comments
Per page: 1530 50