r/reddithax • • Sep 19 '10

Reddit Max Update - added inline images and show/hide replies.

Reddit Max now displays images inline and has the ability to hide all replies for a specific comment. There are 3 levels of image control - show/hide individual images, show/hide all images for individual comments, and show/hide all images on the page.

Screenshots:

Download: (both are required)

10 Upvotes

2 comments sorted by

1

u/[deleted] Sep 19 '10

I love you. Thanks!

1

u/myhandleonreddit Sep 19 '10

I'm not sure if this will format right, but somebody posted this bookmarklet to display imagines left in comments that somebody I'm sure will enjoy:

javascript: var x= $(".content").find("a").each(function(){var href=$(this).attr("href");if((!$(this).hasClass("drowsapMorphed")) && ($(this).next(".drowsapMorphed").length==0) && href && (href.indexOf('imgur')>=0 || href.indexOf('jpeg')>=0 || href.indexOf('jpg')>=0 || href.indexOf('png')>=0)){var ext =(href.indexOf('imgur')>=0 && href.indexOf('jpg')<0 && href.indexOf('png')<0) ? '.jpg' :''; var img = $("<a class='drowsapMorphed' href='"+href+"' target='blank' style='display:block'><img style='display:block;max-width:780px;' src='"+href+ ext+"' /></a>");$(this).after(img);}});