Hacker News new | ask | show | jobs
by fwdpropaganda 2897 days ago
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.

3 comments

Thanks! And good questions, firstly no scraping involved. The api's are much easier to work with.

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!

Hey, so I refactored and made a Firefox addon! it's pretty cool that firefox allows addons on mobile, so it works there too!

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

Does it means that each url I visit with this addons enabled are send to a foreign server?
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
That's a great idea actually, then its only working when you want it to. I'll add that as soon as I can!
That's exactly what I was trying to discover.