Created
December 29, 2015 06:51
-
-
Save hogashi/75d5fc614f964e61deee to your computer and use it in GitHub Desktop.
The bookmarklet of TwitterOpenOriginalImage
This file contains hidden or 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(){if(m=document.querySelector('.permalink-tweet-container'))for(i=((m=m.getElementsByClassName('AdaptiveMedia-photoContainer')).length-1);i>=0;i--)if(u=m[i].getElementsByTagName('img')[0].src)window.open(u+':orig')})(); | |
| /* | |
| javascript:( | |
| function() { | |
| if(m = document.querySelector('.permalink-tweet-container')) | |
| for(i = ((m = m.getElementsByClassName('AdaptiveMedia-photoContainer')).length - 1); i>=0; i--) | |
| if(u = m[i].getElementsByTagName('img')[0].src) | |
| window.open(u + ':orig') | |
| } | |
| )(); | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment