> Is there any hope for me to set the file of an <input type="file"/> to
the URL of a captured blob by any other means?

Yes, you can emulate classic multipart form submissions with Gears.

I've just created GearsUploader project on bitbucket:
http://bitbucket.org/kmike/gearsuploader/overview/
Maybe GearsMultipartForm.js is what you need:

http://bitbucket.org/kmike/gearsuploader/src/tip/GearsUploader/GearsMultipartForm.js

On 9 окт, 21:16, Camaron <[email protected]> wrote:
> I can't use XMLHttpRequest since I need to use the original form,
> which could be any form from any website.
>
> On Sep 23, 7:03 pm, Alexandre Gomes <[email protected]> wrote:
>
>
>
> > You can try to use Gears.XMLHttpRequest to upload the blob.
>
> > On Thu, Sep 17, 2009 at 11:05 PM, Camaron <[email protected]> wrote:
>
> > > Hello
>
> > > I am trying to write a Chrome extension that allows to resize an image
> > > before uploading it.
> > > So far I've used Gears to open and scale the image, now I can't add to
> > > the original <input type="file"/> element, since FileSubmitter is only
> > > implemented in IE and Firefox.
>
> > > Is there any hope for me to set the file of an <input type="file"/> to
> > > the URL of a captured blob by any other means?

Reply via email to