Nathanwoodburn.github.io/templates/assets/js/hacker-podcast.min.js
Nathan Woodburn eea21cea1e
All checks were successful
Build Docker / BuildImage (push) Successful in 1m10s
fix: Don't show loader to google crawler
2024-07-01 11:37:19 +10:00

1 line
429 B
JavaScript

const letters="ABCDEFGHIJKLMNOPQRSTUVWXYZ/.?!@#$%^&*()_+";let interval=null,interval2=null,interval3=null;document.querySelector(".copyright").onmouseover=t=>{let e=0,l="Copyright © Nathan.Woodburn/ 2024";clearInterval(interval2),interval2=setInterval((()=>{t.target.innerText=t.target.innerText.split("").map(((t,r)=>r<e?l[r]:letters[Math.floor(41*Math.random())])).join(""),e>=l.length&&clearInterval(interval2),e+=1/3}),10)};