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 {});