8 ms·
Hey Guys, 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
by gitgud 8y ago
Hey Guys,
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.
The idea stems from this submission: https://news.ycombinator.com/item?id=16647565 https://news.ycombinator.com/item?id=16647565
Hope you find it as useful as I do, and greatly appreciate any feedback you have.
Cheers!
- askz 8y agoIndeed a great idea, do you plan to port it to Firefox too? :)
- gitgud 8y agoThanks, yes I've just had a look at the Firefox api and its very similar to Chrome's, so it shouldn't take much work!
- mdaniel 8y agoIn case you weren't already aware, there is almost a cross-browser standard for doing that: https://developer.mozilla.org/en-US/Add-ons/WebExtensions https://developer.mozilla.org/en-US/Add-ons/WebExtensions and https://browserext.github.io/browserext/ https://browserext.github.io/browserext/ is the draft standard
- gitgud 8y agoThanks! 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-and-reddit-links/ https://addons.mozilla.org/en-GB/firefox/addon/newsit-hnews-... Let me know what you think, or if there's any issues
- gitgud 8y agoHey, 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-and-reddit-links/ https://addons.mozilla.org/en-GB/firefox/addon/newsit-hnews-... Let me know what you think, or if there's any issues
- askz 8y agowow that's fast :) Thank you very much. Will test it right away.
- fwdpropaganda 8y agoI 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.
- ognarb 8y agoDoes it means that each url I visit with this addons enabled are send to a foreign server?
- fwdpropaganda 8y agoThat's exactly what I was trying to discover.
- gitgud 8y agoYes 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.
- arama471 8y agoCould 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
- gitgud 8y agoThat's a great idea actually, then its only working when you want it to. I'll add that as soon as I can!