Created
February 5, 2014 20:16
-
-
Save marknotfound/8832135 to your computer and use it in GitHub Desktop.
A bookmarklet to remove Gmail's image proxy links so you can load locally hosted images in your Gmail inbox during email tests.
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 e=new RegExp("^https://[a-zA-Z0-9]+.googleusercontent.com/proxy/[a-zA-Z0-9_-]+[=][a-zA-Z0-9-+]+#");var t=document.getElementsByTagName("img");for(var n=0;n<t.length;n++){t[n].src=t[n].src.replace(e,"")}})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm bad at regex and there's probably a better way to do this, but it works.