I installed the wonderful UserScript SteamGifts Plus, but I was still missing some features that I needed, so I created a new script to work with SteamGifts Plus to add yet more features.

Screenshot

Features

  • Add a Steam Link on the main giveaway page: I need a quick link to the Steam Store to view game info.
  • Show user feedback status, depending on vote percentage: Green if 100%, Orange is above 50%, Red if below 50%, Gray if the user has no votes yet (enhanced in v1.2).
  • Show points in title bar, updated every minute.
  • Show game category* (new since v1.2)
  • Show supported platforms* (new since v1.2) - credit goes to thulinma
  • Hide user avatars

Notes:

  • supported only on Chrome with tampermonkey and Firefox.

Updates

  • v1.0 Initial Release
  • v1.1 Fixed to work with Firefox
  • v1.2 Add new features, optimize code.
  • v1.3 Better way to extract Genre and even supports multiple genres

Installation

You can find my script at Userscripts.org: SteamGifts Plus - Extras Addon

This script works with:

  • Chrome + Tampermonkey extension: all features are supported, this is how I use my script to browse SteamGifts. (tampermonkey is similar to Greasemonkey for Firefox, it offers 1 click installation of scripts directly from userscripts.org, and supports automatic update).

  • Firefox + Greasemonkey: tested it for a while, seem to work just like Chrome + Tampermonkey.

  • Chrome native (drag/drop to the Extensions page): Does not support the features that require fetching information from the Steam website (game category and supported platforms), the rest seems to work fine.

It would be great if these features gets integrated with the main SteamGifts Plus, as it makes my script better instead of depending on workarounds to intercept dynamic paging. Or if SteamGifts+ release the API they are working on, I can plug into their extension to make my script better.

Issues

  • Grid view is not supported, soon it might be.

Dev notes

The main issue with the script is that it need to execute (at most) 2 ajax page loads for each game, which if calculated for a the first view of the site, which has 40 app per = 80 background calls, and they used to be executed at the same time, causing the browser to slowdown/freeze and later some connections to be dropped due to many connection to the server.

Since v1.2 I implemented a fetch queue to get X pages at a time, and it seems to handle the traffic better. For now I set the maximum numbers of connection to 20, maybe this can be made automatic depending on the connection speed.

Anyway, the fetching occurs only the first time a game or user is encountered, after that it is cached locally, if you refresh the page the links and trusted users are shown immediately.

In v1.2 I also found a way to fetch information from the 4rd party sites, such as the category of the game, and the supported platforms, but this works only in Firefox and Chrome if installed via Tampermonkey, Chromes native extension system doesn't allow fetching pages for cross domain.

Coming soon (on a browser near you)**:

  • Compatibility with the Grid view
  • Settings menu to enable/disable the various options
  • ...
11 years ago*

Comment has been collapsed.

very nice :)
thanks!

11 years ago
Permalink

Comment has been collapsed.

Your first point is invalid, click on "Steam Store" when viewing a giveaway and it will redirect to the Steam store :P

Edit: Didn't try the extension, so correct me if you think of something else :P

Edit 2: Ooooh, the maaaain page! Alright xD

11 years ago
Permalink

Comment has been collapsed.

Fucking awesome. Certainly that feature of the Steam link i often want to check stuff, and i HATE the extra clicks.

11 years ago
Permalink

Comment has been collapsed.

In the code you will find traces to extract the game category from the Steam website, but it is not working. I did this because I am mainly interested in Strategy games, that's why I added the Steam link in the first place.

11 years ago
Permalink

Comment has been collapsed.

Not sure what you are trying to say, but i dont get the script to work.

oh well

11 years ago
Permalink

Comment has been collapsed.

Maybe because it's wrapped inside a "if (false)" condition? ^^

11 years ago
Permalink

Comment has been collapsed.

it does not work, but instead of removing it completely, i just added if false, so it never runs.

11 years ago
Permalink

Comment has been collapsed.

Cross-Domain request won't work, even if you set "crossDomain" to "true".
Because you'r already targeting Tampermonkey, you can use this function: GM_xmlhttpRequest.

11 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

11 years ago
Permalink

Comment has been collapsed.

"Show trusted users (users with 100% feedback) in green/bold, borrows from other users scripts."

I actually suggested this a while ago, great :D

11 years ago
Permalink

Comment has been collapsed.

Hmm for some reason it doesn't work for me :(
I'm using Chrome.

11 years ago
Permalink

Comment has been collapsed.

Same here.

