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
(function() { | |
async function runScript() { | |
function delay(ms) { return new Promise(res => setTimeout(res, ms)); } | |
// Random delay function between min and max milliseconds | |
function randomDelay(min, max) { | |
return delay(Math.floor(Math.random() * (max - min + 1)) + min); | |
} | |
// Get all image elements on the page |