Inline Reddit Comment Viewer

Hi Reddit,

After much lurking I realized it would be super cool if I could see comments on a url on the home page without going to another page. This idea worked even better with those posts that have the plus button allowing you to read the post inline. So after spending some time in front of my computer and with some jQuery magic I present an inline Reddit Comment Viewer.

I apologize, this is my first Greasemonkey script. Comments appreciated.

Firefox 6: http://userscripts.org/scripts/show/111404

Chrome: http://userscripts.org/scripts/show/111526

edit: This is how it looks

Instructions:

Click Comment Link, comment load

Click Reply to This Post to have drop down reply form

Click Close (on reply form) to make it go away

Click Red Underline Comment Link, comment disappears

Posted Aug 26, 2011, 2:07 PM UTC · edited

1211
Koraboros•

Thanks, but before I install why is it asking for data on all websites?

1
wasbaziOP•

This is what pages the script is included on:

http://reddit.com/* , https://reddit.com/* , http://.reddit.com/ , https://.reddit.com/

Where is it saying that it will have data to all websites?

3
Koraboros•

It says that when I try to install it. It's probably something with Chrome, nevermind.

3
wasbaziOP•

Ah, I just added that I have only tested it on Firefox 6.

4
Koraboros•

Yeah :( It's not working for Chrome atm, comments just load normally. Oh well it looks cool, thanks for your work.

2
BluMoon•

Pretty neat...it works for me (FF6), but how do I get to the full comments page?

Edit: looks like middle clicking still works, which is how I normally view comments. It works really well for posts with few comments, or where I'm only interested in the top one. Otherwise, I can stick with my normal routine. Thanks!

1
jimbgreen•

Oh man!! This is greatness. I use chrome 95% of the time, but I loaded the script in firefox to test it. Very nice. I really hope you get it working in chrome!

1
AbuMaia•

This idea worked even better with those posts that have the plus button allowing you to read the post inline.

Wow, I never knew about that feature. Thanks for the heads-up ^_^

1
three18ti•

Hey, I made a few comments on your script. I like the idea, but it didn't really work for me.

I hope you don't take my criticisms personally. It's a really good first attempt. THanks for putting it out there.

Edit (so you don't have to click the link.):

^This broke my reply button... (when I opened the comments by alt-clicking and selecting "open in new tab" clicking "reply" did noting. I disabled and reloaded the page and the reply button worked) Also, I don't like how he rebuilt the comments.

When I view Reddit I use the night theme; viewing comments parent and children alternate between black and a slightly darker black (grey and black really) with a white outline. This had a grey background and all of the comments were black.

I know it seems minute but the contrast really does IMO help readability (or conversely the lack of contrast hurts readability.) I stare at a computer screen 12+ hours a day, so I need things to be easy on my eyes.

I really liked the reply drop down, (Again, the colors were all wrong.) but I could not click reply to anything but the main post. Also, the ability to re-size the comment window would be nice.

So yea, that's a good start.

Edit: I'd be happy to help debug the issue. Edit: I suppose some stats might help:

-- Ubuntu 11.04 x86_64, Gnome 3 -- Google Chrome 13.0.782.220 -- Other Addons: RES, MS Silverlight

1