3 ms·
Once it's installed, if you reload the page you should see a "hide" link below each article, after the "comments" or "discuss" link. If you don't see it, it sh
by bambax 16y ago
Once it's installed, if you reload the page you should see a "hide" link below each article, after the "comments" or "discuss" link.
If you don't see it, it should be either that you're browsing HN on a different domain than "news.ycombinator.com" (?) or that you're using a version of Chrome < 5...?
- Tichy 16y agoDoesn't seem to work for me (Chrome 5.0.375.99).
- confuzatron 16y agoMe neither. I don't know anything about chrome extensions, but I was able to edit it to show an alert(), and append a div to the body tag, so it is running. But it doesn't appear to modify the page in any way I can see. Seems to be that when you have no hide options stored, the request listener returns {} and the main.js code blows up on "options = JSON.parse(response);" - (at least it doesnt seem to make it past that line). This fixes things for me: try { options = JSON.parse(response); } catch(err) { }
- bambax 16y agoWow. You're quite the debugger! ;-) It was indeed the problem (you had to have options before you even used it!) Fixed it in 0.1.2.
- confuzatron 16y agoI have recently got into arsing about with javascript :)