Request from PsychoApeMan

Shows more info at entered giveaway page

  • Giveaway point value
  • Giveaway creator (even works with SG++ hover user info)
  • Giveaway level (added new column for level)
  • Giveaway type (added new column for type)(released in version 2)
  • Steam store page for each game

v4 supports SG++ and Ext SG endless scroll.
v6 supports created and won page as well

All features can be toggled on/off from the script (line 17-22). I haven't created a user interface for this.
By default, the script only shows data for running giveaways only (to reduce server load), but if you want, you can toggle this by changing value at line 17 to true (not recommended).
Saved data will be deleted if 1 hour has passed since the last time user access one of those pages.
And if the script fails to get data, it would be because the giveaway is deleted, or user is blacklisted, or not a group member anymore.

Download

The script requires :

To do list:

  • Interface to enable/disable features (although disabling default features doesn't improve performance, and enabling the script for ended giveaway will make it worse). This is why I didn't bother about user interface for this.

Screenshot

View attached image.
2 years ago*

Comment has been collapsed.

Wonderful, that works like a charm. You are, of course, a welcome addition to my whitelist :)

2 years ago
Permalink

Comment has been collapsed.

Wow thanks

2 years ago
Permalink

Comment has been collapsed.

Thanks, useful :-) +WL

2 years ago
Permalink

Comment has been collapsed.

Thank you
Glad you like it

2 years ago
Permalink

Comment has been collapsed.

thx it works ;)

2 years ago
Permalink

Comment has been collapsed.

you're welcome
glad you like it

2 years ago
Permalink

Comment has been collapsed.

Aww yis! Awesome add-on! Thanks a lot for making it! Now I'm only missing 1 bit of information... Type of giveaway. I'd love to see if it's invite only, group or public. If I accidentally leave an invite only giveaway, there's quite a chance I won't find it again, so I'd love to be able to see this on the entered list!
But, even without that, the add-on is still a great help! Thanks! :3

2 years ago
Permalink

Comment has been collapsed.

+1
Good point, seeing invite only would be very useful.

2 years ago
Permalink

Comment has been collapsed.

I actually intended to add this too, but then I forgot :D
I'm working on it

2 years ago
Permalink

Comment has been collapsed.

Updated. If the script shows undefined, do a factory reset.

2 years ago
Permalink

Comment has been collapsed.

Wooo! Thanks for the update! Now it almost has everything I need! Just a user interface to make it easier to use, although... I don't really need it :P

2 years ago
Permalink

Comment has been collapsed.

All the feature can be toggled on/off from the script (line 16-18). I haven't created a user interface for this. Should I?

Yes, because else we cannot change it and use update. Thank you very much for this script.

Could you also add info if the GAs are private, public or group/whitelist?

2 years ago
Permalink

Comment has been collapsed.

But.... T_T
Ok then, I have to experiment the user interface first.

Could you also add info if the GAs are private, public or group/whitelist

Done. it was asked by Shiri and I just published the update.
If the script shows undefined, do a factory reset.

2 years ago
Permalink

Comment has been collapsed.

You are the best! And what about sorting? It would be also very good. You could sort it by date entered or by chance to win (you would have to add column for chance to win).

2 years ago
Permalink

Comment has been collapsed.

Uhhh sorting...
And steamgifts time format is really weird @_@
I don't really know if I can make it.
This has lower priority than interface to toggle the feature. I'll do that first.

2 years ago
Permalink

Comment has been collapsed.

Hmm, I guess sorting would be nice, although it's not really a feature I need personally. Going for interface first seems like a good idea :3

2 years ago
Permalink

Comment has been collapsed.

OK and what about support of endless scrolling? Have you made it for this script? It seems to be a hard task but unfortunately without this feature the script would not work very well for users who uses scripts which add this feature to the entered GAs section. I will try your script later so I don't know

2 years ago
Permalink

Comment has been collapsed.

SG++ doesn't add endless scroll there, but Ext SG does.
Sigh...
Well, my other tags supports endless scroll, so I just have to copy the logic.
It's easier than sorting.

Ext SG also shows winning chance in that page, though it has problem with my script if Ext SG runs after this script.

EDIT: SG++ does support endless scroll there too. I didn't realize it was disabled in my setting.

2 years ago*
Permalink

Comment has been collapsed.

Yep, I also use Ext SG so that's why I am talking about it. :)

Please check these posts, maybe you could help us also there (with the support of endless scrolling).

2 years ago
Permalink

Comment has been collapsed.

Endorse, endless scrolling needed.

2 years ago
Permalink

Comment has been collapsed.

I don't know if you already have your own interface or not, but maybe you want to take a look at my RaChart Enhancer code, especially the interface related functions. I'll edit and link them later since I'm on bed and on the phone.

Basically, I struggle making any kind of interface or simply designing something, so I made it a while ago and I just re-use it on every script that needs an interface. You could easily change the overall looks so it has other colors or is bigger, etc. And then just get rid of everything but the base and start building what you need for your script from there, which is what Gaffi did for his script after I suggested him taking a look at my code for the interface. So feel free to use it if you want, I feel like the code for that interface is like open-source at this point lol

EDIT: Here it is. I got a bunch of functions to separate it and make it easier to debug, but basically, you'll want to take a look at injectDialog(), injectDlgStyle() and maybe injectRow(). The first one may seem complicated at first, but it isn't, I'm basically repeating the same steps over and over since I mostly need labels and inputs (either textarea or checkbox) for RCE so don't be afraid by all the lines. Except for the #dlg-background, #dlgbox,#dlg-headerand#dlg-body` you can pretty much remove everything else. You'll notice there are quite a few EventListeners down at the bottom, you are probably familiar with those, but basically, you may want to keep those that interact with the elements I mentioned before since those are for closing the interface, so unless you want to implement your own unique way of closing it those should do.

As for injectDlgStyle(), it adds the style as you may have guessed. Buttons have their own style as well, take a look at the RCE interface if you don't know what I mean. I don't recommend you touch the whole transformation properties, since those are there to mimic the button being clicked, but if you don't like the current style you can always change it. You can also change the color for the box/header/body changing or adding stuff into that array.

injectRow() basically creates a new row for one of the links in the header and adds it. It's not really perfect, since I hardcoded a lot of stuff when I should have just used things like getElementsBy..., but it works for adding an element under the Discussions box in the header, even though you might want to change that and inject it somewhere else in the header, or not even in the header.

2 years ago*
Permalink

Comment has been collapsed.

Sorry I got a very long blackout yesterday, and It was already over 9 p.m when the electricity back, and I just went to sleep.

Thanks for the source code and the explanation. Will take a look.
I saw your RaChart script and Gaffi Whitelist Inventory script. They use a pop up dialog to enter necessary data with textboxes. Though for this script, it only needs 5 checkboxes to toggle 5 features..
I personally prefer to use SG element and CSS classes, just because it'll feel natural and supports SG userstyle. I use MuIIy's dark theme.
But then again, if by any chance, the script grows and need more user input, your interface will do better job .

2 years ago
Permalink

Comment has been collapsed.

Very nice. TYVM for this!

2 years ago
Permalink

Comment has been collapsed.

You're welcome

2 years ago
Permalink

Comment has been collapsed.

Fantastic.
But it somehow interfere with your SG Game tag script.
1st image - using minimalist style.
2nd image - using original style

View attached image.
View attached image.
2 years ago
Permalink

Comment has been collapsed.

Oops. I don't use minimalist setting.
Sorry, will fix this ASAP.

2 years ago
Permalink

Comment has been collapsed.

You make our SG experience so much better. No need to be sorry.
We need to thank you!

View attached image.
2 years ago
Permalink

Comment has been collapsed.

OK fixed in version 3

ehehehe thank you

View attached image.
2 years ago
Permalink

Comment has been collapsed.

View attached image.
2 years ago
Permalink

Comment has been collapsed.

Fantastic! =)

2 years ago
Permalink

Comment has been collapsed.

Thank you

2 years ago
Permalink

Comment has been collapsed.

Thankies!

2 years ago
Permalink

Comment has been collapsed.

You're welcome

2 years ago
Permalink

Comment has been collapsed.

FYI
A somewhat thorough test showed "undefined" type on my first page. "Public" and "Invite only" types on the next pages are correct.
Refreshed a bunch of times, log off and on, but still "undefined" only on the first page.
Is it only me and any idea why?

2 years ago
Permalink

Comment has been collapsed.

Oh I forgot to write that in the description
Do a factory reset to delete all saved data. or just don't open that page for 1 hour :D

2 years ago
Permalink

Comment has been collapsed.

View attached image.
2 years ago
Permalink

Comment has been collapsed.

Very useful, thanks, but what do you mean by a factory reset? Hopefully something short of restarting the browser...

2 years ago
Permalink

Comment has been collapsed.

I can't find it in Firefox's Greasemonkey.
This is the screenshot for Chrome's Tempermonkey.

View attached image.
2 years ago
Permalink

Comment has been collapsed.

I'm on Firefox but I guess just disabling and re-enabling it should do the trick.

2 years ago
Permalink

Comment has been collapsed.

nice script! Thanks

2 years ago
Permalink

Comment has been collapsed.

Awesome!!

And a small request, can you add a store page link to the picture preview?

2 years ago
Permalink

Comment has been collapsed.

Thanks! It's works with extended script :)
+WL

2 years ago
Permalink

Comment has been collapsed.

^^ nice & ty, worx beautifully =)

2 years ago
Permalink

Comment has been collapsed.

WOW!!!
You have done an outstanding job, Ruphine, and are a great addition to the SG community!
I got all I need! :) Thank you very much! :)))
WL goes without saying, ofc :)

2 years ago
Permalink

Comment has been collapsed.

Bump!

Another thing IMO that should be build-in site from the start.

2 years ago
Permalink

Comment has been collapsed.

awesome one, thanks :)

2 years ago
Permalink

Comment has been collapsed.

This is great, thank you very much! :)

2 years ago
Permalink

Comment has been collapsed.

Sorry guys if I don't reply to your comments thanking me.
Instead of replying each comments, I'll just write them into this comment.

Thanks for all the compliment and you're welcome :D

And I created this script from PsychoApeMan's request, so it is originally his idea.
He deserves a thank you too. :D
I just agree with his suggestion and I happened to have a spare time yesterday.

2 years ago
Permalink

Comment has been collapsed.

Sweet, thank you!

2 years ago
Permalink

Comment has been collapsed.

You're doing an awesome job :3.

2 years ago
Permalink

Comment has been collapsed.

Works perfectly!

2 years ago
Permalink

Comment has been collapsed.

Thank you very much it's works perfectly and it's a welcome add-on:) Great work!

2 years ago
Permalink

Comment has been collapsed.

can you add option of 'already owned'? in times when there's new bundle out, entering (and winning) same game is possible

2 years ago
Permalink

Comment has been collapsed.

"owned" will be a feature in my other script v3.3.

I've already done the logic part. I just need more time for testing. Will be updated next week.

2 years ago
Permalink

Comment has been collapsed.

<3 YES , less fear of winning a game i got for myself and asking a poor gifter to go thru the process of re-rolling!

2 years ago
Permalink

Comment has been collapsed.

thank u :), very nice script :). thumb up

2 years ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.