Show HN: Userscript that shows HN submission count for any page(gist.github.com)
gist.github.com
Show HN: Userscript that shows HN submission count for any page
https://gist.github.com/overflowy/75b2df8a5349e51c5f83b5a2719d80d1
On page load, it canonicalizes the current URL (strips query params, fragment, www., trailing slash, and protocol) and queries the HN Algolia API, then updates the menu label with the result count (e.g. "3 results" or "No results"). If you're already on a news.ycombinator.com/item page, it extracts the submitted URL from the post and searches for that instead.
1 comments
Video of how it works: https://cleanshot.com/share/bKjjp0WV