Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: simple bookmarklet for checking an HN post's HNranking.info
2 points by dmragone on June 17, 2012 | hide | past | favorite
I've loved looking at http://hnrankings.info, and am always curious to check out how a particular post is doing.

This might not be that exciting, but I am often curious about how an HN post has moved up and down the rankings. Here's a simple little JS bookmarklet that I'm sure all of you could write in 2 seconds that I am using to do just that:

javascript:%20function%20checkHNrank()%20{var%20url%20=%20window.location.href;%20var%20postid%20=%20url.substring(url.indexOf("=")+1);%20document.location='http://hnrankings.info/'+postid;}%20checkHNrank();

Thanks to the folks behind hnrankings.info!

Version w/ spaces:

javascript: function checkHNrank() {var url = window.location.href; var postid = url.substring(url.indexOf("=")+1); document.location='http://hnrankings.info/'+postid;} checkHNrank();



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

Search: