Use unsafeWindow.Worker instead. The sandboxed version seems to be broken.

Am Samstag, 27. Februar 2010 13:10:28 UTC+1 schrieb esquifit:
>
> On Sat, Feb 27, 2010 at 1:08 AM, Fracture <[email protected]<javascript:>> 
> wrote:
> > As far as I know, it can't be done.  However, you might want to try
> > using a data URI if you really, really need a worker.
>
> data: urls where the first thing I checked after reading the original
> post, but it didn't seem to work. Actually, I can't even get it to
> work with true external urls. I tested the examples from MDC in
> Greasemonkey and I got 'Fail to load script...' , errors, so there is
> probably some extra complication involved.
>
> > Not sure which MIME type you would use.
>
> According to the specs, the mime type is not taken into account and
> always assumed to be some form of javascript, see
>
> http://www.whatwg.org/specs/web-workers/current-work/#run-a-worker
>
>

-- 
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.

Reply via email to