Browser Support for Web Workers

Web Workers are supported in the following browsers.

■ Safari 4+
■ Chrome 5+
■ Firefox 3.5+
■ Opera 10.6+

Web Workers are currently unsupported in all versions of IE, iOS, and Android.

Testing browser support
To test if the browser supports Web Workers, use the following feature-detect for the Worker API.
var webworkers_support = !!window.Worker;
[OR]

You can test for Web Worker support by checking whether the object is undefined.
if (typeof Worker != "undefined") {
// do the jazzy stuff
}
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +