On Sat, Feb 27, 2010 at 1:08 AM, Fracture <[email protected]> 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 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.

Reply via email to