Bookmarklet To Show Images In Threads
I love func_msgboard but since day one it's annoyed me that I have to click every single image link to actually see the image. If you're like me, create a
bookmarklet and use this bit of javascript as the URL:
-----
javascript:!function(){function e(){(window.myBookmarklet=function(){$('a[href$=".gif"], a[href$=".jpg"], a[href$=".png"], a[href$=".jpg:orig"]').each(function(){var e=$(this).attr("href");$(this).replaceWith('<img src="'+e+'" width="100%" height="auto"></img>')})})()}if(void 0===window.jQuery){var t=!1,a=document.createElement("script");a.src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js",a.onload=a.onreadystatechange=function(){t||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(t=!0,e())},document.getElementsByTagName("head")[0].appendChild(a)}else e()}();
-----
(I promise this isn't spyware or anything nasty, just code to replace hrefs with images and some jQuery loading preamble.)
Load a thread, click the bookmarklet and every image link will become an inline image.