I was trying to delete all the passwords stored in google at Google passwords, way too many to do manually!
Couldn’t find a solution online so here is my easy one:
// Gets all the elements to be clicked to delete the passwords.
var a = document.getElementsByClassName(“dga”)
// Click all the elements.
for(i=0; i < a.length; i++){a[i].click();}