আপনি একটি ওয়েব ব্রাউজারে উপলব্ধ একটি ওয়েব কর্মী বৈশিষ্ট্য সনাক্ত করতে নিম্নলিখিত কোড চালানোর চেষ্টা করতে পারেন:
<!DOCTYPE HTML>
<html>
<head>
<title>Big for loop</title>
<script src = "/js/modernizr-1.5.min.js"></script>
<script>
function myFunction(){
if (Modernizr.webworkers) {
alert("Congratulations!! You have web workers support." );
} else{
alert("Sorry!! You do not have web workers support." );
}
}
</script>
</head>
<body>
<button onclick = "myFunction()">Click me</button>
</body>
</html> নিম্নলিখিত ফলাফল:
