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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

location.href='https://www.alexa.com/siteinfo/'+location.hostname+'?ver=classic'

4 点作者 founderling大约 6 年前

1 comment

founderling大约 6 年前
I wrote this bookmarklet yesterday and I find it pretty useful. When you click it, you see the Alexa rank for the website your are currently on.<p>Since it is short enough to fit in the HN title, I did not put it on GitHub or something.<p>If you are not familiar with bookmarklets, here is how you use them:<p><pre><code> 1: Bookmark any page 2: Right click the bookmark and chose &quot;edit&quot; 3: Give it a nice name (Like &quot;Alexa&quot;) 4: Paste the code into the url field 5: Prefix it with &quot;javascript:&quot; </code></pre> So the url looks like this:<p><pre><code> javascript:location.href=&#x27;https:&#x2F;&#x2F;www.alexa.com&#x2F;siteinfo&#x2F;&#x27;+location.hostname+&#x27;?ver=classic&#x27;</code></pre>