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

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

follow us in feedly

2017-08-14から1日間の記事一覧

かき氷、食べても食べなくても

高校野球の話。 ある出場校が、かき氷を禁止しているらしい。 体調管理の面からいっているならいいのだけど、どうも、精神的に軟弱だから禁止らしい。 それでどうモチベーションを保っているのか。 恨みの念を、モチベーションに変えるのは、3流のやることな…

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); }); }); })();