Hacker News new | past | comments | ask | show | jobs | submit login
"Diff for HN": Update and highlight changes (mrspeaker.net)
234 points by mrspeaker on April 11, 2011 | hide | past | favorite | 30 comments



Want to package this up into a Chrome extension (maybe as a userscript)? Then people could run it without clicking on a bookmarklet.


Replying to this since this is getting up-votes even after I created the userscript[1] :/

It's here fellas: http://userscripts.org/scripts/show/100977

[1]: http://news.ycombinator.com/item?id=2432611


Also replying to this even though I commented below (definitely relevant).

I made it into a Chrome Extension: https://chrome.google.com/extensions/detail/abjhkncpebiaepcp...


Nice, thanks. In combination with this extension (which highlights the actual unread comments) it works out great: https://chrome.google.com/extensions/detail/imeeonmdbakdmiln...


Updates every couple of minutes - but if you move to another tab (and leave HN open) no updates will happen until you get back.

Just curious: is this out of some Chrome extension limitation or to cut down on unnecessary refreshes?


This is part of the original script, out of my control.

All the extension actually does is load the original script when you visit HN.


A slightly different userscript that doesn't require you to keep the HN tab open:

http://coding.pressbin.com/74/Update-on-Greasemonkey-script-...


Wow, this is great. Love the animated Y, too.

Two suggestions, maybe to add as options:

- open both comments and articles in new tabs automatically, since the assumption is power users keep the home page open anyway.

- Display the new comment and vote count as a difference? Seems more intuitive to me.


I use this little bookmarklet to open all links in new tabs

    javascript:d=document.links; for(i in d) d[i].setAttribute("target","_blank")
Very useful when reading HN on an iPad


I took the liberty of turning this into a userscript. Since I was running into trouble accessing global variables from the injected scripts, I forked Mr. Speaker's project and changed the relevant bits in the code.

Edit: Changed all my links to point to mrspeaker's master except the loader. Any changes he makes should get reflected automatically.

Link: http://userscripts.org/scripts/show/100977


This is awesome.

So awesome in fact, that I really wanted this as a browser extension. I quickly packaged it for Chrome, and have published it on the Extension Gallery for all you hackers. Get it while it's fresh: https://chrome.google.com/webstore/detail/abjhkncpebiaepcpeo...

Enjoy :)

P.S. The (very minimal) source is on GitHub, too: https://github.com/obeattie/HackemUp-extension


Fantastic tool. I salute you and want to yell at you at the same time for making me stay here longer then I do already(haha). Great work friend.


I think turning this into a userscript will play into the whole 'keep HN open all the time' better since you can just open HN, pin the tab and let the userscript work its charm.


This is pretty neat, it has proven its usefulness already.

+1 for a Chrome extension though, I don't know if I am going to remember to keep clicking the bookmarklet.


Could you have this automatically load all links in new tabs?


How does the 'drag bookmarklet to tab' thing work in Chrome? Where's the bookmarklet installed? (not among the bookmarks it seems) How can it be uninstalled?


Press Ctrl-Shift-B to show to bookmarks bar first.


I believe it just executes the javascript on that tab. Navigate away from the page to 'uninstall' it.

Great extension!


Drag it to your bookmark bar (make sure it's visible first).

Then click it when you're on HN.


In case anyone else is in this situation, I would get the spinning Y from time to time but never would see anything highlighted. It took me a few minutes of thinking about it to realize that I'd need to turn off my AutoPatchWork extension (similar to AutoPagerize) so that the content was in the expected form. It works now! Too bad I can't live without AutoPatchWork.


"A calm river of nerditry"


I really resent this. I don't know about you guys but I don't think of myself as a 'geek' or a 'nerd'. Having a high level of domain specific knowledge doesn't mean you need a label, it just means that you are good at what you do. I am a creator, I don't feel the need to define myself in terms of my tools (and how well I know them).

When I first ran across HN I was refreshed by how little of these terms I saw.


This is all well and good. You don't need labels.

In this case, however, labels serve a purpose - they identify someone as a member of an ingroup. There is, unequivocally, a "nerd culture." (What that is, of course, is a matter for much debate.) Identifying or presenting as a nerd communicates that the signaler considers themself a part of that culture or community.

Finding communities amongst each domain can be difficult. Luckily, there is a culture that embraces and celebrates domain specific knowledge regardless of the domain. Members of that culture signal to each other by identifying as "geek" or "nerd."

Doesn't this make the voluntary label okay?


Wow, anyone care to reply rather than just downvoting?


I didn't downvote, but I understand why people did. Both the parent comment and your reply add more or less nothing to the discussion. The problem isn't your comment, the problem is the parent comment, but if you feed the trolls, well, you know what happens :)


If you need a tool like this, I would recommend turning on the anti-procrastination HN filter.


This is the best thing ever :)

Amazing functionality packed into a single bookmarklet. I love it.


Great explanation on how it works. I was wondering the other day whether there was a way to tell when a tab gets the focus to autoupdate content. Now I know I can use window.focus and window.blur.


Rats! I use HackerNews UX and HackemUp won't work with it. Decisions...decisions...


I only I could Shift+A HN, Twitter and Quora, I would beat procrastination!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: