Skip to content

Instantly share code, notes, and snippets.

@netsi1964
Created September 19, 2022 12:15
Pretend that scrolling around a page happens :-)
let all = Array.from(document.querySelectorAll('*'));
setInterval(() => {
all[Math.floor(Math.random()*all.length)].scrollIntoView({behavior: "smooth", block: "end", inline: "nearest"})
}, 800)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment