Show all images in Reddit thread Bookmarklet

Show all images in Reddit thread

Source (www.reddit.com)


Download Bookmarklet:


View Bookmarklet Code:

Bookmarklet Source Code:

javascript%3Adocument.ondragstart%3Dfunction%28%29%7Breturn%20false%7D%3Bdst%3Dfunction%28e%29%7Breturn%20%28p%3DMath.pow%29%28p%28e.clientX-%28rc%3De.target.getBoundingClientRect%28%29%29.left%2C2%29+p%28e.clientY-rc.top%2C2%29%2C.5%29%7D%3B%24%28%22%5Bhref%5Cx2a%3Dimgur%5D%22%29.not%28%24%28t%3D%22%5Bhref%24%3Djpeg%5D%2C%5Bhref%24%3Dgif%5D%2C%5Bhref%24%3Dpng%5D%2C%5Bhref%24%3Djpg%5D%22%29%29.each%28function%28%29%7Bthis.href+%3D%27.jpg%27%7D%29%3Bvoid%28%24%28t%29.not%28%22.EGraw%2C.click-gadget%20a%22%29.attr%28%7B%27class%27%3A%27%2545%2547%2572%2561%2577%27%2Ctarget%3A%27blank%27%7D%29.each%28function%28%29%7B%24%28this%29.append%28%24%28%27%3Cspan%20/%3E%27%29.toggle%28function%28e%29%7B%24%28this%29.html%28%27%20%5B-%5D%27%29.nextAll%28%29.show%28%29%3Breturn%20false%7D%2Cfunction%28e%29%7B%24%28this%29.html%28%27%20%5B+%5D%27%29.nextAll%28%29.hide%28%29%3Breturn%20false%7D%29.click%28%29%29.append%28%24%28%27%3Cimg%3E%27%29.attr%28%7Bsrc%3Athis.href%2Cstyle%3A%27display%3Ablock%3Bmax-width%3A780px%3Bheight%3Aauto%27%2Ctitle%3A%27Drag%20to%20resize%27%7D%29.mousedown%28function%28e%29%7B%28t%3Dthis%29.iw%3Dt.width%3Bt.d%3Ddst%28e%29%3Bt.dr%3Dfalse%3Be.preventDefault%28%29%3B%7D%29.mousemove%28function%28e%29%7Bif%28%28t%3Dthis%29.d%29%7Bt.style.maxWidth%3Dt.style.width%3D%28%28dst%28e%29%29*t.iw/t.d%29+%22px%22%3Bthis.dr%3Dtrue%7D%7D%29.mouseout%28f%3Dfunction%28e%29%7Bthis.d%3Dfalse%3Bif%28this.dr%29return%20false%7D%29.click%28f%29%29.append%28%24%28%27%3Cspan%20/%3E%27%29.html%28%27%2526%238635%3B%27%29.click%28function%28e%29%7B%28i%3D%24%28t%3Dthis%29.prev%28%29%29.css%28%7BMozTransform%3Ar%3D%27rotate%28%27+%28t.rot%3D%28t.rot%3F%28++t.rot%29%3A1%29%254%29*90+%27deg%29%27%2CWebkitTransform%3Ar%2Cfilter%3A%27progid%3ADXImageTransform.Microsoft.BasicImage%28rotation%3D%27+t.rot+%27%29%27%2CmarginBottom%3A%28m%3Dt.rot%252%3F%28i.attr%28%27width%27%29-i.attr%28%27height%27%29%29/%281+%28nie%3D%21%24.browser.msie%29%29%3A0%29+%27px%27%2CmarginTop%3A%28m%3Dnie%252Am%29+%27px%27%2CmarginLeft%3A-m+%27px%27%2CmarginRight%3A-m+%27px%27%7D%29%3Breturn%20false%7D%29%29%7D%29%29


Rate it:


Tags:

Comments

Comments so far. Add yours.

RedNumber1

Shows images twice.