【JavaScript】リダイレクト(window.location.href) 投稿者: デイレコ | 2020年8月23日 0件のコメント window.location.href =””の中にリダイレクトさせたいurlを記入。 1234<script> alert('【練習】DairyRecord-blogに移動します'); window.location.href = "https://dailyrecords.blog/";</script> OKボタンを押したらリダイレクトされます。