From eb0989f6c2310d48bfcf93a20f7ff3651e41647b Mon Sep 17 00:00:00 2001 From: Nat Lasseter Date: Wed, 15 Jun 2022 22:26:13 +0100 Subject: Speak, my lovelies, SPEAK! --- planed.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/planed.html b/planed.html index fca3d74..5483f0a 100644 --- a/planed.html +++ b/planed.html @@ -43,6 +43,8 @@ div.msg { div.innerHTML += "
" + ev.data + "
"; if (loglen > logmax) document.getElementById("msg" + (loglen - logmax)).remove(); + + speechSynthesis.speak(new SpeechSynthesisUtterance(ev.data)); }; function rantime() { -- cgit v1.2.1