Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save brandy/ecb9d7c59b52cc283a490c4a6189383a to your computer and use it in GitHub Desktop.
Save brandy/ecb9d7c59b52cc283a490c4a6189383a 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.
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