ボカロとマイクラが好きな、聴くブログ

ボカロとマイクラが好きな雑記ブログ

follow us in feedly

2018-08-05から1日間の記事一覧

頭の痛い話。

頭痛の話をすると、頭が痛くなる。お前は今まで食った錠剤の数を覚えているか? 的な。頭痛の種、という比喩を生み出した人を評価したい。ほんと、タネと呼べるくらい小さな違和感から大きくなるんだよね。

follow us in feedly ** 注意 - Web Speech API非対応のブラウザでは音読できません */ (function () { if (!window.speechSynthesis) return; document.querySelectorAll('article').forEach(function (article) { var button = document.createElement('button'); button.type = 'button'; button.className = 'btn'; button.textContent = '音読する'; button.style = 'float: right'; article.querySelector('header').appendChild(button); button.addEventListener('click', function () { var synth = window.speechSynthesis; var body = article.querySelector('.entry-content').textContent; var utter = new SpeechSynthesisUtterance(body); synth.speak(utter); }); }); })();