TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: simple bookmarklet for checking an HN post's HNranking.info

2 点作者 dmragone将近 13 年前
I've loved looking at http://hnrankings.info, and am always curious to check out how a particular post is doing.<p>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:<p>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();<p>Thanks to the folks behind hnrankings.info!<p>Version w/ spaces:<p>javascript: function checkHNrank() {var url = window.location.href; var postid = url.substring(url.indexOf("=")+1); document.location='http://hnrankings.info/'+postid;} checkHNrank();

暂无评论

暂无评论