Skip to content

Instantly share code, notes, and snippets.

@johnholdun
Created April 9, 2011 22:43
Show Gist options
  • Save johnholdun/911852 to your computer and use it in GitHub Desktop.
Save johnholdun/911852 to your computer and use it in GitHub Desktop.
Bookmarklet for uploading the image currently loaded in your browser to imgur
// that is, navigate to the direct URL for an image hosted on the world wide web, then >>>INVOKE<<<
// i wanted the bookmarklet to redirect to the new direct image URL but that was out of scope!
javascript:void(window.location="http://api.imgur.com/2/upload.json?url="+encodeURIComponent(window.location.href));
@mauran
Copy link

mauran commented May 14, 2013

Just what i needed. Thanks!

@Two-Tone
Copy link

Out of date. Their API has changed and this no longer works.

@sryper
Copy link

sryper commented Apr 20, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment