Created
October 29, 2020 13:51
-
-
Save wylie39/03727a61880bca25b4b8d41557545760 to your computer and use it in GitHub Desktop.
Remove all users firebase auth put in chrome console
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
var intervalId; | |
var clearFunction = function() { | |
var size = $('[aria-label="Delete account"]').size() | |
if (size == 0) { | |
console.log("interval cleared") | |
clearInterval(intervalId) | |
return | |
} | |
var index = Math.floor(Math.random() * size) | |
$('[aria-label="Delete account"]')[index].click(); | |
setTimeout(function () { | |
$(".md-raised:contains(Delete)").click() | |
}, 1000); | |
}; | |
intervalId = setInterval(clearFunction, 300) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment