This is my first Chrome extension. I made it because, I always find my self searching for older discussions about popular webpages, like when popular technologies are first released.
This extension checks if the current webpage has a posting on Hacker News or Reddit. If a post exists, a button will be created which displays the number of comments and links to the discussion.
I've tried to use as little browser-"specific" api's as I could, the main problem was the manifest.json file, which vary a bit between Chrome and Firefox
Anyway here's the link to the Firefox version if you're interested:
I love the idea because these days often a large chunk of the value comes from good comments from readers. Especially with HN but also to some degree with reddit.
Two questions:
First, will you tell us how it works? My guess is that you have scrapped these dicussions from reddit and HN and your extension contacts a server asking "show me reddit and HNs for this news". Is this correct?
Second, will you kindly stop contributing to Google's eco-system? Time and time again Google has shown the world the complete disregard they have for everything but their bottom line. By comparison Mozilla's behavior has been impeccable.
Yes the add-on needs to query the public APIs of Reddit and Hacker News in order to check if the article has been posted already. Clicking the icon disables it though if its annoying.
Could you add a mode in which it only queries the APIs if I click the extension icon? Like that it would allow me to instantly search for comments without submitting all my browsing history to reddit/HN
As for your second question, go easy on me it's my first extension ;) But yes I plan to port it to Firefox too, as the extension APIs are amazingly similar!
18 comments
[ 4.5 ms ] story [ 50.7 ms ] threadThis is my first Chrome extension. I made it because, I always find my self searching for older discussions about popular webpages, like when popular technologies are first released.
This extension checks if the current webpage has a posting on Hacker News or Reddit. If a post exists, a button will be created which displays the number of comments and links to the discussion.
The idea stems from this submission: https://news.ycombinator.com/item?id=16647565
Hope you find it as useful as I do, and greatly appreciate any feedback you have.
Cheers!
I've tried to use as little browser-"specific" api's as I could, the main problem was the manifest.json file, which vary a bit between Chrome and Firefox
Anyway here's the link to the Firefox version if you're interested:
https://addons.mozilla.org/en-GB/firefox/addon/newsit-hnews-...
Let me know what you think, or if there's any issues
Here's the link:
https://addons.mozilla.org/en-GB/firefox/addon/newsit-hnews-...
Let me know what you think, or if there's any issues
Two questions:
First, will you tell us how it works? My guess is that you have scrapped these dicussions from reddit and HN and your extension contacts a server asking "show me reddit and HNs for this news". Is this correct?
Second, will you kindly stop contributing to Google's eco-system? Time and time again Google has shown the world the complete disregard they have for everything but their bottom line. By comparison Mozilla's behavior has been impeccable.
For Hacker News it uses the official JSON api https://github.com/HackerNews/API/blob/master/README.md
And for Redit, it simply queries the url directly eg: https://reddit.com/example.com/article.html
As for your second question, go easy on me it's my first extension ;) But yes I plan to port it to Firefox too, as the extension APIs are amazingly similar!
Here's the link:
https://addons.mozilla.org/en-GB/firefox/addon/newsit-hnews-...
Let me know what you think, or if there's any issues
Here's the link:
https://addons.mozilla.org/en-GB/firefox/addon/newsit-hnews-...
Let me know what you think, or if there's any issues