Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What an awesome informational resource.

I really wish they had a Random Article button like Wikipedia does.



It probably wouldn't be too hard to put something together with a JavaScript bookmarklet and their archive page. http://www.cryptomuseum.com/crypto/list.htm


I was thinking along the same lines... but a man can dream!

(I don't like the site THAT much that I would bother with creating a dedicated js bookmarklet I suppose is what I am saying)

Not saying I wouldn't install it if somebody else were to do so... ;)


CREATE A BOOKMARK! Use the following for the url ( OF THE BOOKMARK ):

javascript:(function(){var a = document.querySelectorAll('li a'),l = a.length;window.location.href = a[Math.floor(Math.random() * l)].href;})();

NOTE: this JavaScript will only work properly ( AS A BOOKMARK ) on the list page. i.e. http://www.cryptomuseum.com/crypto/list.htm

Instructions:

1. create the bookmark as instructed above...

2. go to the list page @ url above...

3. CLICK THE BOOKMARK!


Haha, thanks a bunch!

The code worked perfectly once I placed it into a bookmark!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: