-
-
Save Zer0t3ch/bb70960319c3a74b6d76 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// <rant> to actual rant | |
// (requires modern browsers) | |
var rants = document.getElementsByTagName('rant'); | |
for (i=0;i<rants.length;i++) { | |
var rant = new SpeechSynthesisUtterance(rants[i].innerHTML); | |
window.speechSynthesis.speak(rant); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment