Get notified whenever there’s a new top post on Hacker News
"Read and change all your data on the websites you visit"
No thanks.
Obfuscated code plus these permissions isn't helping me trust you. As a Chrome extension developer, I can tell at a glance that many of these permissions are not necessary to implement the functionality as described.
Definitely not taking any chances installing this."permissions": [ "<all_urls>", "activeTab", "alarms", "background", "browsingData", "chrome://favicon/", "clipboardWrite", "contextMenus", "cookies", "declarativeContent", "fontSettings", "gcm", "identity", "idle", "notifications", "pageCapture", "power", "proxy", "sessions", "storage", "system.cpu", "system.display", "system.memory", "system.storage", "tabCapture", "tabs", "topSites", "tts", "unlimitedStorage", "webNavigation", "webRequest", "webRequestBlocking" ]I would love a script that shows me posts with exactly 2 upvotes. There's a lot of interesting links on the new page that is mixed in with spam.
Considering how much time I already spend on Hacker News, I certainly wouldn't want any notifications popping up.
nice!
any plans to open source the extension?
--
Here's how it's working on the page, not sure if the extension works the same, but seems poll based:
1. they grab the top stories from https://hacker-news.firebaseio.com/v0/topstories.json which is a huge json array of ids .. then they take the one in the head and ..
2. load: https://hacker-news.firebaseio.com/v0/item/9611829.json which is a json object with the post's metadata
This is a one-day, mvp-type project that our team made, mostly to scratch our own Hacker News–junkie itch, but we’re also inclined to do more if the project gains some traction, so please let us know any feedback/ideas/meditations!
Nice! You can also join the channel ##hackernews on freenode and see top stories in IRC! (That's how I saw this one!)
Are there any services out there that do this by email, and in particular that have domain filters? I'd love to get a notification when any domain I'm associated with gets posted to HN.
For what it's worth, and for people with iOS (not sure if Android has a similar app), I use Hooks[1]. I set it to 500 karma threshold to notify me and that seems to have been working out fine so far.
[1]: Hooks - Alerts for Everything by Oleg Kozynenko https://appsto.re/us/teuc3.i
+1 for having the real top story on their site
Also check out Hacker News 300 and Hacker News 100 on twitter
Consider using ServiceWorker notifications for an extension-free way to do this.
Nice one. What about Mozilla?
Out of curiosity, what registrar did you use for the hn TLD?
undefined
If this looked even remotely useful to you, do check out Distill (https://distill.io). Distill can be used on most websites (including HN), can send you notifications, and doesn't need a local browser (or access to "Read and change all your data on the websites you visit").
Disclaimer: I know the developer personally. But if there ever was an appropriate plug, this one is.