Hi, 
I was trying to get the data URL of an image on a webpage I have my script 
running on, but I get the error : 'The operation is insecure' while doing 
that. I understand that this is probably due to cross-origin restriction, 
but I was just wondering when the other cross origin restrictions don't 
apply (GM_xmlHTTPRequest), why should this do with a GreaseMonkey script. I 
am using the top method given here to convert an image object to its 
corresponding Data URL : 
http://stackoverflow.com/questions/934012/get-image-data-in-javascript 

Is there any way to make it work? Any way to get the data URL of an image 
object will work for me. 

Thanks! 

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to