Here are the basics you will need for text to speech.
It should work on all browsers but if not you can put if or else statement checking if 'speechSynthesis' in window exists or is supported.
var msg = new SpeechSynthesisUtterance();
msg.text = "Hello, my name is Peter";
window.speechSynthesis.speak(msg);
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)