forked from GitHub/dbot
7578382bee
* There is probably a much nicer way of doing it (perhaps a better hash)? * Added a counter to the imgur random page counting the number of [Facebook Monopoly Men](http://i.imgur.com/3Tt6N.gif). * Added the md5sum of the current image to the getRandomImage api call. * Future functionality might be storing every image md5 in an array and counting duplicates, instead of the current check-against-known-dupes.
21 lines
622 B
Plaintext
21 lines
622 B
Plaintext
!!! 5
|
|
html(lang='en')
|
|
head
|
|
meta(charset='utf-8')
|
|
script(type="text/javascript", src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js")
|
|
script(type="text/javascript", src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/md5.js")
|
|
script(type="text/javascript", src="/imgurr.js")
|
|
link(rel="stylesheet", href="/imgurr.css")
|
|
title random imgur
|
|
body
|
|
div#loading Loading image 1...
|
|
div#details Press [SPACE] to load a new image
|
|
div#count
|
|
#{highscore}
|
|
div#count2
|
|
ø
|
|
ul#history
|
|
li Press [SPACE] for next
|
|
div#container
|
|
img#image
|