Skip to content

Instantly share code, notes, and snippets.

@ethanaobrien
Created October 28, 2022 18:30
Show Gist options
  • Save ethanaobrien/3e933a936e64b469d4d60ebaf9245880 to your computer and use it in GitHub Desktop.
Save ethanaobrien/3e933a936e64b469d4d60ebaf9245880 to your computer and use it in GitHub Desktop.
setInterval(() => {
Array.from(document.getElementsByTagName('div')).forEach(e => {
if (Array.from(e.getElementsByTagName('div')).length === 0) {
e.innerHTML = 'we should do breakout';
}
})
}, 10)
@ethanaobrien
Copy link
Author

Youre welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment