[UserScript] SteamGifts Trades - Have List Filter

ALTERNATE VERSION

This uses barter.vg instead: https://greasyfork.org/en/scripts/382106-steamtrades-have-list-filter-barter-vg

INTRODUCTION

I got fed up with Compare2Steam's shitty performance (especially for those with larger libraries) and after I went through their code and saw how absolutely horrible it was, I decided to make something similar it myself, but better. My main focus is speed, performance, accuracy and being userfriendly. I went for an userscript, because it can provide these things. The initial code was actually rather easy to write. It will only improve from here, with more accuracy, features and special cases. See it in action here.

FEATURES

  • Checks the Have-list in trade topics for owned steam games
  • Checks the Have-list in trade topics for wishlisted steam games
  • Clever game detecting algorithm
  • Ignores everything between brackets and text after "="
  • Display descriptive icons in front of each (un)owned game in the Have-list
  • Add steam store or steamdb search link after each unowned or unknown game in the Have-list
  • Add steam store or steamdb link to game after each owned or wishlisted game in the Have-list
  • Ability to copy unowned/unknown games to clipboard

DOWNLOAD

INSTRUCTIONS

  1. Download and install Tampermonkey for your browser
  2. Download the userscript above
  3. (Optional) Configure your preferred settings in the code
  4. Hit install when asked
  5. Visit any trade topic and click on the "(Filter)" next to "I have..."
  6. Allow cross-domain access when asked
  7. Enjoy!

FAQ

How can it be so fast?
I am actually ignoring Steam AppID's altogether and only check with game names.
Yes, that may cause some inaccuracy, but I don't think that much.

Why doesn't it work for me?
I don't know. Be sure to contact me and provide me the log/error from the JavaScript console, if there is any.

Can I suggest a feature?
Yes, absolutely!

CHANGELOG

Version 1.4

  • Now gets owned games from enhanced steam's api, instead of the broken xml method
  • Now adds links to steam store or steamdb of owned/wishlisted games
  • Now freezes page much less than before

Version 1.1

  • Added support for wishlist
  • Now ignores everything after "="
  • Now also ignores everything between [ and ]

Version 1.0

  • Many improvements to the code
  • Made it compatible with the new SteamTrades
  • Added an option to search in SteamDB instead of Steam Store
  • Finally fixed everything turning lowercase
  • Renamed it slightly (SteamGifts Trades --> SteamTrades)
  • Other changes I don't remember

Version 0.3

  • Now remembers owned steam games and only checks again per set interval
  • Filtering now requires user action first

Version 0.1

  • initial release

CREDITS

View attached image.
4 years ago*

Comment has been collapsed.

Seems nice for people. I wish there was a User Scripts category on SteamGifts, though (to easily see all of what's offered without searching 'script' or what else could be relevant)

edit: I also realized a lot of people who use SteamTrades don't use SteamGifts so it might be harder for them to find out about it (since I saw a 'thread' get made for it there just now)

double edit: Is there a way to add a few specific games to some list that you want (and probably with a new icon?)? Basically, a short list of games you actively look to trade for but don't necessarily have on your wishlist. I hope this is clear since sometimes it seems my messages may not be.

3 years ago*
Permalink

Comment has been collapsed.

There is a list with all userscripts for SteamGifts here.
I already made a topic on SteamTrades, which is automatically bumping every hour here.
You can check custom have-lists, just by editing your own trade topic or create a temporary new one.

3 years ago
Permalink

Comment has been collapsed.

I know, but the list requires it to be community (mostly topic creator) maintained to keep it up to date. Just wishful thinking for convenience given that so many people make scripts. I don't think it's a problem for anyone, but it's nice to have things in one place (yes, I know it already is basically)

How long do you plan to bump that topic for if you're going to do it every hour?

3 years ago
Permalink

Comment has been collapsed.

Indefinitely

3 years ago
Permalink

Comment has been collapsed.

thank you! and here's a bump for you :D

3 years ago
Permalink

Comment has been collapsed.

Thanks!

3 years ago
Permalink

Comment has been collapsed.

3 years ago
Permalink

Comment has been collapsed.

Firefox?

3 years ago
Permalink

Comment has been collapsed.

Yes.

3 years ago
Permalink

Comment has been collapsed.

Yeah, I already tried looking for the issue on Firefox, but I just can't find it. There is also no errors/warnings in the console.
If I execute the piece of code that shows the Filter button manually, it works just fine on Firefox.
So I don't know...

3 years ago
Permalink

Comment has been collapsed.

Hope you'll find a solution soon. Script looks super useful if it works for comments as well. When someone gives you long list of games - would be very nice to see which ones you own already

3 years ago
Permalink

Comment has been collapsed.

Found the problem: You need to have Tampermonkey. Other userscript addons don't work properly.

3 years ago
Permalink

Comment has been collapsed.

Great script, Good Job!

P.S. This might be out of topic and someone has probably already talked about it, but I wanted to mention about your giveaway website. I mean I understand to get something for free we have to sacrifice something but I just dont find it safe. Would you mind explaining the reason of having to login with all 3 accounts in order to get a key from your giveaway? Appreciate it

3 years ago
Permalink

Comment has been collapsed.

Yes, of course. Logging in doesn't actually give your credentials to me. It is called OAuth. With this I can use the API (dev stuff) to do things automatically, like follow someone when you press "Follow Royalgamer06". I use this to verify your identity in order to prevent fraud (people taking multiple keys) as well as completing steps and checking them. I do not save any other private information from you apart from your IP and ID's for the above reasons.

3 years ago
Permalink

Comment has been collapsed.

Thank you for the clarification :)

3 years ago
Permalink

Comment has been collapsed.

No problem

3 years ago
Permalink

Comment has been collapsed.

I don't know if someone has mentioned this before but when I have the script running (Chrome) and try to edit my trade post after clicking the edit button once I'm done it changes to the loading one like it usually does but that's it, it doesn't actually save. I deactivated the script and tried again and it worked just fine.

3 years ago
Permalink

Comment has been collapsed.

Hmm that's odd. I just edited my trade topic and it saved just fine. Are you sure it's my script?

3 years ago
Permalink

Comment has been collapsed.

I'm quite sure, yes, cause it only happens when I have the script activated, as soon as I deactivated I can edit it just fine.

3 years ago
Permalink

Comment has been collapsed.

good job.

3 years ago
Permalink

Comment has been collapsed.

i try it on ff and nothing happens

3 years ago
Permalink

Comment has been collapsed.

my test showed me not owning it.

View attached image.
3 years ago
Permalink

Comment has been collapsed.

strange, i try even reload browser, but nothing happens

3 years ago
Permalink

Comment has been collapsed.

Found the problem: You need to have Tampermonkey. Other userscript addons don't work properly.

3 years ago
Permalink

Comment has been collapsed.

ow, i hope greasemonkey will work

is this both monkeys can be run in same time?

3 years ago
Permalink

Comment has been collapsed.

Yeah you should be able to run both.

3 years ago
Permalink

Comment has been collapsed.

Pretty slick-- thank you. Almost makes me wish I didn't delete so many crappy/free games from my library. =)

3 years ago
Permalink

Comment has been collapsed.

You shouldn't have. Look where I ended up. Over 3000 games in my library, almost all free :)

3 years ago
Permalink

Comment has been collapsed.

doesnt work on greasemonkey?

3 years ago
Permalink

Comment has been collapsed.

No, use tampermonkey

3 years ago
Permalink

Comment has been collapsed.

Include jQuery and it should work.

3 years ago
Permalink

Comment has been collapsed.

Bump

3 years ago
Permalink

Comment has been collapsed.

It's great when it does work. Unfortunately for me, 99% of the time I get a timeout, and an error 503 Service Unavailable message: "The Steam Community is currently unavailable. Please try again later."

3 years ago
Permalink

Comment has been collapsed.

hmm, that sucks. I have over 3K games and it still works. 6K may be the limit.
You could try chrome 64-bit. I heard it has more javascript memory.
Maybe there are some other tricks I can use in the code.

3 years ago
Permalink

Comment has been collapsed.

I'm already running on 64-bit Chrome. This seems to be related to the Steam community being unable to handle the load more than a memory problem.

3 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 5 days ago.

3 years ago
Permalink

Comment has been collapsed.

Yeah, like Sighery said, it's Valve's fault. I can't fix that.

3 years ago
Permalink

Comment has been collapsed.

Yeah, unfortunately the only somewhat reliable API from Valve is the dynamicstore userdata and it will only provide the AppID

3 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 5 days ago.

3 years ago
Permalink

Comment has been collapsed.

Much appreciated but it's not always accurate. Mostly it is. :)

3 years ago
Permalink

Comment has been collapsed.

I try my best to be as accurate and reliable as possible. It's impossible to be 100% accurate when not working with AppID's.
Thanks for the appreciation though!

3 years ago
Permalink

Comment has been collapsed.

This is pretty great! Would love for it to give a different icon for Unknown than it does for unowned, though. That would be valuable information.

3 years ago
Permalink

Comment has been collapsed.

Currently, it doesn't know the difference between unowned or unknown. :/
I may be able to find out a way to do this.
Thanks for the bump though.

3 years ago
Permalink

Comment has been collapsed.

You are welcome. Thank you very much for creating it. Between using this on their "haves", and using this to export my wishlist to text and then copypasta-ing to my trade, I've finally got Steamtrades working like I think it should. :D

