jaege / ESGST

A script that adds some cool features to SteamGifts and SteamTrades.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESGST - Enhanced SteamGifts & SteamTrades

A script that adds some cool features to SteamGifts and SteamTrades.

Installation

To install the script, you must install Tampermonkey or Greasemonkey first. Then click here and you should be prompted to install it.

Compatibility

Fully tested and working in the latest version of:

  • Google Chrome (Tampermonkey)

Should be working in the latest version of:

  • Firefox (Greasemonkey & Tampermonkey)
  • Opera (Tampermonkey)

Tested on Microsoft Edge and most of it seems to work fine, but for some reason requests made from https://www.steamgifts.com/account redirect to https://www.steamgifts.com. I haven't been able to figure out why yet, so avoid Edge for now.

Features

General

Giveaways

Discussions

Comments / Commenting

Users

Games

Other

Settings Menu

steamgifts.com/account/*

  • Allows you to enable / disable features.
  • Allows you import / export your data.
  • Allows you to manage Whitelist / Blacklist Highlighter and Not Activated / Multiple Wins Checker caches.
  • Allows you to sync your data and enable / disable the automatic sync.

Featured Container Hider

steamgifts.com/giveaways/*

  • Hides the featured container in the giveaways pages.

Blacklist Stats Hider

steamgifts.com/stats/personal/community

  • Hides blacklist stats in the stats page.

Fixed Elements

(steamgifts|steamtrades).com/*

  • Allows you to fix the header, heading, sidebar and footer, so that they scroll together with the page.
  • You can disable any of the elements through the settings menu.
  • In case it isn't clear, this is the heading:

Endless Scrolling

(steamgifts|steamtrades).com/*

  • Allows you to endlessly scroll through pages.
  • You can choose in which pages you want to enable the endless scrolling from the settings menu.
  • If you click on the link to a page and that page is currently loaded, it will jump to the page instead of loading it. This only works on SteamGifts though, and if you jump between pages that aren't next to each other, the pagination gets messed up, but you can fix it by then going to the immediate previous / next page and returning.
  • You can refresh pages without leaving the page.
  • You can pause / resume the endless scrolling.
  • You can enable reverse scrolling for discussions.

Active Discussions On Top

steamgifts.com/*

  • Moves the active discussions to the top of the page.

Grid View

steamgifts.com/giveaways*

SteamGifts Profile Button

steamtrades.com/user/*

  • Adds a button that links to an user's SteamGifts profile.

SteamTrades Profile Button

steamgifts.com/user/*

  • Adds a button that links to an user's SteamTrades profile.

Shared Groups Checker

steamgifts.com\/*

  • Allows you to check which groups you and another user have in common.

Comment History

steamgifts.com/*

  • Keeps track of the comments you make (they can be seen from the settings menu).
  • This feature only works with Main Comment Box Popup, Discussion Edit Detector and Multi-Reply / Reply From Inbox. If you submit a comment though SG's native comment box, the comment will not be tracked.

Username History

steamgifts.com/user/*

  • Keeps track of usernames from the database and detects username changes every month.
  • There are currently 7200+ users being tracked.
  • An user is added to the database when you click on the arrow next to their username.
  • You can view recent username changes from the settings menu.

Permanent User Notes

(steamgifts|steamtrades).com/user/*

  • Allows you to add notes to users.
  • The notes are permanent because they are tied to an user's SteamID64 instead of their username.
  • The icon changes if the notes are not empty:

Permanent User Tags

(steamgifts|steamtrades).com/*

  • Allows you to add tags to users.
  • Unlike the permanent user notes, the tags are not tied to an user's SteamID64, because that information is only available in the profile page, but they are still permament because upon adding a tag to an user, it automatically detects username changes and returns any old tags you might have saved for that user before they changed their username.
  • While the tags are not tied to an user's SteamID64, it still has to retrieve the user's profile page in order to save to the storage, so if you're adding tags to an user for the first time, it might take a while to do so.
  • Separation of tags is purely cosmetic.

Multi-Tag

(steamgifts|steamtrades).com/*

  • Allows you to tag multiple users / games at the same time.
  • It goes without saying that this feature only works if either Permanent User Notes or Game Tags are enabled.

Whitelist / Blacklist Highlighter

(steamgifts|steamtrades).com/*

  • Adds a heart or ban icon next to the username of all users from your whitelist / blacklist.
  • The users must be scanned through the settings menu for the feature to work. You can scan them manually or enable the automatic scan to run every once in a while.

Whitelist / Blacklist Checker

steamgifts.com/*

  • Allows you to check if an user or a list of users have whitelisted / blacklisted you.
  • Results are cached for 24 hours.
  • The caches can be seen and updated from the settings menu.
  • The checker has a simplified version that only checks / shows whitelists. It can be activated from the settings menu by enabling Show blacklist information.. If this version is activated and the checker finds an user that has blacklisted you, it will return There is not enough information to know if you are whitelisted or blacklisted. instead of You are blacklisted..
  • You can highlight users who have whitelisted / blacklisted you by enabling this option through the settings menu. This functionality is supported on SteamTrades (steamtrades.com/*). The following icons will be added next to their username:

Real Won / Sent CV Links

steamgifts.com/user/*

  • Adds links to an user's SGTools real won / sent CV pages.
  • Has an option to automatically load the real CV and show it on the profile.

Sent / Won Ratio

steamgifts.com/user/*

  • Shows the sent / won ratio of an user.

Not Activated / Multiple Wins Checker

steamgifts.com/(user|giveaway/.../winners)/*

  • Allows you to check if an user or a page of winners from a giveaway have any not activated / multiple wins.
  • Results are cached for 7 days.
  • The caches can be seen from the settings menu (updating all of them at once is not possible).
  • You can highlight users who have not received / multiple wins by enabling this option through the settings menu. This functionality is supported on SteamTrades (steamtrades.com/*). Their username will change to the following colors:

Not Received Finder

steamgifts.com/user/*

  • Allows you to find an user's not received giveaways.
  • If the user doesn't have any not received giveaways, the button will not appear.
  • Results are cached for 7 days.

User Giveaways Data

  • Gathers data about an user's giveaways, listing them by type and level.
  • Lists the most given away games for sent checks and the users most won from for won checks.
  • The data is not 100% accurate if the user has not received giveaways.

Level Up Calculator

steamgifts.com/user/*

  • Approximately calculates how much real CV an user needs to level up.

Inbox Winners Highlighter

steamgifts.com/messages

  • Highlights the winners of your giveaways in your inbox.
  • A winner is added to the storage when you send the gift to them through the winners page of the giveaway or through Unsent Gifts Sender.

Avatar Popout

steamgifts.com/*

  • Pops out a box with info about an user / group if you click on their avatar.
  • Has all the features that run on steamgifts.com/user/* built-in.

Unsent Gifts Sender

steamgifts.com/created/*

  • Allows you to send all your unsent gifts directly from your created giveaways page.
  • You can choose to only send the gifts to winners with 0 not activated / multiple wins or who are whitelisted.

Entries Remover

steamgifts.com/giveaways/entered/*

  • Allows you to remove entries for owned games.
  • In order for the feature to work, you must enter your Steam API Key in section 9 of the settings menu (get a Steam API Key here):

Giveaway Templates

steamgifts.com/giveaways/new

  • Allows you to save giveaway templates for later use.
  • To edit a template, simply apply it normally, perform your changes and save it with the same name.

Stickied Giveaway Groups

steamgifts.com/giveaways/new

  • Allows you to sticky groups while creating a giveaway.

Header Icons Refresher

steamgifts.com/*

  • Updates the header icons every 60 seconds (only if the tab is active).
  • You can enable an option that runs the refresher in the background and changes the icon of the tab when not active.

Delivered Gifts Notifier

steamgifts.com/*

  • Notifies you if one of your won gifts has been delivered.

Advanced Giveaway Search

steamgifts.com/giveaways/*(!(wishlist|created|entered|won)

Pinned Giveaways Button

steamgifts.com/giveaways/*

  • Allows you to collapse the pinned giveaways container after expanding it.

Points Refresher

steamgifts.com/?

  • Updates your points every 60 seconds (only if the tab is active).
  • You can enable an option that runs the refresher in the background and changes the title of the tab when not active.

Visible Attached Images

(steamgifts|steamtrades).com/*

  • Shows all attached images by default.

Entered Games Highlighter

steamgifts.com/*

  • Highlights games you have already entered giveaways for.

Entered Giveaways Filter

steamgifts.com/*

  • Hides entered giveaways.

Enter / Leave Giveaway Button

steamgifts.com/(giveaways|user|group)/*

  • Allows you to enter / leave giveaways directly from the giveaways pages.

Giveaway Description / Comment Box Popup

steamgifts.com/(giveaways|user|group)/*

  • Allows you to view giveaway descriptions and add comments to giveaways directly from the giveaways pages.
  • You can enable an option to show it automatically upon entering a giveaway if Enter / Leave Giveaway Button is enabled.

Giveaway Winning Chance

steamgifts.com/(giveaways|giveaways/entered|giveaway|user|group)/*

  • Displays your winning chance for a giveaway.

Groups Highlighter

steamgifts.com/giveaway/groups/*

  • Highlights which groups you are a member of in the giveaway groups page.

Groups Stats

steamgifts.com/account/steam/groups/*

  • Shows your status in groups from your groups page.

Giveaway Groups Popout

steamgifts.com/*

  • Pops out a box with all the groups of a giveaway upon clicking on the groups button.
  • Has Avatar Popout and Groups Highlighter built-in.

Giveaway Error Search Links

steamgifts.com/giveaway/*

  • Provides search links for the game when you cannot access a giveaway.

Discussions Highlighter

steamgifts.com/discussions/*

  • Allows you to highlight discussions.

Comment Tracker

(steamgifts|steamtrades).com/*(!messages)

  • Fades out giveaways / discussions / support tickets / trades you have already visited. Note that this does not mean every comment inside the page has been read, it simply means you have visited it.
  • Keeps track of comments / editions and fades out those you have already read.
  • To mark a comment as read, click on the eye icon below it:

  • Adds a panel that allows you to go to the first unread comment of the page or mark all comments of the page as read:

  • Keeps track of discussion comments and shows how many comments are unread on the discussions page.
  • Allows you to go to the first unread comment of a discussion or mark all its comments as read directly from the discussions page.

Accurate Timestamp

(steamgifts|steamtrades).com/*

  • Increases the accuracy of timestamps by changing them from 2 hours ago to 1/1/2017, 0:00:00 AM - 2 hours ago.
  • You can disable it in the main giveaways pages through the settings menu.

Comment Formatting Helper

(steamgifts|steamtrades).com/*

  • Adds a panel that helps you with comment formatting.
  • Allows you to turn automatic links / images paste formatting on / off.
  • You can disable any items of the panel through the settings menu, except for the automatic links / images paste formatting item.

Main Comment Box Popup

(steamgifts|steamtrades).com/*

  • Hides the main comment box and adds a button that pops up a box which allows you to add comments to the page.
  • Has Discussion Edit Detector built-in.

Multi-Reply

(steamgifts|steamtrades).com/*

  • Allows you to reply to multiple comments at the same time, since each comment has their own comment box and the page isn't reloaded after submitting it.
  • Has Discussion Edit Detector built-in.

Reply From Inbox

(steamgifts|steamtrades).com/messages/*

  • Allows you to reply to your messages directly from your inbox.
  • Has Multi-Reply built-in.

Game Tags

steamgifts.com/*

  • Allows you to add tags to games.
  • Separation of tags is purely cosmetic.

Giveaway Winners Link

steamgifts.com/*

  • Adds a link to the winners page of a giveaway.

Main Post Popup

steamgifts.com/discussion/*

  • Hides the main post and adds a button that pops it up.
  • If Comment Tracker is enabled, the main post is only hidden if it has been marked as read.

Discussion Edit Detector

steamgifts.com/discussion/*

  • Detects if the discussion you're posting a comment to has been edited since the time you opened it and saves your comment correctly.
  • This fixes a bug on SteamGifts that does not save your comment to a discussion if you submit it after the discussion has been edited.

Reply Mention Link

(steamgifts|steamtrades).com/*

  • Adds a mention link to the comment replied to.

Archive Searcher

steamgifts.com/archive/*

  • Allows you to search the archive by exact title / AppID.

Other Info

  • All requests from Whitelist / Blacklist Checker, Not Activated / Multiple Wins Checker, Not Received Finder and Archive Searcher are limited to 2 per second, to prevent a stress on the SG servers.
  • If you try to leave the page while Whitelist / Blacklist Checker, Not Activated / Multiple Wins Checker, Not Received Finder and Archive Searcher are running, you will get a confirmation dialog asking you if you want to leave the page. Additionally, while these features are running, their buttons are faded out.
  • Whitelist / Blacklist Checker, Not Activated / Multiple Wins Checker, Not Received Finder and Archive Searcher allow for real-time options. For example, if you start Whitelist / Blacklist Checker with Also check for whitelist. enabled, but in the middle of the process you decide to disable that option, from that point onwards it will no longer check for whitelist.

About

A script that adds some cool features to SteamGifts and SteamTrades.

License:MIT License


Languages

Language:JavaScript 100.0%