ssokolow: Given how bogged-down my Firefox is with extensions and large numbers of tabs, I don't want any additions beyond the toggle-able GOG downloader links. Is there anything I can do to trim fat beyond editing the include/exclude rules so this script only runs on the library page?
I could probably update the old stand alone version I made to use the newer system (the old version was quite different and nowhere near as elegant)... but if you just go to the end of the script there is a section right near the bottom that lists all the various functions called.
If you replace between line 3493 and line 3551 with this:
$( document ).ready(function() {
try {
settings.initialise(config, function() {
feature_AF_style()
// navbar
feature_add_fundamentals_link()
debugLogger.debugLog("Features Loaded");
var path = window.location.pathname;
debugLogger.debugLog(path);
// Account
if (GetFirstPartOfDirectory(path) == "account")
{
setTimeout(changeDownloadLinks, 1);
setTimeout(setDownloadOptions, 1);
}
})
} catch (exception) { console.error(exception)}
});
It should only run the download link stuff and not bother with anything else. I've not tested that, but I don't see why it wouldn't work.
If you really wanted you cut then cut or comment out any function not mentioned there or called by one of the mentioned functions, though that might be a trickier proposition as there might be some bits that are more complicated than they seem..
Let me know if that works for you and if not I'll try throw together an updated version of the stand alone downloader links script.