Untitled
unknown
plain_text
9 months ago
605 B
4
Indexable
(function () {
'use strict';
if (!!window.SpeechSynthesisUtterance || !!window.speechSynthesis) {
return;
}
window.SpeechSynthesisUtterance = function (text) {
return {
lang: 'en',
volume: 1.0,
onend: function () { },
onstart: function () { },
text: text
};
};
window.speechSynthesis = {
speak: function (utterance) { },
'cancel': function () { },
'pause': function () { },
'resume': function () { },
'getVoices': function () { return []; },
};
})();Editor is loading...
Leave a Comment