Get image data URL in JavaScript?

I have a regular HTML page with some images (just regular <img /> HTML tags). I’d like to get their content, base64 encoded preferably, without the need to redownload the image (ie. it’s already loaded by the browser, so now I want the content).

I’d love to achieve that with Greasemonkey and Firefox.

8 Answers
8

Leave a Comment