Screenshots: Giveaway Entry, Filtered Comments, Unfiltered Comments, Options: Comment, Options: Filter

The Steamgifts Giveaway Improvement Script was originally designed to automatically thank the giveaway's creator when entering their giveaway; Saving you both time, and making sure you remain polite; But has evolved into much more. It is now a general efficiency improvement tool for everything to do with the giveaway page of Steamgifts.com. It comments and enters a GA with a single form submit, halving the amount of server communications time it can take to both enter and comment on a single giveaway. The script also makes the site slightly more stable when the site is particularly laggy and unresponsive. Specifically, because it uses AJAX requests; If one fails it can tell, and the script just sends another one, and so on and so forth until the request gets through. Additionally, you can specify a number of End Behaviors to perform, after you have entered into a giveaway, including closing the tab.

The script first looks for any content in the page's comment box, and will use that if it is available. Otherwise, it uses whatever custom comment you have set, or just defaults to "Thanks!", if one is not available. When the script submits a comment it records this, and stores an expiring data point to remember not to auto comment if you re-enter this giveaway. You can also set a specific "end behavior", to perform after submittal of both the comment and entrance into the giveaway (e.g., close the page).

The script is also built with a filter specifically designed to recognize other auto thank comments, as well as a host of other generic thanks spam. Filtering them out, and adding them to the "thanked" summery. So you can personalize and lengthen your default comment as much as you want, while still having it filtered out as generic "thanks" spam. The filter ignores your own comments, but will filter out all default auto thank comments, while leaving the personalized ones (read: comments that you wrote for a specific giveaway). When the script encounters replies, it only filters out the entire comment tree if every single comment is considered spam, otherwise the entire tree is left intact. While viewing the comments, or through the options menu, you can add more messages to filtered list, or more authors to the whitelist.

Another major feature is the Markdown toolbar. Steamgifts uses the Markdown language to style and format comments. This first version of the toolbar only includes two features, but they can make using Markdown far easier. One button converts the selected (or entire comment) from HTML to Markdown, and by default strips out any remaining HTML code as well. Meaning you can create links, list, or bold text using HTML code, and one click of this button will convert it to Markdown. The other button simply strips out HTML code, useful if you are copy pasting.

This entire project, and in particular the auto comment feature, was inspired by BarefootMonkey's Thank Filter Userscript. Additionally, the visual style of BarefootMonkey's "thanked" summery is almost copied for my own.
The HTML to Markdown conversion is done using Dom Christie's to-markdown JS engine, copyright © 2011 Dom Christie and released under the MIT license.

(Options will not take effect on any current pages, until they are reloaded)

Compatibility:

Designed and tested on Chrome, using the Tampermonkey extension.

  • Firefox - Does not work, and I cannot get it to work. This project needs a Firefox expert to port it. If you are interested in giving it a try, please contact me.

  • SteamGifts Plus - Some minimal testing. Appears to be compatible.

  • Help Needed - If it works for you, or does not work for you, in any unlisted ways, please let me know.

Version History:

  • Version 2.3 – Added fully featured, and customizable filter system. Preload options. Fixed some bugs, improved stability. Moved options link to option in "Account" dropdown; Changed page to "/giveaway/improvement". As well as a bunch of really nessesary little features to improve normal commenting. Two buttons arounds the comment box to make using the markdown easier; One to conver HTML to markdown, and anouther to strip out html code. Added in reset to default buttons for all text options. (August 24th, 2013)

  • Version 2.1.1 – FIX: Page closing by default. (August 7th, 2013)

  • Version 2.1 – CHANGED: Name, some wording in about page changed. ADDED: highlight options link when in options page. (August 7th, 2013)

  • Version 2.0 – Complete code redesign and many features added. Code stabilized, improved, modularized, and documented. Designed to be feature complete (aka, have all the necessary features, but nothing fancy or particularly involved). (August 7th, 2013)

  • Version 1.X – Original design and release of the Auto Thank Script. Many rapid updates were released to stabilize and improve basic design. All it did was comment "Thanks." every time you entered a giveaway. It worked, but had ragged, patchwork, code. Latter versions tried to prevent double comments. (August 2th, 2013)

Potential Future Updates:

  • Expand the Markdown toolbar.

  • A mark/badge to denote that you have already commented on this current giveaway.

  • When script launched for the first time or newly updated, show About page.

  • Add more End Behavior features.

  • Keep points up to date on all pages.

  • Check for new replies, and show in menu bar.

  • Add in support for special tags, that would be replaced by the gifter's name, the giveaway name, etc.

  • Add in support for multiple different auto comments, and allow user to select one when entering giveaways/commenting.

  • Add support for more special tags to select and insert from a randomly chosen one from a range of other auto comments.

  • Add support for simple IF/else special tags for use within the comments.

  • Allow support for templates. Comments that are designed to be added to (e.g., signatures).
    (Submit any suggestions, bugs, or compatibility information to the Official Steamgifts Giveaway Improvement Script)

Links:

11 years ago*

Comment has been collapsed.

the world just gets lazier and lazier

11 years ago
Permalink

Comment has been collapsed.

I guess thanks?

Also tested and it doesnt work with SG+. Which thank god it doesnt.

11 years ago
Permalink

Comment has been collapsed.

Note: Apparently this only worked for my account, until just now.
No idea if this works with SG+.

11 years ago
Permalink

Comment has been collapsed.

Thanks

11 years ago
Permalink

Comment has been collapsed.

thanks for ruining the purpose of this site...

11 years ago
Permalink

Comment has been collapsed.

the purpose of the site is to get free games, I don't see how this ruins it

11 years ago
Permalink

Comment has been collapsed.

You must have made to a few blacklist for this comment.

11 years ago
Permalink

Comment has been collapsed.

Yup. I'm sure he has.

11 years ago
Permalink

Comment has been collapsed.

A gift implies someone gifting it by the very definition.

So I beg to differ.

11 years ago
Permalink

Comment has been collapsed.

This sucks, first because it sucks to give auto thanks and second what's the point to make one when there's already one that do this better? I mean, at least it uses random thanks and seems more "natural" (and according to userscripts it was installed 868 times...)

11 years ago
Permalink

Comment has been collapsed.

Impressive, but it only fills the comment box, it does not submit it.

11 years ago
Permalink

Comment has been collapsed.

What one is that?

11 years ago
Permalink

Comment has been collapsed.

This is sad.

11 years ago
Permalink

Comment has been collapsed.

Close this thread forever

11 years ago
Permalink

Comment has been collapsed.

Can you create a userscript to automate the wiping of my butt when I go to the bathroom?

11 years ago
Permalink

Comment has been collapsed.

11 years ago
Permalink

Comment has been collapsed.

Thank you, now I just need to find some wipers

11 years ago
Permalink

Comment has been collapsed.

Thanks

11 years ago
Permalink

Comment has been collapsed.

Wow... People are so lazy.

11 years ago
Permalink

Comment has been collapsed.

You know how it says "Eyes that don´t see, heart that doesn´t feel" (or something on those lines) - People are anoyed by the concept but there is no difference than CTRL C+ CTRL V "Thanks".

If somenone takes the time to install this script so you have at least a bloody "Thanks" why complain, the person is showing a minimum respect. If you want to talk about things that is what the forums are for, which are simplier to follow than a giveaway.

If you want to analyze it a little bit gifting is selfish because we do it to feel happy with our selfs, we do it for us in first place, for the other on second place. Is it bad? no, but it helps us understand that if we are giving something genuinely for free and because of kindness, we have to learn and understand, to not wait anything in return, lets not even talk about demanding stuff like "how i want my thanks given or how many words need to be written". If you ignore this, it only means you are enjoying your little position of power and making demands from it, which is not very nice.

In short:

If you give stuff because you are generous and kind you wont expect anything in return.
If you do expect something in return you are not kind and generous you just want to use the power in the situation to feel better, you are selfish, you are doinbg it for you, not for the other.
Yes, people should be more grateful and civilized but sadly you can´t oblige them.

11 years ago
Permalink

Comment has been collapsed.

Good point. I feel that alot of people overcompensate their possible feelings of guilt and worthlessness by feeling superior to those who don't give / say thanks etc. This is not the way to happiness, it instead generates more misery.

11 years ago
Permalink

Comment has been collapsed.

Now we just need a script to automate the creation of Fortix giveaways (using automated money farmed from some survey site using a farming script), and another script to automatically enter these giveaways; and maybe scripts to auto send and redeem the keys. Then we can just completely automate Steamgifts entirely!

11 years ago
Permalink

Comment has been collapsed.

FortixGifts will be funded entirely by the buying and selling of Fortix-related Steam Market items.

11 years ago
Permalink

Comment has been collapsed.

ScriptGifts

11 years ago
Permalink

Comment has been collapsed.

This made me laugh, while I actually wanted to cry at it. :P

11 years ago
Permalink

Comment has been collapsed.

no! my thank you comes every time directly from my heart :)

11 years ago
Permalink

Comment has been collapsed.

+1

11 years ago
Permalink

Comment has been collapsed.

Die.

11 years ago
Permalink

Comment has been collapsed.

Somewhat unnecessary :/

11 years ago
Permalink

Comment has been collapsed.

It's German for the.

11 years ago
Permalink

Comment has been collapsed.

And the singular form of "dice"?

11 years ago
Permalink

Comment has been collapsed.

Yeah. He might have been trying to say what were the odds and a methaphor on Lady Luck. Don't be so eager to judge :p

11 years ago
Permalink

Comment has been collapsed.

Now I feel deeply ashamed :(

11 years ago
Permalink

Comment has been collapsed.

The?

11 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 3 years ago.

11 years ago
Permalink

Comment has been collapsed.

why would people do that? to upgrade their comment ratio? jesus...

nothing against you, you programmed nicely, but to people who use it: a script saying thanks means nothing.

11 years ago
Permalink

Comment has been collapsed.

You will never ever know whether anyone means anything by what they say, no matter how long and adorable their comment is.

11 years ago
Permalink

Comment has been collapsed.

I love the part where someone makes a completely unnecessary, involuntary and spamming thing, into something even more useless by making it automated.

11 years ago
Permalink

Comment has been collapsed.

Thanks for making this :3 I'd rather have someone use the auto thank you than say nothing at all

11 years ago
Permalink

Comment has been collapsed.

Oh come on. What's the point in saying thanks if you're not actually saying/typing it?

11 years ago
Permalink

Comment has been collapsed.

how are you ever going to know if the person "actually typed it"?

11 years ago
Permalink

Comment has been collapsed.

I must say that i find the idea of automated human interaction quite awkward. But at the same time lots of people have this weird feeling of entitlement from something that, to me, should just be plain and simple generosity. On the other hand perpetuating this, might help reduce the idea that in some way games are "due" to any Steamgifts user (idea renforced by the "estimated win").
Anyway, "Thanks". :3

11 years ago
Permalink

Comment has been collapsed.

So many people in this community suck... :(

11 years ago
Permalink

Comment has been collapsed.

Yes!

sucks on his cigarette

11 years ago
Permalink

Comment has been collapsed.

thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks H thanks O thanks W thanks thanks thanks C thanks A thanks N thanks thanks thanks I thanks thanks thanks S thanks T thanks O thanks P thanks thanks thanks I thanks T thanks thanks thanks , thanks thanks thanks P thanks L thanks E thanks A thanks S thanks E thanks ? thanks thanks thanks thanks thanks thanks thanks

11 years ago
Permalink

Comment has been collapsed.

thanks thanks I thanks thanks thanks thanks M thanks thanks P thanks thanks thanks thanks O thanks thanks thanks thanks thanks thanks thanks thanks S thanks thanks thanks thanks thanks thanks thanks S thanks thanks thanks thanks thanks thanks thanks thanks I thanks thanks thanks thanks thanks thanks B thanks thanks thanks thanks thanks L thanks thanks thanks thanks thanks thanks thanks E thanks thanks thanks thanks thanks thanks ! thanks thanks thanks thanks ! thanks thanks thanks

11 years ago
Permalink

Comment has been collapsed.

This + This = 0

11 years ago
Permalink

Comment has been collapsed.

+1 I love the filter script :)

11 years ago
Permalink

Comment has been collapsed.

I don't need scripts to say thanks!

11 years ago
Permalink

Comment has been collapsed.

like this

11 years ago
Permalink

Comment has been collapsed.

If you don't mean it, just don't say it. Even easier and faster. o.O

11 years ago
Permalink

Comment has been collapsed.

Closed 11 years ago by wisnoskij.