Last active
August 29, 2015 14:01
-
-
Save MNBuyskih/eb2be76a3afbb0c81c66 to your computer and use it in GitHub Desktop.
4chan all image expansion bookmarklet
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:var links=document.getElementsByClassName('fileThumb');for(var i in links){if(links.hasOwnProperty(i)){var images=links[i].getElementsByTagName('img');console.log(images.length);ImageExpansion.toggle(images.length===1?images[0]:images[1]);}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment