Created
March 1, 2013 00:01
-
-
Save BAXTER001/5061246 to your computer and use it in GitHub Desktop.
A bookmarklet for imgur to change all images linked in the comments to inline images.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){var el=document.getElementsByClassName('image-link');for(i in el){ if(el[i].attributes!=undefined){var ni = document.createElement("img");ni.setAttribute('width','540px');ni.setAttribute('src',el[i].attributes['href'].value);el[i].parentNode.replaceChild(ni, el[i]);} }})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment