Skip to content

Instantly share code, notes, and snippets.

@alexander-schranz
Created September 22, 2020 10:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save alexander-schranz/c5389dc0ac57dcefd7003c706a67fe6c to your computer and use it in GitHub Desktop.
Save alexander-schranz/c5389dc0ac57dcefd7003c706a67fe6c to your computer and use it in GitHub Desktop.
Scan all keys in redis insight
/*
* 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