script.js scrapbox.PopupMenu.addButton({
title: 'speech',
onClick: text => {
if(! window.speechSynthesis) return text;
let ssu = new SpeechSynthesisUtterance()
ssu.text = text;
ssu.lang = 'ja-JP';
speechSynthesis.speak(ssu);
}
})