Humble librarian

Quick management of owned HumbleBundle stuff

लेखक
LeXofLeviafan
दैनिक इंस्टॉल
0
एकूण इंस्टॉल
217
रेटिंग
2 0 0
आवृत्ती
0.4.3
बनवली
2019-10-27
अपडेट केली
2023-01-21
आकार
36.6 KB
License
नाही
यांवर लागू होते:

This script adds a few features missing in the main HumbleBundle website (mainly in terms of keys/ownership management). Another script of mine, Backloggery interop, provides a sync feature which isn't required per se but noticeably enhances usability of the script (more specifically the downloads/keys lists scraping).

Overlay

The main feature of this script is the library overlay. It can be opened by clicking on the button in top-right corner of the screen; this will expand the overlay and allow you to interact with it. Default view will contain the list of collapsible groups (with product entries inside of each), the last one being "ungrouped"; it also has a filtering toolbar on top. New prefix groups (grouping entries by common title prefix) can be added via toolbar. Take note that while filtering is done by finding substrings case-insensitively, the prefix groups are case-sensitive and group by prefix only.

In addition to filtering by title (and group name), you can filter by category (which you assign yourself; it defaults to "Game"), as well as enable showing only entries with unused keys.

Clicking on a group will expand/collapse it (unless its contents are filtered by title); clicking on an entry will open entry details view. Right/middle click on a group title will open group editing view. Hovering an entry will show its icon (if available). Pressing Escape key will not only close the overlay (like the close icon does) but also reset its state (filters, etc).

You can configure the overlay to be displayed in any website (using User Includes setting), but its appearance may be affected by CSS of the website.

Entry details

In the entry details view you can see the main details of the entry, similar to what you'll find in the Library page of HB website. In addition to that you can pick the type/category of the entry (game, application, resource files, fiction book…), set the custom title (if there's a typo in the actual title which gets in the way of prefix-grouping) and a custom group (if you want grouping not based on prefix). You can also add aliases (used in ownership matching, see below).

In the keys list, there may be large text blocks (providing info like expiration dates), which are collapsed by default (replaced with (…)). Hovering the key list item will expand the related text block.

Group details

In the group details view you can rename the group for all entries (this also creates a prefix group if it doesn't exist already), remove the prefix group (doesn't affect custom group assignment), and change the type/category for all entries in the group.

Publisher/purchase listing

From an entry details view, you can open a related publisher/purchase view listing all entries with the same publisher or from the same purchase. The back action in such a listing will open the last viewed entry, going back from which will open the main view.

The publisher info is scraped from the Library page along with other stuff. The purchases information can only be taken from purchase pages, so you'll have to visit those to actually get the purchase data (stuff like bundle names and dates are taken from purchases table).

Unclaimed Humble Choice keys

For those who don't claim all their Humble Choice keys at once, it might be useful to keep track of what games can still be claimed. The userscript does that now, memorising such information for all Humble Choice bundles since its kickoff (December 2019); for every visited bundle that has unused claim slots, it stores the list of unclaimed games, with direct links to the games as well as the bundle itself (you can open it to update this data). Unseen bundles are highlighted so that you can load their data manually.

The list of bundles can be filtered by status (unclaimed, claimed, unseen), and the games can be quickly searched by name.

Ownership matching

If you own a lot of stuff, it may get hard to keep track of what you own already. To keep track of what you own already (at least in the HB itself), you can use the overlay to search for it (obviously); however, looking up every single thing may get annoying. Thus, I've made it so that entries already present in your library are marked (as shown in the screenshots). This may not work, however, if the site staff made a typo in either the old purchase or in the new bundle. For this purpose (when you encounter such an instance), you can add the title that wasn't matched as an "alias" to the entry. (See example in screenshot.)

Owned bundles (according to the purchases page) are now similarly highlighted (in main page and in the header dropdown); they'll also have a tooltip with the purchase date.

Quick Steam search links

If you see a Steam game in the HB website and you're considering whether or not you should buy a key, you might probably want to start with opening Steam store and looking up the game there. But, again, couldn't they have provided links in the website itself?

This script provides a similar feature. In many cases (bundle game description, store pages, your own key lists) you'll find that the Steam icon next to the title (added if there's no such icon but it's implied) now opens a Steam search by said title when you click it. (It would be better to be able to open the game page directly, of course, but both Steam and SteamDB websites provide no possibility for such a thing.)