TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

4 pointsby founderlingabout 6 years ago

1 comment

founderlingabout 6 years ago
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>