Created
September 22, 2020 10:26
-
-
Save alexander-schranz/c5389dc0ac57dcefd7003c706a67fe6c to your computer and use it in GitHub Desktop.
Scan all keys in redis insight
This file contains 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
/* | |
* Run the following script in browser dev tools when having redis insight open | |
* to continue searching for the keypattern until the scan is completed | |
*/ | |
var intervalId = setInterval( | |
() => { | |
var button = document.querySelector('button'); | |
if (button.disabled) { | |
clearInterval(intervalId); | |
} | |
if ('SCAN MORE' === button.innerText) { | |
button.click(); | |
} | |
}, | |
200 | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment