How to Check Whether or Not a Browser Supports Web Workers

Using the Modernizr script, we can check if the browser supports web workers. Please see the JavaScript code below for an example.

$(document).ready(function () {            if (!Modernizr.webworkers)              //there is no support            {}); 
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: