Created
October 19, 2019 07:55
-
-
Save harmtemolder/dc0eafe0af685c79fc9f9040e6309e29 to your computer and use it in GitHub Desktop.
Pasting this script in your developer console will select all emails in the current view, click the trash button and repeat
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
(function myLoop (i) { | |
setTimeout(function () { | |
$('#selectAll').click(); | |
setTimeout(() => {$('.toolbar-btn-trash')[0].click()}, 2000); | |
if (--i) myLoop(i); | |
}, 4000) | |
})(25); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A variation that will unstar all in folder: