/hn-sidebar

Hacker News Sidebar for Chrome

Primary LanguageJavaScriptMIT LicenseMIT

#Hacker News Sidebar for Chrome

Displays the Hacker News comment thread that corresponds to the page you are currently viewing in a sidebar, if it was submitted to Hacker News.

You can install this Chrome extension from the Chrome Store.

If you'd like to run your own fork of it, clone this repository and load its directory as an unpacked extension. A lengthy introduction to the code is available on my blog.

NOTE: This extension, by necessity, MUST submit the URLs of pages that you visit to https://api.thriftdb.com/ to search for the corresponding Hacker News items. They could conceivably use this data to reconstruct your browsing history if they were inclined enough and able to uniquely identify the requests your browser is making. Please do not use this extension if you do not trust that site with this sort of data!

This is a resuscitation of an old extension of the same name by Omer Gertel that no longer functions due to changes in APIs and HN's move to HTTPS. Details on the search API used by this extension are available from HNSearch.

This source is released under an MIT license; see LICENSE.txt for the full text.