<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<button onclick="speak();">Press to manually speak</button>
<script>
function speak() {
var utterThis = new window.SpeechSynthesisUtterance()
utterThis.text = "测试测试测试测试";
window.speechSynthesis.speak(utterThis)
}
speak();
</script>
</body>
</html>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…