3 years ago
Permalink

Comment has been collapsed.

Great :)

3 years ago
Permalink

Comment has been collapsed.

Thank you for it!

3 years ago
Permalink

Comment has been collapsed.

Cheers!

3 years ago
Permalink

Comment has been collapsed.

I was genuinely amazed when I found this script. Sadly, many lists are too complicated for it. Would it be possible to make the script check hyperlinks if it doesn't find any results? To only check first column if there is a table?

3 years ago
Permalink

Comment has been collapsed.

Yeah, I already had this idea to also check for store.steampowered.com links. I will look into implementing it, once I have time.

3 years ago
Permalink

Comment has been collapsed.

Hello, can anyone prove work on Mozilla Firefox? using Greasemonkey, but dont see Filter button on pages.

3 years ago
Permalink

Comment has been collapsed.

Please read up. Try tampermonkey.

3 years ago
Permalink

Comment has been collapsed.

I really like this script. One problem I have is when people put the games in tables, which happens a lot it seems.
I had to make this change to work on my side: http://pastebin.com/2zEaUzej

Good job making it!

3 years ago
Permalink

Comment has been collapsed.

Nice one, thanks!

3 years ago
Permalink

Comment has been collapsed.

On your ST thread, I saw that you have two scripts, one for checking the text against owned/wishlisted, and one for checking links. Well, on my trade, both work...and mine are all links. I don't know if that means anything (other than that people should cut it out with the fancy formatting and bullets and such) but just thought I'd let you know.

https://www.steamtrades.com/trade/UkDfK/hday-of-the-tentacle-else-heartbreak-shantae-and-the-pirates-etc-w-lots-of-games-listed

3 years ago
Permalink

Comment has been collapsed.

Nice job man! Thx

3 years ago
Permalink

Comment has been collapsed.

Thanks!

3 years ago
Permalink

Comment has been collapsed.

not working on firefox

3 years ago
Permalink

Comment has been collapsed.

Try the new update

3 years ago
Permalink

Comment has been collapsed.

working now, thnx

3 years ago
Permalink

Comment has been collapsed.

Awesome!

3 years ago
Permalink

Comment has been collapsed.

this looks really good thanks, but sadly when i click the button i am not prompted for anything, it just spins, i have installed both scripts and they seem fine, but this step does not happen "Allow cross-domain access when asked" any ideas ? :) i do have a fair few games however? using chrome.. keep up the great work

3 years ago*
Permalink

Comment has been collapsed.

The first time may take a while, since you have much games. Once your library is loaded it will stay in cache until you update it.
It doesn't ask for cross domain access, because I am using // @connect steamcommunity.com

3 years ago
Permalink

Comment has been collapsed.

tried it on 2 different machines, left it for an hour and still spinning, shame it wont work

3 years ago
Permalink

Comment has been collapsed.

sent u a trade on barter

3 years ago
Permalink

Comment has been collapsed.

sorry had to decline, not interested in dlc

3 years ago
Permalink

Comment has been collapsed.

hey, is there any way to include/exclude games, i.e. special editions, or games such as else heart.break() with brackets in the title?

3 years ago
Permalink

Comment has been collapsed.

Glad you fixed it and it's now working great on Firefox! GG

3 years ago
Permalink

Comment has been collapsed.

Glad to hear!

3 years ago
Permalink

Comment has been collapsed.

Thanks for the script, I'm really loving it!

Just wondering if you can help me with something... I've been using it on Google Chrome and recently (the last day or two) it doesn't tell me if I own any games on Steamtrades. It will tell me if games are wishlisted, but everything is listed as "not owned" now. Any advice to fix that?

Thanks again!

3 years ago
Permalink

Comment has been collapsed.

Try clearing cache of browser.

3 years ago
Permalink

Comment has been collapsed.

Tried it, but still nothing. I also tried uninstalling the script, clearing the cache, and reinstalling it. Still nothing. Seems to be doing the same thing on Firefox. Weird.

3 years ago
Permalink

Comment has been collapsed.

It's steam's fault. For some reason your xml game page http://steamcommunity.com/id/swaquino4tw/games/?xml=1 is crashing

3 years ago
Permalink

Comment has been collapsed.

shakes fist in the air "Gaaaaaabeeeeeen!!!" ...Ok. thanks for the help, I wonder if it is something that will fix itself on its own (hopefully).

3 years ago
Permalink

Comment has been collapsed.

Version 1.4

  • Now gets owned games from enhanced steam's api, instead of the broken xml method
  • Now adds links to steam store or steamdb of owned/wishlisted games
  • Now freezes page much less than before
3 years ago
Permalink

Comment has been collapsed.

nice, is working well
thx for that

3 years ago
Permalink

Comment has been collapsed.

Cheers!

3 years ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.