Skip to content

Instantly share code, notes, and snippets.

@kuniiskywalker
Created March 21, 2019 06:31
Show Gist options
  • Save kuniiskywalker/3e00f0501e298d62ee189404db90045c to your computer and use it in GitHub Desktop.
Save kuniiskywalker/3e00f0501e298d62ee189404db90045c to your computer and use it in GitHub Desktop.
play speak
javascript:(
function(){
const uttr = new SpeechSynthesisUtterance(window.getSelection().toString());
speechSynthesis.speak(uttr);
}
)();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment