Created
March 18, 2020 04:37
-
-
Save fkmhrk/4a3585e14520e6e90b1e34f7dc915ce2 to your computer and use it in GitHub Desktop.
isKagawa()
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 isKagawa = () => { | |
if (window.confirm('本サービスはゲーム要素を含んでいます。あなたは香川県民ですか?')) { | |
window.location.href = '< replace here >'; | |
return; | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment