I'm trying to get the base64 string of an image using only javascript.

This has to work only on firefox 3.5+ since it's a greasemonkey script.

I can't use the **canvas** workaround since it's on a another server and this throws a security exception.

Thanks for any idea.