top | item 9612653

Get notified whenever there’s a new top post on Hacker News

59 points| niico | 10 years ago |top.hn

47 comments

order
[+] bad_user|10 years ago|reply
"Read and change all your data on the websites you visit"

No thanks.

[+] byoogle|10 years ago|reply
The reason we use this permission is that we request an image from the source url to show you in each notification, but see my earlier comment about the mvp-ness of this project (https://news.ycombinator.com/reply?id=9612790) – in future iterations, we’d create our own api and just require access to http://top.hn/.
[+] Sephr|10 years ago|reply
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.

    "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"
    ]
Definitely not taking any chances installing this.
[+] motoboi|10 years ago|reply
Asking full privileges is a way of avoiding changing them on a update.

If you change permissions on a update, chrome will ask for user interaction.

That being said, if you don't plan to broad the scope of an app or extension in the future, there is no point.

This technique is applied on a lot of android apps too.

[+] tarr11|10 years ago|reply
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.
[+] austenallred|10 years ago|reply
There are various "Hacker News N" Twitter accounts, where n == number of upvotes.

I really like "Hacker News 20" it's just high enough of a number that it's not a constant drip, but a little more diverse than the front page. https://twitter.com/newsyc20

[+] niico|10 years ago|reply
Totally agree. We're just testing a concept here. If people like the product, we'll keep adding more and more filters and features like that
[+] robert_tweed|10 years ago|reply
Except if everyone started using that, nobody would upvote anything except maybe spammer sockpuppets.
[+] obsession|10 years ago|reply
Considering how much time I already spend on Hacker News, I certainly wouldn't want any notifications popping up.
[+] byoogle|10 years ago|reply
You should give the extension a whirl – you only get a few notifications per day. Perhaps you’ll even end up spending less time here. :-)
[+] _lce0|10 years ago|reply
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

[+] byoogle|10 years ago|reply
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!
[+] aaronpk|10 years ago|reply
Nice! You can also join the channel ##hackernews on freenode and see top stories in IRC! (That's how I saw this one!)
[+] dom96|10 years ago|reply
Sounds like something #hackernews should be used for.
[+] JoshTriplett|10 years ago|reply
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.
[+] shinta|10 years ago|reply
That's a good idea, we have many plans for this if we get users, I will write you if we do this. Thanks.
[+] Watabou|10 years ago|reply
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

[+] norman784|10 years ago|reply
+1 for having the real top story on their site
[+] rictic|10 years ago|reply
Consider using ServiceWorker notifications for an extension-free way to do this.
[+] shinta|10 years ago|reply
I prefer sockets over Service Worker, no installation, no warnings. But definitely I will read in depth about this. Thanks.
[+] raresp|10 years ago|reply
Nice one. What about Mozilla?
[+] shinta|10 years ago|reply
We'd love to, if the project gains some traction we'll definitely do it.
[+] dubin|10 years ago|reply
Out of curiosity, what registrar did you use for the hn TLD?
[+] byoogle|10 years ago|reply
Gandi. Credit to niico for discovering that Hacker News has their own tld. :-P