Created
December 19, 2021 03:34
-
-
Save drumnation/61871b09e6c8d8237edd2ac1f215ef14 to your computer and use it in GitHub Desktop.
erase firebase auth users from browser 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
// Try this code for the latest Firebase update. Open the console, paste this code and hit enter!!! | |
setInterval(() => { | |
document.getElementsByClassName('edit-account-button mat-focus-indicator mat-menu-trigger mat-icon-button mat-button-base')[0].click() | |
let deleteButtonPosition = document.getElementsByClassName('mat-focus-indicator mat-menu-item ng-star-inserted').length - 1 | |
document.getElementsByClassName('mat-focus-indicator mat-menu-item ng-star-inserted')[deleteButtonPosition].click() | |
document.getElementsByClassName('confirm-button mat-focus-indicator mat-raised-button mat-button-base mat-warn')[0].click() | |
}, 1000) | |
// https://stackoverflow.com/questions/38808712/delete-all-users-from-firebase-auth-console |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment