Gede: Now that Javascript is much faster than it used to be, it makes sense. Yet, I have not learned it yet.
Javascript is big in the web development world.
If you don't work with a browser a lot, then there are probably more mature alternatives.
Overall, many devs cry a river about it, but it's not a bad language to work with if you are methodical though its sexiest attribute is probably is that it is supported in every browser out there.
Gede: Here is something I wanted to ask you: how on Earth did you discover that URL to fetch the promo data? I would never have found it! I looked for it in the source code of the front page and I could see no hint of its presence!
Yeah, looking at minified Javascript code is just masochistic.
There is a shortcut: Major browsers at this point (and the venerable Firebug plugin for Firefox) have various dev tools, including a "net" tab that allows you to view requests and responses.
phoeniixz: You can now let it watch for a new game on sale.
https://github.com/phoeniixz/GOG-Flash-Promo-Script Boy, you've been busy! I guess I'll able to get back to my Express user library sooner than anticipated.
I'll test it and then merge.
Edit: Done. Thanks for all the great improvements on the script!