+ Add a counter to the random imgur page.
+ Added functionality to the ``c`` key to toggle the counter display.
+ Added functionality to the ``r`` key to reset the counter to default.
+ Added a new configuration option for a quote category to get the
default 'highscore' from.
This commit adds a small decreasing counter to the corner of the
screen. Hidden by default, press ``c`` to toggle it.
The counter will begin at highscore + 1, and will decrease with every
new image. This is intended to be used during contests to see how many
images one can cycle through before, for example, finding a picture of
a cat. The counter can be reset using the ``r`` key.
The highscore is automatically set at page load to the most recent
quote added to the category specified in the configuration option.
Therefore it is important that only numeric data is placed in that
particular quote.
The score will not reset to a new highscore automatically, and nor
will a new highscore update the quote category.
* Added config.json to the party
* Moved API key (client ID) to the configuration file
* Added image link to random imgur image page
* Minimised loading message
* Added fade to loading message
* Added count to title attribute of webpage
* Removed font-size increase
* Added placeholders
What imgur calls "title" is possibly better described as a caption. Most titles in imgur's gallery are full sentences, making the current behaviour of "xxx is yyy" fall flat, as the resulting string does not have satisfactory grammar.
This commit changes the functionality from "[foo is bar]" to "[foo][bar]".
Untested.
Specifying that images are non-animated each time isn't really required, and causes the string to be rather long. Stripping this implicit property makes it look a bit nicer.