Great idea and nicely done! It also had the additional benefit of constituting my very first interaction with javascript because I needed to modify somethings. (Specifically, avoid the use of localStorage.)
I’m curious what you used instead (cookies?), or did you just make a historyless version? Also, why did you need that? localStorage isn’t exactly a new feature (hell, IE has supported it since version 8, I think).
It appears that my Firefox profile has some security features that mess with localStorage in a way that I don’t understand. I used Greasemonkey’s GM_[sg]etValue instead. (Important and maybe obvious, but not to me: their use has to be desclared with @grant in the UserScript preamble.)
“Install the extension” is a link bringing you to the chrome web store, where you can install it by clicking in the upper-right. The link is this, in case it’s Github giving you trouble somehow.
If the Chrome web store isn’t recognizing that you’re running Chrome, that’s probably not a thing I can fix, though you could try saving this link as something.user.js, opening chrome://extensions, and dragging the file onto the window.
Thank you. That worked. I never would have guessed that an icon which simply had the word “free” on it was the download button.
Would it be worth your while to do this for LW? It makes me crazy that the purple edges for new comments are irretrievably lost if the page is downloaded again.
This doesn’t seem to handle stuff deep enough in the reply chain to be behind “continue this thread” links. On the massive threads where you most need the thing, a lot of the discussion is going to end up beyond those.
It seems to work for me. “Continue this thread” brings you to a new page, so you’ll have to set the time again, is all. Comments under a “Load more” won’t be properly highlighted until you click in and out of the time textbox after loading them.
The use case is that I go to the top page of a huge thread, the only new messages are under a “Continue this thread” link, and I want the widget to tell me that there are new messages and help me find them. I don’t want to have to open every “Continue” link to see if there are new messages under one of them.
Ah. That’s much more work, since there’s no way of knowing if there’s new comments in such a situation without fetching all of those pages. I might make that happen at some point, but not tonight.
I wrote a userscript / Chrome extension / zero-installation bookmarklet to make finding recent comments over at Slate Star Codex a lot easier. Observe screenshots. I’ll also post this next time SSC has a new open thread (unless Yvain happens to notice this).
Great idea and nicely done! It also had the additional benefit of constituting my very first interaction with javascript because I needed to modify somethings. (Specifically, avoid the use of localStorage.)
I’m curious what you used instead (cookies?), or did you just make a historyless version? Also, why did you need that? localStorage isn’t exactly a new feature (hell, IE has supported it since version 8, I think).
It appears that my Firefox profile has some security features that mess with localStorage in a way that I don’t understand. I used Greasemonkey’s GM_[sg]etValue instead. (Important and maybe obvious, but not to me: their use has to be desclared with @grant in the UserScript preamble.)
This looks excellent.
I tried downloading it by clicking on “install the extension”, but it doesn’t seem to get to my browser (Chrome). Am I missing something?.
“Install the extension” is a link bringing you to the chrome web store, where you can install it by clicking in the upper-right. The link is this, in case it’s Github giving you trouble somehow.
If the Chrome web store isn’t recognizing that you’re running Chrome, that’s probably not a thing I can fix, though you could try saving this link as something.user.js, opening chrome://extensions, and dragging the file onto the window.
Thank you. That worked. I never would have guessed that an icon which simply had the word “free” on it was the download button.
Would it be worth your while to do this for LW? It makes me crazy that the purple edges for new comments are irretrievably lost if the page is downloaded again.
Sure. Remarkably little effort required, it turned out. (Chrome extension is here.)
I guess I’ll make a post about this too, since it’s directly relevant to LW.
This doesn’t seem to handle stuff deep enough in the reply chain to be behind “continue this thread” links. On the massive threads where you most need the thing, a lot of the discussion is going to end up beyond those.
It seems to work for me. “Continue this thread” brings you to a new page, so you’ll have to set the time again, is all. Comments under a “Load more” won’t be properly highlighted until you click in and out of the time textbox after loading them.
The use case is that I go to the top page of a huge thread, the only new messages are under a “Continue this thread” link, and I want the widget to tell me that there are new messages and help me find them. I don’t want to have to open every “Continue” link to see if there are new messages under one of them.
Ah. That’s much more work, since there’s no way of knowing if there’s new comments in such a situation without fetching all of those pages. I might make that happen at some point, but not tonight.
Thanks very much. I think there’s an “unpack the whole page” program somewhere. Anyone remember it?
Thanks a million!