As some of you might know, knsys extended his real CV calculator to also include a checker for unactivated gifts. Seeing how this is something I usually wanna do with people who win my GAs, I thought a link on all userpages would be useful. Add to this the fact that I recently started playing around with userscripts and you arrive at this little userscript that just adds some entries to the navbar.

I tested it using Tampermonkey in Chrome and Greasemonkey in Firefox and both seem to work... Can't really think about anything that should cause any incompatibility cause I'm only doing some very basic stuff.

Nothing impressive, but I thought I'd share it none-the-less... I thought about trying to get it added to SG++, but they use a weird framework I never heard of and was to lazy to research.

If you find any problems, have ideas what else could be added there, ... just drop me a line!


And just to reiterate:

As you'll read on each section, steam API has some bugs that may result in an inaccurate non-activated detection

There are some rare cases where some steam games are not recognized as owned (Ex: some Serious Sam games)

It's hard to figure our which games are affected by this problem, from very personal experience it's triggers at least for Serious Sam HD: The Second Encounter and Tom Clancy's Splinter Cell Conviction™ Deluxe Edition ;-)

View attached image.
View attached image.
8 years ago*

Comment has been collapsed.

hey.. there was a thread which listed all the user scripts..do you know what was the title of that thread?

8 years ago
Permalink

Comment has been collapsed.

THANK YOU!!!!! that's the one :)

8 years ago
Permalink

Comment has been collapsed.

^tip

8 years ago
Permalink

Comment has been collapsed.

8 years ago
Permalink

Comment has been collapsed.

O... K? I don't get it

8 years ago
Permalink

Comment has been collapsed.

Very handy. Now I just hope for the future this time I'll remember how to add userscripts to Tampermonkey. :D

8 years ago
Permalink

Comment has been collapsed.

Hi :D

Knsys updated his site to check for multiple wins of the same game as well. Is there any way of implementing it into your script? (which is IMHO great, so thanks for contributing into making this site a better place :D)

8 years ago
Permalink

Comment has been collapsed.

Huh, wasn't aware that that was something of interest, i.e. did not expect that to happen often enough to be worth checking for, but adding a link is no problem ... Done :-D

8 years ago
Permalink

Comment has been collapsed.

Wow thanks a lot for quick response!

It's really a lot easier to check winners of GA using this tool ^_^

8 years ago
Permalink

Comment has been collapsed.

Googled my feelings about this script, and this is the first result that popped up. Oh well.

View attached image.
8 years ago
Permalink

Comment has been collapsed.

Really useful tool, thank you:)

8 years ago
Permalink

Comment has been collapsed.

Was looking for such a thing... Thx!

View attached image.
8 years ago
Permalink

Comment has been collapsed.

Is there any way to make that script separate from Tampermonkey? I found that some sites i use runs unstable when Tampermonkey is on, even without any scripts running. So i forced to delete it.

8 years ago
Permalink

Comment has been collapsed.

This is not my usual area of expertise so I can just offer some random ideas...

Seeing how this is just some simple code you could just create a bookmarklet from it. i.e. create a bookmark and enter one of the the following as the location. Then, clicking on the bookmark while on a user profile should create new windows/tabs with the relevant steamtooks.tk page.

This one opens four windows:

javascript:(function(){ var elems = document.getElementsByTagName('*'); var steam; var steamgift=/.*www.steamgifts.com\/user\/([^/]*)(\/|$).*/.exec(window.location.href)[1]; for (i in elems) { if(elems[i].parentNode && elems[i].parentNode.href && elems[i].parentNode.href.indexOf("steamcommunity.com/profiles/") > -1 ){ var steamlink=elems[i].parentNode.href; steam=steamlink.substring(steamlink.lastIndexOf("/")); } } if (steam && steamgift) { window.open("http://www.sgtools.tk/sent/"+steamgift); window.open("http://www.sgtools.tk/won/"+steamgift); window.open("http://www.sgtools.tk/nonactivated/"+steamgift+steam); window.open("http://www.sgtools.tk/multiple/"+steamgift); }})();

This one has three of the "window.open" at the end removed so it only display the non activated page cause this one seems to be the one of most interest...

javascript:(function(){ var elems = document.getElementsByTagName('*'); var steam; var steamgift=/.*www.steamgifts.com\/user\/([^/]*)(\/|$).*/.exec(window.location.href)[1]; for (i in elems) { if(elems[i].parentNode && elems[i].parentNode.href && elems[i].parentNode.href.indexOf("steamcommunity.com/profiles/") > -1 ){ var steamlink=elems[i].parentNode.href; steam=steamlink.substring(steamlink.lastIndexOf("/")); } } if (steam && steamgift) {window.open("http://www.sgtools.tk/nonactivated/"+steamgift+steam);}})();
8 years ago
Permalink

Comment has been collapsed.

Hmm, I somehow get an error.

8 years ago
Permalink

Comment has been collapsed.

At what stage/what error? i.e. installation or usage, and if usage, what page?

8 years ago
Permalink

Comment has been collapsed.

When I try to install it.
I get a Windows Script Host error.

8 years ago
Permalink

Comment has been collapsed.

8 years ago
Permalink

Comment has been collapsed.

Ohh, I didn't notice that. Stupid me.

View attached image.
View attached image.
8 years ago
Permalink

Comment has been collapsed.

View attached image.
8 years ago
Permalink

Comment has been collapsed.

Eh... That's what happens if you just open the file in Windows...

You should first install Tampermonkey or Greasemonkey (depending on if you use Chrome or Firefox) which activates userscript support, and then you can install it by just clicking the button on the page.

8 years ago
Permalink

Comment has been collapsed.

View attached image.
8 years ago
Permalink

Comment has been collapsed.

Thanks for this wonderful script. Just wanted to let you know that the game Call of Duty®: Modern Warfare® 3 gives a false positive.

8 years ago
Permalink

Comment has been collapsed.

Always happy to meet a happy user, but my script actually just does the buttons on Steamgifts... Problems like that are handled by
knsys in this thread :)

8 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 5 years ago.

8 years ago
Permalink

Comment has been collapsed.

I've updated the domain to a real (paid) one, can you change the script to point to www.sgtools.info please?

8 years ago
Permalink

Comment has been collapsed.

After having read that the domain was making problems I was thinking about just entering the IP into the script, but this was is also good. :-) Hope it's not too expensive.

Update has been submitted

8 years ago
Permalink

Comment has been collapsed.

Good work. Suggestion, can you update links with inverted listed info or maybe add option to change it? From new down to old.

8 years ago
Permalink

Comment has been collapsed.

In theory? Sure, easy. But I have no idea how to do options nicely in userscripts so either I would have to hardcode it or it would be some time for me to figure it out...

8 years ago
Permalink

Comment has been collapsed.

Sorry to make you work, but CG just changed profiles and now it shows steam url to not logged-in users, so now not activated checker does not need the second parameter steamid.

The tool will still accept the second parameter but will ignore it, the new way to use it is like this: http://www.sgtools.info/nonactivated/knsys

8 years ago
Permalink

Comment has been collapsed.

No problem. The way I got the steam ID was icky anyway and this saved me having to think about a nicer way to code it :-)

8 years ago
Permalink

Comment has been collapsed.

what says it when you won a key but you never received it?

8 years ago
Permalink

Comment has been collapsed.

This actually belongs over in the other thread, seeing how I just made the buttons ;)

But I think I can answer that: As long as you marked it as "not received" that should be no problem. Those are just ignored.

8 years ago
Permalink

Comment has been collapsed.

This script makes checking winners using SGtools very easy. Thank you for creating and maintaining it!

8 years ago
Permalink

Comment has been collapsed.

Thank you for the script, it saves me a little time :3

8 years ago
Permalink

Comment has been collapsed.

Hi SilentGuy,

I was thinking in having a flag on sgtools giveaway creation to make it "public". That would mean that people will see it in their dashboard even without trying to enter it and that there would be an api to retrieve all public running GA.

Are you interested on creating or extending this user script to list all those giveaways in the main page? On a section like the promoted ones or something like this. This way giveaways mean to be public using sgtools will get more exposure.

8 years ago
Permalink

Comment has been collapsed.

Oh my... Sounds like the actual displaying might be beyond me, I'm more of a random dabbler, never really gotten around to proper website design... But I might give it a go, sure :)

8 years ago
Permalink

Comment has been collapsed.

Thanks for this. Really useful.

8 years ago
Permalink

Comment has been collapsed.

Bunping because this should be added to the userscript table topic for easier access.

8 years ago
Permalink

Comment has been collapsed.

It is in this one but sadly there are no stickies etc in here...

8 years ago
Permalink

Comment has been collapsed.

I'm blind then. I had to install a new browser on the four PCs I use seven times in the past month, and I swear even though I combed through that list, I never found it. x_X

8 years ago*
Permalink

Comment has been collapsed.

It uses sgtools.tk and it has stopped working for me. Is it possible to add/replace sgtools.info domain instead of old one!

8 years ago
Permalink

Comment has been collapsed.

huh, that has been updated ages ago. Tampermonkey and Greasemonkey both should have auto updates for scripts, but if that did not happen, maybe manually reinstall?

8 years ago
Permalink

Comment has been collapsed.

:P

Yeah, i'm really lazy!. Updated and problem solved. Thank you!

8 years ago
Permalink

Comment has been collapsed.

Just a short notice
Steamgifts is now https, so the script isn't running.

And I haven't thank you for the script

Thank you

8 years ago
Permalink

Comment has been collapsed.

Thanks for pointing this out. That also explains why so many of the other scripts I have are not working right now :)

Fixed

8 years ago
Permalink

Comment has been collapsed.

Thank you for the script, SilentGuy. Saves time and clicks.

7 years ago
Permalink

Comment has been collapsed.

Thank you! This makes checking up on my winners much more easier!

7 years ago
Permalink

Comment has been collapsed.

Thanks for bumping, I totally forgot that it might be a good idea to advertise from time to time :D

7 years ago
Permalink

Comment has been collapsed.

It's in the official scripts repository thread, so it should get some hits from there at least.

7 years ago
Permalink

Comment has been collapsed.

Haha, no problem!

7 years ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.