Created
June 19, 2020 09:36
-
-
Save Nemo64/b02f1ca704fb5b65ed625883c038283c to your computer and use it in GitHub Desktop.
a script you can execute to delete all password in chrome. You may need to run it multiple times due to timing issues.
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
// $0 = <password-list-item> so you'll need to pick that element in your browser first | |
// then execute this script until your password list is empty (there is a timing issue but after about 3 tries the password list is empty) | |
$0.parentNode.querySelectorAll('password-list-item').forEach(item => { | |
item.shadowRoot.querySelector('#passwordMenu').click(); | |
item.parentNode.parentNode.parentNode.querySelector('#menuRemovePassword').click(); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment