Version: 2023091201
As of 9/2023 LastPass still apparently has no way to allow bulk deletion of passwords without clicking a checkbox on every single password. For many this is fine but for some like me this is very tedious. Frankly it's unacceptable that LastPass, who I pay $ to every year for Premium, still has no "Select All" option here.
In any case until/unless LastPass adds a "Select All" option, this script does that step for you. Usage:
- Go to your LastPass vault
- Search for the passwords you want to delete
- Run this script in DevTools console
- Review all items listed in the console that have now been "checked" for deletion
- Uncheck any passwords you DON'T want to delete
- Use the LastPass action dropdown to select DELETE
- Enjoy bulk deletion (without having to click EVERY single checkbox)
$('.tile.space-clickable').each(function(){
if($(this).is(":visible")){
console.log('... selecting [' + $('.vault-item-displayname p',$(this))[0].innerText + '] for deletion.');
$(this).trigger('click');
}
});
Autistic?... probably. Saved me time?... 100%.
- WARNING: USE AT OWN RISK / All outcomes are your responsibility
- This script may stop working if/when LastPass changes how their vault works and/or adds something similar themselves (here's hoping).