Thanks for the nifty script. Instead of "Anotha One," I renamed that button as "MOAR" I also edited the description to read
Reverse Auto-Trainer??!!
Make da whoooole train in reverse order, automagically :D
Comment has been collapsed.
You mean instead of invite only to be whitelist/group only?
Yes, you should be able to. I will look into adding that xP
For now, follow these instructions:
Change this line
$("div[data-checkbox-value='invite_only']").trigger("click");
to this
$("div[data-checkbox-value='groups']").trigger("click");
Then get the group ID by mousing over the checkbox next to the group name, Right Click, Inspect Element (On chrome at least). You should see something that looks like this
<div data-group-id="485124627" class="formgroup formgroup--steam">
Copy that group ID then add this line after the one you changed before
$("div[data-group-id='(The group ID you copied)']").trigger("click");
Then use the script as you would usually xP
Sorry for the late response :(
Comment has been collapsed.
i was wondering if it would be possible to add a option to disable the runtime hours question and instead go off the selected end time upon creating the train for each individual giveaway?
maybe something like "timeOpen:false" in the config to have it go off selected time instead.
or if it's easier to just pull a few lines of code which ones do i remove?
Comment has been collapsed.
That's actually a good idea, and I will work in adding that!
In the meantime, you can do it yourself!
Necessary edits:
Replace
var timeOpen = parseInt(sessionStorage.getItem("timeOpen"));
With
var timeOpen = sessionStorage.getItem("timeOpen");
Replace
timeOpen = parseInt(prompt("It appears you haven't set up a train yet!\nHow long (In hours) would you like the giveaways to be open for?")*3600000);
With
timeOpen = $("input[name='end_time']").val();
Replace
$("input[name='end_time']").val(formatTime(Date.now()+timeOpen));
With
$("input[name='end_time']").val(timeOpen);
Once you've finished all of those, the end time on all GA's should be set to the one you used for the first one!
Sorry for the late reply, didn't check my acct this morning.
Comment has been collapsed.
Hello joonatoona,
I have a suggestion. Place the button CHOOO CHOOOOOOO somewhere to the top part of the page.
It is quite annoying when I always have to scroll the pages to the bottom when I want to confirm the process even if all the fields are at the top.
Comment has been collapsed.
But I don't want to use a config directly in the code because an update would rewrite it. I think the button at the bottom cannot be better for anyone, can be? What is the point of it there? Or maybe the button would be even better below the cd-key field.
Comment has been collapsed.
I've noticed that trains made with your script use html accesskeys so that you can go to the next 'cart' using ALT+.
How is this done? I've looked at the script and I can't see anything adding that.
I'd love to be able to add this to the train I am working on.
A random example of accesskey code below:
<a href="https://www.steamgifts.com/giveaway/xxxxx/" accesskey=".">NEXT</a>
<a href="https://www.steamgifts.com/giveaway/xxxxx/" accesskey=">" target="_blank"></a>
Thanks!
Comment has been collapsed.
Edit: just saw that I never explained here that the effect was cause by a userscript I have installed: Add Prev/Next Accesskeys.
Comment has been collapsed.
I should have known of this in December... DOH!! xD
Comment has been collapsed.
have a ump, cause i just decided to use this :)
and i love this:
Make da whoooole train automagically
Comment has been collapsed.
When I click on CHOOCHOO it takes me back to the start and I keep having to change my date and stuff
what am I doing wrong?
Comment has been collapsed.
0 Comments - Created 7 minutes ago by Formidolosus
15 Comments - Last post 15 minutes ago by Rabban
978 Comments - Last post 17 minutes ago by Ledyba
63 Comments - Last post 20 minutes ago by Thedogma
167 Comments - Last post 1 hour ago by freeFORme1964
263 Comments - Last post 1 hour ago by MeguminShiro
17,253 Comments - Last post 2 hours ago by memeticist
11,494 Comments - Last post 2 minutes ago by JimLink
56 Comments - Last post 6 minutes ago by SKIF1988
130 Comments - Last post 13 minutes ago by refat17
30,708 Comments - Last post 16 minutes ago by LinustheBold
2,063 Comments - Last post 21 minutes ago by MeguminShiro
166 Comments - Last post 21 minutes ago by Mayanaise
4,350 Comments - Last post 52 minutes ago by KPopPoyehavshiy
An auto-trainer??!! (SGChooChoo)
Read (Or scroll) all the way to the bottom for a MiniTrain ;P
I really wanted to make a train, but couldn't find a good script to do it I never do anything manually, so I decided to write one. This script lets you automagically set up most of the GA.
Usage:
Notes:
Download HERE
(Script which I used some functions from HERE)
Automagically add next/previous linksDone!Take over the world!!!JKAdd configTicket for the train! ALL ABOARD ;P (0+, 48 hours)
Comment has been collapsed.