I m having a shitload of problems with chrome lately. I just loged in from Firefox cause i couldnt comment from chrome.Happend three times today.I couldnt log in to facebook, issues with loging in on steam and so on...i think i have to change browser again.

11 years ago
Permalink

Comment has been collapsed.

I have no other problems with chrome, just this one.
@OP yes I have tampermonkey and it says script is running, but it does nothing..

11 years ago
Permalink

Comment has been collapsed.

Not working for me on Chrome either.

11 years ago
Permalink

Comment has been collapsed.

As said above, you can easily install it with TamperMonkey extension, one click on the site.

11 years ago
Permalink

Comment has been collapsed.

i can install. only nothing happens

11 years ago
Permalink

Comment has been collapsed.

I left the site and came back several minutes later and it appears to be working now. Is there a way to turn back on the user avatars or do I have to edit the script myself?

*NVM. I figured it out. Thanks for the good work!

11 years ago
Permalink

Comment has been collapsed.

Nice one, installed straight away! :D

11 years ago
Permalink

Comment has been collapsed.

Installed, thanks.

11 years ago
Permalink

Comment has been collapsed.

well i used the notepad to save as .js and added it to chrome. It didn't work. Anything I might have done wrong?

11 years ago
Permalink

Comment has been collapsed.

you can easily install it with TamperMonkey extension, one click on the site.

11 years ago
Permalink

Comment has been collapsed.

Oh thank you. That is usefull!

Edit: Perfect! It is working now, thank you.

11 years ago
Permalink

Comment has been collapsed.

Not working for me in Firefox 24 :( Tried reinstalling it and it still won't work. I'll have a tweak and see if I can get it functioning.

11 years ago
Permalink

Comment has been collapsed.

Doesn't work for me either (Firefox)

11 years ago
Permalink

Comment has been collapsed.

Sadly I have to agree. The script is activated and even logging in the console but there is nothing on the website itself that changes.
Edit: I even tried it with all addons deactivated except for Greasemonkey.

11 years ago
Permalink

Comment has been collapsed.

Works fine here. Very useful, thanks. I'm using Opera 16.

11 years ago
Permalink

Comment has been collapsed.

Good job, mate!

11 years ago
Permalink

Comment has been collapsed.

some names even if they are 100% they are not green. like this for example http://www.steamgifts.com/user/Defias

11 years ago
Permalink

Comment has been collapsed.

Sometimes you need to wait for it to load, as in the background it is doing a lot of ajax calls.

11 years ago
Permalink

Comment has been collapsed.

That seems not to be the case and I cannot understand what might be wrong.

Screenshot

befaria is 100% and this is taken 5 mins after the page loaded.

11 years ago
Permalink

Comment has been collapsed.

Interesting.

11 years ago
Permalink

Comment has been collapsed.

sorry I just saw yours first :D

11 years ago
Permalink

Comment has been collapsed.

Firefox 23.0.1. Using with Greesemonkey, and it's doing absolutely nothing. Can only see the regular SteamGifts Plus changes.

11 years ago
Permalink

Comment has been collapsed.

Same here.

11 years ago
Permalink

Comment has been collapsed.

Good job :D

11 years ago
Permalink

Comment has been collapsed.

Thank you for this :)

11 years ago
Permalink

Comment has been collapsed.

The main giveaway pages do have Steam links. What does this add?

I'd love to be able to enter a giveaway or go to the Steam page from the hover card (what shows up when you hover over a giveaway).

Hopefully this stuff gets added to the proper SG+. Others with Firefox aren't having good luck and I won't compromise on my browser or use two.

11 years ago
Permalink

Comment has been collapsed.

This adds store links to the main site page which lists the giveaways so you don't have to click through into the giveaway and then back out again afterwards

11 years ago
Permalink

Comment has been collapsed.

Ah, okay. Thanks. Hopefully it gets added to SG+ then.

11 years ago
Permalink

Comment has been collapsed.

This is a nice addon!
Too bad I have to install tampermonkey to make it run ( installing it from tools->extensions as you do with sgplus does not work )

11 years ago
Permalink

Comment has been collapsed.

What's the issue with installing it this way, honestly?

Makes you click a couple times more?

11 years ago
Permalink

Comment has been collapsed.

Less stuff( extensions ) I have to install, the better I feel.I hate bloat, and the tampering monkey seems like one to me.
I currently have 2 addons on chrome,that says a lot I think..

11 years ago
Permalink

Comment has been collapsed.

Nice.

But the new tab opening style is annoying, it should always open a new tab instead of overwriting the last opened tab... so use the link target to "_new" instead of "_steamLink".

11 years ago
Permalink

