Sounds like a reasonable feature request. https://github.com/greasemonkey/greasemonkey/issues/new
On Tue, Feb 11, 2014 at 3:26 PM, Kabir Sala <[email protected]> wrote: > Hi, > I need to fetch an image from the web (any site), and then store it > locally in a Blob. > I can do this using xmlhttpRequest, by setting the responseType to "blob". > But as the images I have to download aren't on the same domain, I need to > use GM_xmlhttprequest (for CORS). > > But GM_xmlhttprequest doesn't support the responseType, so the resulting > Blob is not valid. > > I've tried searching on Google, the most common suggestion it's to set > "text/plain; charset=x-user-defined" as the mime type and then do some > local processing, but it doesn't work (at least in my case). It's also an > "hacky" solution, as the javascript code has to read every byte from the > request. > > So my question is, there is a good alternative? Or even just a working one? > Or there is any plan to support responseType within GM_xmlhttprequest? > > -- > 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 http://groups.google.com/group/greasemonkey-users. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 http://groups.google.com/group/greasemonkey-users. For more options, visit https://groups.google.com/groups/opt_out.
