Hackerface: Rapportive for HN
hackerface.com
hackerface.com
"permissions": [ "http://news.ycombinator.com/", "http://news.ycombinator.org/", "https://news.ycombinator.com/", "https://news.ycombinator.org/", "https://*/*", "http://*/*" ],
FTFY: "permissions": [ "http://news.ycombinator.com/, "http://news.ycombinator.org/, "https://news.ycombinator.com/, "https://news.ycombinator.org/],
I'm not going to read through all of your js to figure out what other domains you really need. Kudos on the idea -- I like it. Just not ideal to ship an app to this audience with the unnecessary security nail-biter during install. Fix and push and you should be good to go.EDIT: Format
At least I think that's how it works. I could be wrong.
https://chrome.google.com/webstore/detail/bbamfloeabgknfklmg...
In the ancestral thread, the assumption is those wildcard permissions were already granted.
Also just adding a comment to test this plugin out (requires hovering over a username)
In practice, I found developing for Chrome much more enjoyable. Developing for Chrome felt like modern development whereas developing for Firefox felt very heavy, verbose and overall frustrating.
[1]: https://addons.mozilla.org/en-US/developers/docs/sdk/latest/
Firefox, on the other hand, provides full access to its internal modules; a lot of the browser itself is built on JavaScript and XUL (the UI language) and extensions are essentially on equal footing in that regard: they can extend and even replace a lot of the browser.
A good example is sqlite-manager, which is essentially a simple but full-blown database manager which can read and edit SQLite databases, since it has filesystem access.
There's also the oldish Chatzilla, which can connect directly to IRC servers (a Chrome extension can only connect to HTTP or websocket servers). And It's All Text! which can launch a local text editor to edit a textarea field.
This should automatically tell me the person I'm responding to if possible, and show me a picture and context then. A picture (or gravatar) next to their username would also be cool.
It adds a little picture and info bubble next to the username of HN members who have a CrunchBase profile (I manually compiled a non-exhaustive list here: https://github.com/olalonde/HN-Crunch/blob/master/hn.php#L5).
It also affects my userstyle for the topbar. Please don't break page styles :) Namespace your CSS.
Also, please fix your permissions as noted by jchung and others. I installed the extension only on my Chrome Canary because I was too lazy to check the entire JS for security problems (or malicious intent).
With some fixes however, this would be really nice to have.
edit: oh, maybe the problem is to do with the logged in users profile is different (inputs vs. display) and because it's fetching locally it's seeing the edit fields?
edit edit: I think that's it! I logged out and I can fetch my profile fine.
edit: After some digging I found this non-minified version on Github: https://github.com/Gwendall/hackerface/blob/gh-pages/script.... No license info though...
Besides the all-domain permissions which you might want to constrain a bit, I'd also remove the button which doesn't do anything. Chrome lets me hide it, but you could make me forego that step too.
The company I work for does this as an API and I know the challenges behind it, so for a JS project, nice work!
Umm, no.
You can just ask a question, you know. No need for pithy one-liners about internet coolness.