ロケーションバーでアニメーションするのをtwitterで見かけて、いいなと思ったのでやってみる。
<script> (() => { let chars = ["🌕", "🌖", "🌗", "🌘", "🌑", "🌒", "🌓", "🌔"]; setInterval(() => { history.replaceState({}, '', location.pathname+location.search+'#'+chars[0]); chars.push(chars.shift()); }, 100); })(); </script>
Animate your url transitions for that extra flair ✨ pic.twitter.com/w4VEeQjfJf
— Neal Agarwal (@nealagarwal) 2020年8月12日