Thx, I try application/octet-stream but nothing happend, data not
send (0 errors on console):
data: "answear=" + canvas.toDataURL("image/jpeg")
Only answear is send. It works as expected only when I use
"application/x-www-form-urlencoded" data are send.
But I saw another problem. I use canvas to read this data. But when I
get data, put on browser and save image I see sth strange: img looks
like the same but not the same. Canvas version is bigger, pixels are
not the same.
Any idea why? How can I save exacly the same img like the source using
JS in Greasemonkey?
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en.