cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <h1>Accessibility demo for Chrome</h1>
<a id="linkage" href="http://www.jasonmayes.com" target="_blank">View my website</a>
<p id="constructor">Listening / constructing sentence... Stop talking and wait to finish command. Say new command only when this disappears.</p>
<div id="center">
<h2 class="leading">A fully customizable demonstration of how to control a webpage using voice commands in Chrome to enhance accessibility of a webpage. You can use key voice commands such as "Scroll Down", "Scroll Up", or "Scroll to x percent" to navigate the page in this demo. Clearly possibilities are endless. Try it out now! Allow access to your microphone (at top of the screen) and then start using the commands. Enjoy!</h2>

  <p>I have made the components really easy to extend yourself with your own commands and functions to handle the actions for commands you specify. Any questions, just ask :-)</p>
  
<p>Kitty ipsum dolor sit amet, pharetra faucibus enim ut tail flick run, amet adipiscing bibendum sleep on your keyboard sleep on your keyboard. Eat claw non faucibus ac nunc, justo sleep in the sink rip the couch purr nunc enim. Sniff kittens rip the couch puking, feed me run quis nunc lick judging you attack jump on the table. Leap purr mauris a sleep on your face shed everywhere, knock over the lamp puking vel zzz jump on the table consectetur chuf. Etiam neque feed me feed me nam toss the mousie, faucibus sleep on your keyboard suscipit suspendisse. Aliquam jump libero rip the couch, nam chase the red dot iaculis dolor nibh scratched. </p><p>Etiam litter box sagittis quis litter box, toss the mousie purr attack iaculis shed everywhere libero give me fish. Scratched sniff suscipit chuf vulputate, libero attack puking attack your ankles nullam nam suspendisse. Sniff consectetur consectetur sleep in the sink leap, stuck in a tree aliquam aliquam nibh give me fish lay down in your way. Sagittis mauris a I don't like that food sollicitudin catnip tristique, vehicula shed everywhere zzz mauris a elit tincidunt a. Tincidunt a tempus rhoncus ac puking, et iaculis vel puking faucibus. Vestibulum claw jump on the table in viverra, dolor faucibus ac knock over the lamp nibh suspendisse jump. </p><p>Run rutrum zzz enim fluffy fur bat, purr justo jump dolor cras nec. Quis tristique rip the couch tempus sniff etiam, neque tail flick toss the mousie purr orci turpis litter box. Tristique chase the red dot scratched elit biting sunbathe, nunc chase the red dot lick zzz. Fluffy fur non sagittis scratched, neque climb the curtains justo enim judging you libero. Run meow vulputate leap, sunbathe leap suspendisse tincidunt a run adipiscing. Puking leap litter box pharetra sleep on your keyboard, libero zzz sleep in the sink orci turpis knock over the lamp. </p><p>Tortor quis et chase the red dot, biting tincidunt a ac shed everywhere bibendum attack your ankles tortor. Cras nec faucibus pharetra enim run, chase the red dot enim ut nam rip the couch cras nec leap. Knock over the lamp bibendum et fluffy fur in viverra, nibh tristique rip the couch tortor quis nunc attack. Nibh quis rhoncus tempus chase the red dot, vel attack bibendum egestas lick quis consectetur. Enim ut feed me dolor sniff stuck in a tree amet, tempus egestas justo knock over the lamp mauris a. Vestibulum accumsan orci turpis tristique stuck in a tree, nibh attack your ankles faucibus orci turpis nam enim ut. Eat faucibus tempus leap vel, faucibus mauris a vulputate rhoncus faucibus. Aliquam I don't like that food sunbathe meow, litter box accumsan stretching tempus climb the curtains I don't like that food. </p><p>Sleep in the sink enim ut justo bat, meow non sagittis leap claw stretching eat the grass nibh. Rip the couch attack bibendum attack your ankles hairball, toss the mousie suspendisse rutrum iaculis et chuf. Et etiam sollicitudin stretching enim, accumsan attack in viverra libero catnip kittens vehicula. Meow etiam vehicula adipiscing fluffy fur, tristique rutrum faucibus attack your ankles tail flick hairball. Tincidunt a tristique ac attack libero, tincidunt a consectetur justo jump on the table sollicitudin. Vehicula rip the couch tincidunt a fluffy fur, sleep in the sink mauris a in viverra sleep on your face quis nunc rip the couch chase the red dot. </p><p>Tail flick tristique meow in viverra hairball eat the grass, faucibus suspendisse hiss eat tristique. Suspendisse et bibendum purr hiss, vel jump on the table enim ut sollicitudin mauris a tristique. Shed everywhere quis nunc sleep on your face sunbathe sleep on your keyboard iaculis, enim ut orci turpis suscipit consectetur. Tortor ac climb the curtains vel vehicula biting, I don't like that food sleep in the sink judging you bat adipiscing. Catnip lick biting rip the couch nibh sniff, sagittis run puking attack purr. Quis nunc quis nunc quis nunc chuf, tempus adipiscing tempus lay down in your way amet faucibus libero accumsan. Consectetur purr sleep on your face zzz nam consectetur, attack your ankles eat the grass aliquam tortor. </p><p>Puking chuf amet toss the mousie attack, aliquam zzz vulputate in viverra lay down in your way. Neque iaculis sunbathe rhoncus rutrum biting, aliquam meow elit vel. Scratched stuck in a tree nibh amet vehicula leap, attack your ankles rhoncus suspendisse cras nec leap vel. Rip the couch sagittis biting feed me suscipit libero, chase the red dot dolor egestas pellentesque sleep in the sink. Rip the couch stuck in a tree enim ac chuf jump, tail flick judging you tristique rutrum fluffy fur enim ut. Justo pellentesque justo enim ut knock over the lamp sunbathe, quis nunc leap meow faucibus leap vestibulum. </p><p>Stretching nibh tempus stuck in a tree accumsan, adipiscing et eat the grass vulputate meow lay down in your way in viverra. Run knock over the lamp vehicula sleep in the sink sollicitudin, sleep in the sink rutrum claw jump on the table sagittis accumsan enim. Jump libero rip the couch catnip, eat the grass sagittis hiss bat hiss sleep in the sink. Orci turpis hairball egestas sollicitudin shed everywhere give me fish, sleep in the sink eat the grass rip the couch mauris a. Feed me vehicula amet judging you adipiscing claw, et run in viverra stuck in a tree elit. In viverra chuf sleep in the sink stuck in a tree fluffy fur suscipit, sleep on your keyboard sleep in the sink stuck in a tree dolor. Adipiscing accumsan lay down in your way sagittis faucibus mauris a, iaculis nam enim ut faucibus suspendisse tincidunt a. Purr hairball meow dolor vehicula, scratched sniff tincidunt a sunbathe quis nunc vestibulum. </p><p>Iaculis sleep in the sink justo give me fish enim sagittis, aliquam neque mauris a judging you. Kittens sleep on your keyboard vel sagittis, pellentesque jump on the table eat vestibulum faucibus adipiscing. Quis nunc feed me toss the mousie attack your ankles iaculis stuck in a tree, tortor scratched rip the couch chuf orci turpis mauris a. Dolor sagittis hairball give me fish, tail flick climb the curtains jump justo elit enim ut. Et consectetur hairball in viverra catnip toss the mousie, bibendum purr climb the curtains sleep on your face quis nullam. Iaculis tempus claw fluffy fur run tincidunt a, leap bibendum vehicula iaculis. Libero enim ut shed everywhere et feed me, cras nec consectetur faucibus quis attack your ankles faucibus. Litter box rutrum rip the couch quis sleep in the sink egestas, toss the mousie claw accumsan give me fish nibh tempus. </p><p>Toss the mousie pellentesque give me fish vel, nam give me fish jump on the table sollicitudin catnip rhoncus faucibus. Tincidunt a sleep in the sink climb the curtains tempus puking, chuf non nam iaculis vestibulum tempus. Leap ac sleep on your keyboard jump, enim climb the curtains egestas sunbathe hairball sunbathe bat. Rhoncus nibh fluffy fur tincidunt a sleep in the sink aliquam, quis nunc rip the couch suspendisse quis nunc bat jump on the table. Nullam run eat purr give me fish lick, iaculis shed everywhere sleep on your keyboard jump on the table. Stretching sleep on your face orci turpis rutrum vehicula adipiscing, leap leap amet pharetra chase the red dot. Enim ut sleep on your face nullam ac, consectetur cras nec rip the couch tristique justo eat the grass tail flick. Eat the grass meow sleep on your keyboard zzz faucibus, vel tincidunt a vulputate tortor puking enim ut. </p><p>Hairball tortor jump vestibulum, run tincidunt a hiss enim dolor tempus climb the curtains pharetra. Sleep on your face aliquam sniff lay down in your way, biting hairball rhoncus dolor quis nunc attack pellentesque. Stretching bat suscipit sunbathe purr, vel sleep in the sink mauris a shed everywhere sollicitudin. Adipiscing nunc sleep on your keyboard eat the grass, catnip chuf sniff tail flick feed me nibh hairball. Catnip quis hairball run tail flick libero, suscipit rip the couch stuck in a tree vehicula enim. Litter box kittens quis nunc judging you, I don't like that food litter box attack your ankles tortor attack aliquam. Sniff toss the mousie et nam rip the couch pharetra, attack your ankles adipiscing faucibus suscipit. Run lay down in your way neque kittens, iaculis justo kittens lick chuf hiss. </p><p>Iaculis faucibus iaculis claw, vehicula bibendum I don't like that food sleep on your face give me fish vel tincidunt a. Etiam quis vehicula feed me, sleep on your face jump on the table sleep in the sink lay down in your way pharetra biting. Claw rutrum quis chuf neque catnip, nunc zzz rhoncus justo. Nullam knock over the lamp stuck in a tree sleep in the sink, aliquam claw tincidunt a tristique tempus judging you judging you eat. Give me fish shed everywhere suspendisse sniff stuck in a tree quis, ac orci turpis vulputate sleep in the sink rutrum sleep in the sink. Scratched dolor hairball eat the grass, et etiam knock over the lamp jump on the table dolor in viverra. Non suscipit scratched give me fish jump nullam, tortor lay down in your way meow sunbathe. Libero vel aliquam bibendum, judging you faucibus puking stuck in a tree neque nam stretching feed me. </p>		<p>Kitty ipsum dolor sit amet, pharetra faucibus enim ut tail flick run, amet adipiscing bibendum sleep on your keyboard sleep on your keyboard. Eat claw non faucibus ac nunc, justo sleep in the sink rip the couch purr nunc enim. Sniff kittens rip the couch puking, feed me run quis nunc lick judging you attack jump on the table. Leap purr mauris a sleep on your face shed everywhere, knock over the lamp puking vel zzz jump on the table consectetur chuf. Etiam neque feed me feed me nam toss the mousie, faucibus sleep on your keyboard suscipit suspendisse. Aliquam jump libero rip the couch, nam chase the red dot iaculis dolor nibh scratched. </p><p>Etiam litter box sagittis quis litter box, toss the mousie purr attack iaculis shed everywhere libero give me fish. Scratched sniff suscipit chuf vulputate, libero attack puking attack your ankles nullam nam suspendisse. Sniff consectetur consectetur sleep in the sink leap, stuck in a tree aliquam aliquam nibh give me fish lay down in your way. Sagittis mauris a I don't like that food sollicitudin catnip tristique, vehicula shed everywhere zzz mauris a elit tincidunt a. Tincidunt a tempus rhoncus ac puking, et iaculis vel puking faucibus. Vestibulum claw jump on the table in viverra, dolor faucibus ac knock over the lamp nibh suspendisse jump. </p><p>Run rutrum zzz enim fluffy fur bat, purr justo jump dolor cras nec. Quis tristique rip the couch tempus sniff etiam, neque tail flick toss the mousie purr orci turpis litter box. Tristique chase the red dot scratched elit biting sunbathe, nunc chase the red dot lick zzz. Fluffy fur non sagittis scratched, neque climb the curtains justo enim judging you libero. Run meow vulputate leap, sunbathe leap suspendisse tincidunt a run adipiscing. Puking leap litter box pharetra sleep on your keyboard, libero zzz sleep in the sink orci turpis knock over the lamp. </p><p>Tortor quis et chase the red dot, biting tincidunt a ac shed everywhere bibendum attack your ankles tortor. Cras nec faucibus pharetra enim run, chase the red dot enim ut nam rip the couch cras nec leap. Knock over the lamp bibendum et fluffy fur in viverra, nibh tristique rip the couch tortor quis nunc attack. Nibh quis rhoncus tempus chase the red dot, vel attack bibendum egestas lick quis consectetur. Enim ut feed me dolor sniff stuck in a tree amet, tempus egestas justo knock over the lamp mauris a. Vestibulum accumsan orci turpis tristique stuck in a tree, nibh attack your ankles faucibus orci turpis nam enim ut. Eat faucibus tempus leap vel, faucibus mauris a vulputate rhoncus faucibus. Aliquam I don't like that food sunbathe meow, litter box accumsan stretching tempus climb the curtains I don't like that food. </p><p>Sleep in the sink enim ut justo bat, meow non sagittis leap claw stretching eat the grass nibh. Rip the couch attack bibendum attack your ankles hairball, toss the mousie suspendisse rutrum iaculis et chuf. Et etiam sollicitudin stretching enim, accumsan attack in viverra libero catnip kittens vehicula. Meow etiam vehicula adipiscing fluffy fur, tristique rutrum faucibus attack your ankles tail flick hairball. Tincidunt a tristique ac attack libero, tincidunt a consectetur justo jump on the table sollicitudin. Vehicula rip the couch tincidunt a fluffy fur, sleep in the sink mauris a in viverra sleep on your face quis nunc rip the couch chase the red dot. </p><p>Tail flick tristique meow in viverra hairball eat the grass, faucibus suspendisse hiss eat tristique. Suspendisse et bibendum purr hiss, vel jump on the table enim ut sollicitudin mauris a tristique. Shed everywhere quis nunc sleep on your face sunbathe sleep on your keyboard iaculis, enim ut orci turpis suscipit consectetur. Tortor ac climb the curtains vel vehicula biting, I don't like that food sleep in the sink judging you bat adipiscing. Catnip lick biting rip the couch nibh sniff, sagittis run puking attack purr. Quis nunc quis nunc quis nunc chuf, tempus adipiscing tempus lay down in your way amet faucibus libero accumsan. Consectetur purr sleep on your face zzz nam consectetur, attack your ankles eat the grass aliquam tortor. </p><p>Puking chuf amet toss the mousie attack, aliquam zzz vulputate in viverra lay down in your way. Neque iaculis sunbathe rhoncus rutrum biting, aliquam meow elit vel. Scratched stuck in a tree nibh amet vehicula leap, attack your ankles rhoncus suspendisse cras nec leap vel. Rip the couch sagittis biting feed me suscipit libero, chase the red dot dolor egestas pellentesque sleep in the sink. Rip the couch stuck in a tree enim ac chuf jump, tail flick judging you tristique rutrum fluffy fur enim ut. Justo pellentesque justo enim ut knock over the lamp sunbathe, quis nunc leap meow faucibus leap vestibulum. </p><p>Stretching nibh tempus stuck in a tree accumsan, adipiscing et eat the grass vulputate meow lay down in your way in viverra. Run knock over the lamp vehicula sleep in the sink sollicitudin, sleep in the sink rutrum claw jump on the table sagittis accumsan enim. Jump libero rip the couch catnip, eat the grass sagittis hiss bat hiss sleep in the sink. Orci turpis hairball egestas sollicitudin shed everywhere give me fish, sleep in the sink eat the grass rip the couch mauris a. Feed me vehicula amet judging you adipiscing claw, et run in viverra stuck in a tree elit. In viverra chuf sleep in the sink stuck in a tree fluffy fur suscipit, sleep on your keyboard sleep in the sink stuck in a tree dolor. Adipiscing accumsan lay down in your way sagittis faucibus mauris a, iaculis nam enim ut faucibus suspendisse tincidunt a. Purr hairball meow dolor vehicula, scratched sniff tincidunt a sunbathe quis nunc vestibulum. </p><p>Iaculis sleep in the sink justo give me fish enim sagittis, aliquam neque mauris a judging you. Kittens sleep on your keyboard vel sagittis, pellentesque jump on the table eat vestibulum faucibus adipiscing. Quis nunc feed me toss the mousie attack your ankles iaculis stuck in a tree, tortor scratched rip the couch chuf orci turpis mauris a. Dolor sagittis hairball give me fish, tail flick climb the curtains jump justo elit enim ut. Et consectetur hairball in viverra catnip toss the mousie, bibendum purr climb the curtains sleep on your face quis nullam. Iaculis tempus claw fluffy fur run tincidunt a, leap bibendum vehicula iaculis. Libero enim ut shed everywhere et feed me, cras nec consectetur faucibus quis attack your ankles faucibus. Litter box rutrum rip the couch quis sleep in the sink egestas, toss the mousie claw accumsan give me fish nibh tempus. </p><p>Toss the mousie pellentesque give me fish vel, nam give me fish jump on the table sollicitudin catnip rhoncus faucibus. Tincidunt a sleep in the sink climb the curtains tempus puking, chuf non nam iaculis vestibulum tempus. Leap ac sleep on your keyboard jump, enim climb the curtains egestas sunbathe hairball sunbathe bat. Rhoncus nibh fluffy fur tincidunt a sleep in the sink aliquam, quis nunc rip the couch suspendisse quis nunc bat jump on the table. Nullam run eat purr give me fish lick, iaculis shed everywhere sleep on your keyboard jump on the table. Stretching sleep on your face orci turpis rutrum vehicula adipiscing, leap leap amet pharetra chase the red dot. Enim ut sleep on your face nullam ac, consectetur cras nec rip the couch tristique justo eat the grass tail flick. Eat the grass meow sleep on your keyboard zzz faucibus, vel tincidunt a vulputate tortor puking enim ut. </p><p>Hairball tortor jump vestibulum, run tincidunt a hiss enim dolor tempus climb the curtains pharetra. Sleep on your face aliquam sniff lay down in your way, biting hairball rhoncus dolor quis nunc attack pellentesque. Stretching bat suscipit sunbathe purr, vel sleep in the sink mauris a shed everywhere sollicitudin. Adipiscing nunc sleep on your keyboard eat the grass, catnip chuf sniff tail flick feed me nibh hairball. Catnip quis hairball run tail flick libero, suscipit rip the couch stuck in a tree vehicula enim. Litter box kittens quis nunc judging you, I don't like that food litter box attack your ankles tortor attack aliquam. Sniff toss the mousie et nam rip the couch pharetra, attack your ankles adipiscing faucibus suscipit. Run lay down in your way neque kittens, iaculis justo kittens lick chuf hiss. </p><p>Iaculis faucibus iaculis claw, vehicula bibendum I don't like that food sleep on your face give me fish vel tincidunt a. Etiam quis vehicula feed me, sleep on your face jump on the table sleep in the sink lay down in your way pharetra biting. Claw rutrum quis chuf neque catnip, nunc zzz rhoncus justo. Nullam knock over the lamp stuck in a tree sleep in the sink, aliquam claw tincidunt a tristique tempus judging you judging you eat. Give me fish shed everywhere suspendisse sniff stuck in a tree quis, ac orci turpis vulputate sleep in the sink rutrum sleep in the sink. Scratched dolor hairball eat the grass, et etiam knock over the lamp jump on the table dolor in viverra. Non suscipit scratched give me fish jump nullam, tortor lay down in your way meow sunbathe. Libero vel aliquam bibendum, judging you faucibus puking stuck in a tree neque nam stretching feed me. </p>
</div>
            
          
!
            
              h1 {
  text-align:center;
  margin-top:50px;
}

h1, p, h2, a {
  font-family:'arial';
  color:#3d3d3d;
}

p {
  font-size:10pt;
  font-style:italic;
  color:#686868;
  text-align:left;
}

p.leading {
  font-weight:bold;
}

#center {
  margin:50px auto;
  width:70%;
}

#linkage {
  position:fixed;
  top:145px;
  left:0px;
  background-color:#3d3d3d;
  color:#ffffff;
  text-decoration:none;
  padding:5px;
  width:10%;
}

#constructor, #computer {
  position:fixed;
  top:0;
  left:0;
  right:0;
  padding:5px;
  margin:0;
  background-color:#db772e;
  color:#ffffff;
  display:none;
  opacity:0.8;
}
            
          
!
            
              /*
 * Coded by Jason Mayes 2013 for Chrome.
 * Please keep this disclaimer if you use this code.
 * www.jasonmayes.com
*/
window.requestAnimationFrame = (function() {
  return  window.requestAnimationFrame       || 
          window.webkitRequestAnimationFrame || 
          window.mozRequestAnimationFrame    || 
          window.oRequestAnimationFrame      || 
          window.msRequestAnimationFrame     || 
          function( callback ){
            window.setTimeout(callback, 1000 / 60);
          };
})();

var speaker = function() {
  var audio = new Audio();
  return {
    say: function(query, language) {
      audio.src = 'https://translate.google.com/translate_tts?ie=utf-8&tl=' +
          language + '&q=' + encodeURIComponent(query);
      audio.play();
    }
  };
}();

var animator = function() {
  var amount = 0;
  var scrollInProgess = false;
  var tailOff = 16;

  function evaluate (functionName, humanReadableComplete) {
    amount = amount - Math.ceil(amount / tailOff); 
    if (amount > 0) {
      requestAnimationFrame(functionName);
    } else {
      scrollInProgess = false;
      speaker.say(humanReadableComplete, 'en');
    }
  }

  function getDocHeight() {
    var D = document;
    return Math.max(
      D.body.scrollHeight, D.documentElement.scrollHeight,
      D.body.offsetHeight, D.documentElement.offsetHeight,
      D.body.clientHeight, D.documentElement.clientHeight
    );
  }

  function scrollDownReal(timestamp) {
    window.scrollBy(0, Math.ceil(amount / tailOff));  
    evaluate(scrollDownReal, 'Scroll complete');
  }

  function scrollUpReal(timestamp) {
    window.scrollBy(0, -Math.ceil(amount / tailOff));
    evaluate(scrollUpReal, 'Scroll complete');
  }

  return {
    setTailoff: function(tailAmount) {
      tailOff = tailAmount;
    },
    scrollDown: function(pixels) {
      if (!scrollInProgess) {
        scrollInProgess = true;
        amount = pixels;
        requestAnimationFrame(scrollDownReal);
      }
    },
    scrollUp: function(pixels) {
      if (!scrollInProgess) {
        scrollInProgess = true;
        amount = pixels;
        requestAnimationFrame(scrollUpReal);
      }
    },
    scrollToPercent: function(percent) {
      if (!scrollInProgess) {
        scrollInProgess = true;
        var offset = ((getDocHeight() * (percent / 100)) - document.body.scrollTop);
        if (offset > 0) {
          amount = offset;
          requestAnimationFrame(scrollDownReal);
        } else {
          amount = -offset;
          requestAnimationFrame(scrollUpReal);
        }
      }
    },
  };
}();


var webSpeech = function() {
  var recognition = new webkitSpeechRecognition();
  var pixelAmount = 500;
  var commands = {
    'scroll down': animator.scrollDown,
    'scroll up': animator.scrollUp
  };

  function voiceStart(event) {
    document.getElementById('constructor').style.display = 'block';
  }

  function voiceEnd(event) {
    document.getElementById('constructor').style.display = 'none';
  }

  function detect(event) {
    for (var i = event.resultIndex; i < event.results.length; i++) {
      if (event.results[i].isFinal) {
        var command = event.results[i][0].transcript.replace(/^\s+|\s+$/g, '');
        console.log(command);
        voiceEnd();
        if (command.match(/scroll to [0-9]+ percent/g) != null) {
          animator.scrollToPercent(command.split(' ')[2]);
        }
        else if(commands[command] != undefined) {
          commands[command](pixelAmount);
        }
      } else {
        voiceStart();
      }
    }
  }

  return {
    listen: function() {
      recognition.continuous = true;
      recognition.interimResults = true;
      //recognition.lang = "en-UK";
      recognition.onresult = detect;
      recognition.start();
    }
  };
}();

webSpeech.listen();
            
          
!
999px
Loading ..................

Console