Created
February 14, 2024 07:04
-
-
Save minons1/106be0ccdfb7ea9a065ad805544ccc84 to your computer and use it in GitHub Desktop.
kawalpemilu.org auto refresh script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// visit website https://kawalpemilu.org | |
// open javascript console | |
// copy script below | |
const interval = 5_000 // 5s 5000ms | |
const refreshButton = document.querySelector('body > app-root > div > mat-sidenav-container > mat-sidenav-content > app-hierarchy > div > header > div > button') | |
setInterval(() => { | |
refreshButton.click() | |
}, interval) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment