Actually it would be just a bit more slow than Whitelist / Blacklist Checker, because it wouldn't stop at the first whitelist giveaway. But I love this idea and I'll implement it later (I already have something like this planned for individual game status).
Comment has been collapsed.
Idea of the day: Anti-bot GA obfuscation tools.
Comment has been collapsed.
Hi there :)
As i make so many GA's in groups and whitelist (and in public i will make more again in next time)
I make me 3 little scripts (one for public ga's one for X numbers of groups+WL and one for group x only)
The script gives me a button next to the time on the /giveaways/new page, so i have only to fill in the name of the game and the key, then i press the button
and it auto fills all the rest of the /giveaways/new page....
the 2 script with group only and public only are working...
The one with groups + WL is to 98% ready, but i have a problem with autofill and click the Whitelist (group),
because it has no group id.
I used this code for the groups:
var groupId = "1234"; // Group 1
var groupId2 = "1234"; // Group 2
var groupId3 = "1234"; // Group 3
var groupId4 = "1234"; // Group 4
var groupId5 = ""; // Whitelist
and then:
function applyGroup() {
$("div[data-checkbox-value='groups']").trigger("click");
$("div[data-group-id='" + groupId + "']").children('div').eq(1).trigger("click");
$("div[data-group-id='" + groupId2 + "']").children('div').eq(1).trigger("click");
$("div[data-group-id='" + groupId3 + "']").children('div').eq(1).trigger("click");
$("div[data-group-id='" + groupId4 + "']").children('div').eq(1).trigger("click");
$("div[data-group-id='" + groupId5 + "']").children('div').eq(1).trigger("click");
now i need only the part that checks me the whitelist square
if i search on the /giveaways/new side i got this output::
when it is not checked:
<input name="whitelist" value="0" type="hidden">
<div class="formgroup formgroup--whitelist">
when it is checked:
<input name="whitelist" value="1" type="hidden">
<div class="formgroup formgroup--whitelist is-selected">
I think it's only 1 or 2 lines of code that i miss :(
and I think my problem is that the whitelist is a group in the group of the form,
so something like:
$("div[data-checkbox-value='groups.group--whitelist']").trigger("click");
works not for me....
It is a little too hard for me :(
My skills are only a little html coding from over 15 years ago...
Can anyone please help me a little?
Greetings and many thanks :)
Comment has been collapsed.
If you want to trigger a click on the whitelist just do:
document.getElementsByClassName("form__group--whitelist")[0].click();
By the way, I have a script (rhSGST) that has a giveaway templates feature and would do exactly the same thing for you. :)
Comment has been collapsed.
And if you want to trigger the group selection first, the data-checkbox-value
is just groups
, so a sequence for enabling whitelist would be:
document.querySelector("[data-checkbox-value='groups']").click();
document.getElementsByClassName("form__group--whitelist")[0].click();
Comment has been collapsed.
How about an option to search a thread for posts by a specific user? Here's how I work around it with rhSGST:
It works, but in long threads (such as this) is not very convenient...
Comment has been collapsed.
BTW, you know what would be the absolutely ultimate thread to use such search on? https://www.steamgifts.com/discussion/AY14t/
Comment has been collapsed.
My script only makes 2 requests per second, and this feature would not be harder on the servers than other features are, like Whitelist / Blacklist Checker, for example.
Comment has been collapsed.
Idea: Train auto-clicker. Instead of having to click Next on every wagon, have a script do it for you. Double-click Next link once to start progressing to the next wagons automatically (at a predefined pace, default should probably be around 3 seconds). Double-click another Next link to stop. Identifying the link can be based on the first link in the GA description that contains the word "Next". There usually aren't too many of those in the description, especially in trains.
Comment has been collapsed.
Comment has been collapsed.
someone gave me a script link for this that was for all websites that does this function, ive since narrowed it down to only function with SG and used it for a couple weeks flawlessly so thought i'd share it.
(sorry i can't remember who gave it to me to give proper credit where credit is due)
original script: http://userscripts-mirror.org/scripts/show/3152
modified version specific to SG use:
// ==UserScript==
// @name Add Prev/Next Accesskeys
// @description Adds accesskeys to "previous" and "next" type links (useful for reading multi-page forum threads, webcomic archives, google results, etc.). The keys are 'Alt-,' for back & 'Alt-.' for forward; 'Alt-<' & 'Alt->' do likewise but open the link in a new window/tab.
// @version 0.1.2
// @match *://www.steamgifts.com/*
// ==/UserScript==
(function() {
//############## THESE CONTROL WHICH KEYS ARE USED ##############
var prevAccessKey = ",";
var nextAccessKey = ".";
var prevInNewWindowKey = "<";
var nextInNewWindowKey = ">";
// This script looks for the words "forward" and "next" and "previous" and "back" in link text and the names of link images, and gives the first ones that it finds on each page access keys.
// It also adds accesskeys which open the links in a new window. This is probably only useful if you have "Tools > Options > Tabs > Force links that open new windows to open in a new tab" turned on
// Much of the code is copied from tutorials
// I'm not a programmer so forgive the poor quality, if you improve this script please send me a copy
var allLinks, thisLink;
var nex = /next/, fr = /forw/;
var pre = /prev/, bac = /back/;
//it would be nice to also use << and >>, but some sites use < & > with << & >> for 'first' and 'latest'
allLinks = document.evaluate('//a[@href]',document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);
//scan through all links in page in REVERSE ORDER so the first match on the page is the one that gets the access key
for (var i = allLinks.snapshotLength - 1; i >= 0 ; i--) {
var thisLink = allLinks.snapshotItem(i);
if (pre.test(thisLink.textContent.toLowerCase()) | bac.test(thisLink.textContent.toLowerCase())) {
thisLink.setAttribute("accesskey", prevAccessKey);
var invisiLink = document.createElement("a");
invisiLink.setAttribute("href", thisLink.getAttribute("href"));
invisiLink.setAttribute("accesskey", prevInNewWindowKey);
invisiLink.setAttribute("target", "_blank");
thisLink.parentNode.insertBefore(invisiLink, thisLink.nextSibling);
}
if (nex.test(thisLink.textContent.toLowerCase()) | fr.test(thisLink.textContent.toLowerCase())) {
thisLink.setAttribute("accesskey", nextAccessKey);
var invisiLink = document.createElement("a");
invisiLink.setAttribute("href", thisLink.getAttribute("href"));
invisiLink.setAttribute("accesskey", nextInNewWindowKey);
invisiLink.setAttribute("target", "_blank");
thisLink.parentNode.insertBefore(invisiLink, thisLink.nextSibling);
}
}
//check for links that contain images that have likely sounding properties
var allLinks = document.evaluate('//a[@href]/img[contains(@src,\'prev\')]/parent::* '
+'| //a[@href]/img[contains(@src,\'Prev\')]/parent::* '
+'| //a[@href]/img[contains(@src,\'back\')]/parent::* '
+'| //a[@href]/img[contains(@alt,\'prev\')]/parent::* '
+'| //a[@href]/img[contains(@alt,\'Prev\')]/parent::* '
+'| //a[@href]/img[contains(@alt,\'back\')]/parent::* '
+'| //a[contains(@title,\'Prev\')]'
,document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);
if (allLinks.snapshotLength!=0) {
var thisLink = allLinks.snapshotItem(0); thisLink.setAttribute("accesskey", prevAccessKey);
var invisiLink = document.createElement("a");
invisiLink.setAttribute("href", thisLink.getAttribute("href"));
invisiLink.setAttribute("accesskey", prevInNewWindowKey);
invisiLink.setAttribute("target", "_blank");
thisLink.parentNode.insertBefore(invisiLink, thisLink.nextSibling);
}
var allLinks = document.evaluate('//a[@href]/img[contains(@src,\'next\')]/parent::* '
+'| //a[@href]/img[contains(@src,\'Next\')]/parent::* '
+'| //a[@href]/img[contains(@src,\'forw\')]/parent::* '
+'| //a[@href]/img[contains(@alt,\'forw\')]/parent::* '
+'| //a[@href]/img[contains(@alt,\'next\')]/parent::* '
+'| //a[@href]/img[contains(@alt,\'Next\')]/parent::* '
+'| //a[contains(@title,\'Next\')]'
,document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);
if (allLinks.snapshotLength!=0) {
var thisLink = allLinks.snapshotItem(0)
thisLink.setAttribute("accesskey", nextAccessKey);
var invisiLink = document.createElement("a");
invisiLink.setAttribute("href", thisLink.getAttribute("href"));
invisiLink.setAttribute("accesskey", nextInNewWindowKey);
invisiLink.setAttribute("target", "_blank");
thisLink.parentNode.insertBefore(invisiLink, thisLink.nextSibling);
}
})();
Keys:
Alt + . (Forward one cart) [ > without shift]
Alt + , (Backwards one cart) [ < without shift]
Shift + Alt + > (New Tab Forward one cart)
Shift + Alt + < (New Tab Backwards one cart)
edit:
after re-reading your request i discovered it's not exactly what you wanted, it's not automated. but it does make things quicker to flow thru the train since you don't have to wait for everything to re-align to their proper locations on pageloads.
Comment has been collapsed.
This is not so much a suggestion as it is a question:
You know when you hover your mouse over a store item in the Steam store it gives you this popup which summarizes what the game is about?
I am curious if there's a userscript that does this.
Edit: nvm, found something similiar here
Comment has been collapsed.
Yes there is that one which looks beautiful and works great in firefox however if you are on chrome you may have some steam community logout issues. If you see any issues you can alternatively use sggrouphiding.user.js (from Daerphens Scripts) which doesn't have those issues at all, however doesn't look quite as good as Alpes version.
Comment has been collapsed.
How about something similar to the Do You Even Play, Bro script, but for the games given rather than won page? It would be interesting to go over the GAs created and see which of them was actually played.
Comment has been collapsed.
too bad ruphine isn't still around.. that sounds like a perfect addition to an already existing script of theirs.
+1
Comment has been collapsed.
I'd like to see a script that keeps track of the minimum/average/maximum number of GAs a user enters in a day. This data could be useful to get some clarity on what would be a reasonable maximum number of entries allowed per day, in case cg ever adds such a quota (I hope he does, as it would mitigate auto-joiners to a large degree).
Comment has been collapsed.
hmm. tbh, i don't think a script would work for this. that would have to be something done on the server side by CG really. the bot system used to gather such an enormous amount of data would eventually be banned by CG for destroying his server. it'd require constant scanning of every single user.
if you mean you'd want a tracker that watches personal entries only, that would be ofc okay though. =)
Comment has been collapsed.
if you mean you'd want a tracker that watches personal entries only, that would be ofc okay though. =)
Yes, that what I mean and why I wrote "a user", singular. Obviously server side tracking would be better to get to a useful number, but even personal tracking by a few dozen users who are interested in helping would provide useful data.
Comment has been collapsed.
gotcha. ^^
yeah that does sound good. i know i'd like to know how much i dropped in daily entries since i started playing games again for the last couple weeks. i went from spending my time here on SG all day, to in game almost all day. i've only been around for a cple hours in the morning, then game all day long. =)
Comment has been collapsed.
One-click Winner Background Checks. I usually only check for unactivated and multiple wins, and check for already owned games only for expensive packages. It would be great though if there was a script that could perform all related checks with one click:
Comment has been collapsed.
Another idea: A database of users who were suspended for unactivated or multiple wins, keeping track of the date of last win to which a re-roll request was rejected as "already suspended".
To avoid calling out, the database should keep hashes of usernames rather than the actual usernames. Otherwise it would be possible for people to just get a list of all these users and blacklist them, which is obviously not a desirable outcome.
One challenge would be how to add users to the database. The only somewhat reliable and extensive option that I can think of is to allow specific trusted users to send such reports, otherwise it can be abused (e.g. people can ask their friends to report that their unactived or multiple wins already resulted in suspension, even if this didn't actually happen. This would basically allow people to whitelist themselves against re-rolls, which doesn't make sense).
Comment has been collapsed.
Do you have a list of users to get the database started that you can send to me privately? As for adding users to the database, I was thinking of this: when your reroll ticket is rejected as already suspended, there will be a tool in the feature where you can upload a screenshot of the ticket. That way I can confirm that it actually happened and add the user to the database. Although I guess someone could still tamper with the HTML of the page and take a screenshot. What do you think?
Comment has been collapsed.
I should have about 100 approved tickets of rerolls due to rule breaking. I'll be happy to share them with you, just let me know if you prefer that I save each ticket as an HTML file or send you a screenshot.
Tampering with the HTML is very easy, which is why I think the only way to maintain the quality of this database is to get reports only from trusted users that you know (at least until you can find a programmatic way to establish if a user is to be trusted).
Comment has been collapsed.
Whatever it's better for you. You could also send me a text file with each line in the "[USERNAME] - [DATE]" or "[USERNAME] - [GIVEAWAY CODE]" format, or some variation of that format that you think is better. I think saving the HTML or screenshot for each ticket would be a lot more work.
Yeah, I don't see how I could program that, I think I'll just have to analyze each case manually, and only add those that seem trustworthy.
Comment has been collapsed.
Anyone knows of, or would be willing to make, a script to take some basic info from a giveaway page and give it to me in proper format for giveaway threads?
To clarify...
I want to go to a giveaway page, and with a single push of a button or something, receive the following result (in my clipboard or whatever works best:
[game title](giveaway link) | Giveaway creator | Level
or
[game title](giveaway link) | Giveaway creator
Obviously, I don't know shit about coding else I'd do it myself - it seems very simple but I simply do not even know where to start (yes, I tried Googling).
Comment has been collapsed.
So, I managed to make it work, with the following result (random example):
Overgrowth https://www.steamgifts.com/giveaway/XXXXX/overgrowth TheRealTaigo Level 3+
My problem is the lack of ability to add formatting/etc - Unless I'm just blind and dumb.
Comment has been collapsed.
Not sure the scraper can do that. I'll check.
Else I can provide you a solution to add formatting but it will requires another step with a excel sheet. Tell me if you have Excel, OpenOffice or none. If none, I can't help you anymore.
The overall solution scraper and spreadsheet isnt the best solution just for extract one giveaway at once. A script should be far better.
Comment has been collapsed.
If you are able to scrap data and got this kind of result:
Overgrowth https://www.steamgifts.com/giveaway/XXXXX/overgrowth TheRealTaigo Level 3+
I'm able to transform it with ONE paste in spreasheet to get this:
[Overgrowth](https://www.steamgifts.com/giveaway/XXXXX/overgrowth) | [TheRealTaigo](https://www.steamgifts.com/user/TheRealTaigo) | Level 3+
Final result should give something like this: Overgrowth | TheRealTaigo | Level 3+
Here's the spreasheet : Excel
Comment has been collapsed.
Thanks! I re-made it in Google Spreadsheets - It's a few more steps than I'd like, but it'll do the trick until nhahtdh posts their script. ^^
Comment has been collapsed.
Correct. At this time, I'm manually opening every link, manually copying the data I want, and manually formatting it. It's a pain with giveaway threads since I either have to do that, or ask people to do it when posting. Both options are bad.
Comment has been collapsed.
Sighery's API might help a lot with this but it seems he has been away from here from quite a while.
Did you go through the SG Add-Ons Registry and see if there's anything out there already?
Comment has been collapsed.
Briefly - the closest to what I want is your "Table/Chart Giveaways Creator" userscript, but it does not appear it'll work with other people's giveaways. I'm currently looking into using a scraper as Ouinx2 suggested. If I can make it work, I should be good.
Comment has been collapsed.
Here you go: https://gist.github.com/nhahtdh/940e4e751c5a66c4a329c99482bf45a8
Use the one with -md
, which outputs in markdown.
Comment has been collapsed.
I'm sorry. I forgot to mention that the script is not aware that the giveaway was accessed via SGTool. You need to edit in the SGTool link manually, or you will leak the giveaway URL. I saw the link to 2 SGTool protected giveaways in the thread to help Miyuushi being leaked in the OP.
Comment has been collapsed.
Oh shit. I must have added those absentmindedly. Fuck.
Comment has been collapsed.
By the way, you have nothing to apologize for - Entirely my mistake, unrelated to the use of your script - I really appreciate you letting me know about this, though.
Comment has been collapsed.
I would love to see a script that would add a "hide GAs of this game" and/or "hide all games from this bundle" Button on Bundletables.
Would be a big help for VR-Bundles for example.
Comment has been collapsed.
I looked in the SG Addons Registry thread, but didnt found or overlooked:
My idea should be easy scriptable. Browser addon, which looks, when you are active here, add your points / keep site open, to get point tick.
=> now see your SG Points + tick time when browsing on other sites? Resync when on this site or needed, if you spent points. Didn't need a refresh thats very fast.
Did i overlook something like that?
Comment has been collapsed.
47,115 Comments - Last post 6 minutes ago by Calibr3
59 Comments - Last post 14 minutes ago by Axelflox
1,230 Comments - Last post 44 minutes ago by Draconiano
56 Comments - Last post 54 minutes ago by Mantve
16,338 Comments - Last post 1 hour ago by Peiperissimus
119 Comments - Last post 1 hour ago by Axelflox
1,866 Comments - Last post 2 hours ago by rongey420
9 Comments - Last post 43 seconds ago by JMM72
55 Comments - Last post 12 minutes ago by AmanoTC
75 Comments - Last post 13 minutes ago by HowDareYou
3,374 Comments - Last post 13 minutes ago by pizurk
134 Comments - Last post 20 minutes ago by TinaG
26 Comments - Last post 21 minutes ago by adam1224
9,558 Comments - Last post 49 minutes ago by PossiblePsycho
There has been a significant increase in scripts being written and users who write them. First off, I would like to Thank each and every one of you that have made any form of script what so ever. Whether I liked it, used it, disliked it, don't use it. It makes no difference to me, your contribution is still important. This community is extremely amazing in those aspects and if it changes I hope it only gets that much more amazing. xD
Secondly for those that do not know about scripts or know where there might be a list of available scripts. Sighery has been maintaining a SG Add-Ons Registry of available scripts that can be used on steamgifts.com or relative sites.
I thought it was about time there was a thread specific for those that want to come up with ideas and concepts or merely just to brainstorm for even more scripts to be created, since the script writers seem to be growing day by day. I come up with ideas regularly, most of which I shove aside and don't even bother to mention, but if I've thought of it, then i'm sure many others had too. So this is the place we can jot down even those "simple/smart/complex/dumb" ideas that you may of thought you were the only one that wanted it. It's been recently pointed out to me that many script writers enjoy doing scripts even if their target audience is a single individual, so even if you feel your idea is unimportant, if it's easy to implement, there is a fair chance somebody may still make it.
If you already have made a suggestion topic, it may not hurt to still re-suggest it inside here. I'm hoping if we have a single list rather then a separate topic for each idea, they may get taken into better consideration as more and more people realize there is a list and reinforce other peoples ideas with +1's or extra tips to make it work.
Rules of this thread.
P.S. Some of the code/script contained in this thread is either still heavily in development, abandoned, broken, or possibly even fully working. Use at your own discretion.
Comment has been collapsed.