232 Comments - Last post 26 minutes ago by AAAAHHHH
29 Comments - Last post 1 hour ago by drbeckett
43 Comments - Last post 1 hour ago by Dawnslayer
16,664 Comments - Last post 2 hours ago by Yamaraus
7 Comments - Last post 2 hours ago by Axelflox
31 Comments - Last post 3 hours ago by Axelflox
8,638 Comments - Last post 3 hours ago by Axelflox
9,871 Comments - Last post 33 minutes ago by CultofPersonalitea
128 Comments - Last post 50 minutes ago by MadmanTheMad
61 Comments - Last post 51 minutes ago by CrabdaddyLonglegs
23 Comments - Last post 52 minutes ago by mmm29
170 Comments - Last post 2 hours ago by Chance21
2,894 Comments - Last post 3 hours ago by JustMax
514 Comments - Last post 3 hours ago by Slenderpoop00
I installed the wonderful UserScript SteamGifts Plus, but I was still missing some features that I needed, so I created a new script to work with SteamGifts Plus to add yet more features.
Screenshot
Features
Notes:
Updates
Installation
You can find my script at Userscripts.org: SteamGifts Plus - Extras Addon
This script works with:
Chrome + Tampermonkey extension: all features are supported, this is how I use my script to browse SteamGifts. (tampermonkey is similar to Greasemonkey for Firefox, it offers 1 click installation of scripts directly from userscripts.org, and supports automatic update).
Firefox + Greasemonkey: tested it for a while, seem to work just like Chrome + Tampermonkey.
Chrome native (drag/drop to the Extensions page): Does not support the features that require fetching information from the Steam website (game category and supported platforms), the rest seems to work fine.
It would be great if these features gets integrated with the main SteamGifts Plus, as it makes my script better instead of depending on workarounds to intercept dynamic paging. Or if SteamGifts+ release the API they are working on, I can plug into their extension to make my script better.
Issues
Dev notes
The main issue with the script is that it need to execute (at most) 2 ajax page loads for each game, which if calculated for a the first view of the site, which has 40 app per = 80 background calls, and they used to be executed at the same time, causing the browser to slowdown/freeze and later some connections to be dropped due to many connection to the server.
Since v1.2 I implemented a fetch queue to get X pages at a time, and it seems to handle the traffic better. For now I set the maximum numbers of connection to 20, maybe this can be made automatic depending on the connection speed.
Anyway, the fetching occurs only the first time a game or user is encountered, after that it is cached locally, if you refresh the page the links and trusted users are shown immediately.
In v1.2 I also found a way to fetch information from the 4rd party sites, such as the category of the game, and the supported platforms, but this works only in Firefox and Chrome if installed via Tampermonkey, Chromes native extension system doesn't allow fetching pages for cross domain.
Coming soon (on a browser near you)**:
Comment has been collapsed.