Created
February 21, 2022 10:35
-
-
Save aereal/7c9168a26ae00d43b28748ac2684db04 to your computer and use it in GitHub Desktop.
run on https://www.gmo.jp/brand/sv/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
const content = document | |
.querySelector(".main-content-inner") | |
.textContent.replace(/\s+/g, " "); | |
// init | |
speechSynthesis.speak(new SpeechSynthesisUtterance("")); | |
const utter = new SpeechSynthesisUtterance(content); | |
utter.lang = "ja-JP"; | |
speechSynthesis.speak(utter); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment