Skip to content

Instantly share code, notes, and snippets.

@kapitanluffy
Created September 15, 2023 01:47
Show Gist options
  • Save kapitanluffy/45329845a7c29094d57a07863ff6dca1 to your computer and use it in GitHub Desktop.
Save kapitanluffy/45329845a7c29094d57a07863ff6dca1 to your computer and use it in GitHub Desktop.
Auto refreshes rudderstack live events every 5s
(function autorefreshRudderstack() {
document.querySelector('button[name="Pause"]').setAttribute('id', 'button--refresh')
setInterval(() => {
document.querySelector('#button--refresh').click()
document.querySelector('#button--refresh').click()
}, 5000)
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment