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
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);}})();
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.
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 :)
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
Comment has been collapsed.
what says it when you won a key but you never received it?
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.
Comment has been collapsed.
It is in this one but sadly there are no stickies etc in here...
Comment has been collapsed.
Thank you! This makes checking up on my winners much more easier!
Comment has been collapsed.
16,311 Comments - Last post 8 minutes ago by Peiperissimus
12 Comments - Last post 13 minutes ago by adam1224
1,018 Comments - Last post 1 hour ago by sensualshakti
103 Comments - Last post 1 hour ago by adam1224
47,109 Comments - Last post 3 hours ago by ManOman
37 Comments - Last post 5 hours ago by Slvco
13 Comments - Last post 10 hours ago by lostsoul67
49 Comments - Last post 6 minutes ago by Kyog
6,286 Comments - Last post 8 minutes ago by Oppenh4imer
3,371 Comments - Last post 14 minutes ago by igel2005
8,003 Comments - Last post 15 minutes ago by hbarkas
102 Comments - Last post 20 minutes ago by Habaruku
1 Comments - Last post 28 minutes ago by ashtwo
2,550 Comments - Last post 28 minutes ago by MLD
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:
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
andTom Clancy's Splinter Cell Conviction™ Deluxe Edition
;-)Comment has been collapsed.