Comment has been collapsed.

Can be done, or you can just middle click on the link (with the mouse wheel), this opens a new page in all browsers.

11 years ago
Permalink

Comment has been collapsed.

"Add a Steam Link on the main giveaway page: I need a quick link to the Steam Store to view game info." Do want.

I don't like the hiding avatars feature though =(

11 years ago
Permalink

Comment has been collapsed.

Can I make a suggestion? I think it would be much more awesome if you used a mutation observer instead of an interval to update the window title when the points change. This code seems to work on Firefox, but I'm too lazy to log in and test on chrome so let me know how it goes ,)

11 years ago
Permalink

Comment has been collapsed.

Thanks, good piece of code. I knew that jquery is awesome, now it is more :)

11 years ago
Permalink

Comment has been collapsed.

I uploaded v1.1 to Userscripts.com, now it seems to work with Firefox too (was missing the @require jquery), give it a try and let me know the result.

11 years ago
Permalink

Comment has been collapsed.

Firefox user. Installed via Greasemonkey (happened automatically at the site).

Points in page/tab title works. What's the star? Mine says "(8P)* Win Steam Gifts or Create a Givea...".

It's loading giveaways I can't enter. One is a wishlist giveaway. Others aren't.

Steam Store links only show up on the main page in list view, not grid view (on the hover card, I would imagine). It's not hiding user avatars in either view. (This isn't a feature I would want, I'm just saying. Maybe you can put this as an option in Filter Settings?)

Not seeing any other changes.

Thanks for supporting Firefox!

edit: Everyone's name is changed to "NaNP." Avatars are left alone.

11 years ago
Permalink

Comment has been collapsed.

It is working perfectly (chrome). Thank you it is great!

11 years ago
Permalink

Comment has been collapsed.

First off I want to thank you and tell you to take the time you need for it. We can be happy people like you are sacrificing their time for us at all, nobody has the right to push you. :) That said I will now come to suggestions and bugs.

  1. I know it already has been reported, but I want to point it out again. Not every name is coloured green if the user has 100% feedback. To me it seems random, there where users with 100% but awaiting feedback, some without awaiting feedback. It would furthermore be nice to know if there is only green and standart or if they are tiered in yellow/orange/red/something else. Couldn't find enything else yet.

  2. I would suggest (if possible) to have the Steam store link a bit lower. Just a cosmetic change, so it fits the height of the name of the game. Preview

  3. It was reported that the name of the giveaway creator changes to "NaNP". This only applies to grid view, I have no problems in list view. But when changing from grid to list view the list sometimes gets bugged, apparently by not hiding the avatar. Preview

  4. Since you brought up the idea of automatically refreshing the points in title bar. Would it be possible to automatically refresh the whole site, too?

  5. You have stated above that you are thinking about makeing a settings page. Suggestions for it would be: hiding avatar (on/off), colours and percentage for names (e.g. "green >= 90%", "red <= 50%"), intervall for refreshing points and page (seperatly).

Thanks again. Have a nice day. :)

11 years ago
Permalink

Comment has been collapsed.

Thanks for your message.

I have been working on a new version of my script, to optimize it and add some new features that I want to see on SteamGifts.com

One of the problems that could cause the issue of some usernames not being highlighted is that upon loading the page, the script need to execute (at most) 2 ajax page loads for each app, which means 40 app per page = 80 background calls, and they used to be executed at the same time, causing the browser/internet to freeze and some connections to be dropped, and not to mention the traffic on the server. In the new version I implemented a queue to get X pages at a time, and it seems to handle the traffic better.

Anyway, this occurs only the first time a user/game is encountered, after that it is cached locally, if you refresh the page the links and trusted users are shown immediately.

Now I also found a way to fetch information from the steam website, such as the category of the game, and the supported operating systems (Check screenshot), but this works in Firefox and Chrome if installed via Tampermonkey, Chromes native extension system doesn't support it.

I will finish these 2 things and release a version soon.

In the next version I will make the script compatible with the Grid view, and try to add options screen (Which for the moment don't know how to do, if somebody want to give a hand in developing this extension, I will be glad)

11 years ago
Permalink

Comment has been collapsed.

Sounds awesome, good job!

11 years ago
Permalink

Comment has been collapsed.

v1.2 has been released to userscripts.org

Tested on Chrome with tampermonkey and Firefox. did not try chrome native.

11 years ago
Permalink

Comment has been collapsed.

Pretty cool. Keep it up.

11 years ago
Permalink

Comment has been collapsed.

Closed 10 years ago by maestroit.