Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bradchoate/254699 to your computer and use it in GitHub Desktop.
Save bradchoate/254699 to your computer and use it in GitHub Desktop.
javascript:var%20body=document.getElementsByTagName("body")[0];var%20bgimage=window.getComputedStyle(body).getPropertyValue("background-image");if%20(bgimage=="none")bgimage=body.background;else%20bgimage=bgimage.replace(/(^url\(|\)$)/g,'');if(bgimage)window.open(bgimage);else%20alert("No%20background%20image%20could%20be%20located.");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment