A Tampermonkey script that will delete all messages in ProtonMail's inbox, one page at a time.
Modified from: https://webapps.stackexchange.com/a/163035
- Firefox: https://www.mozilla.org/en-US/firefox/new/
- Tampermonkey: https://www.tampermonkey.net/
- ProtonMail: https://protonmail.com/
Please make sure you clear the Inbox of any messages you would like to keep first, otherwise you'll be sorting through the trash. If the script gets stuck, refresh the page. You may also try increasing the INTERVAL in the script.
- Install Firefox
- Install Tampermonkey browser extension for Firefox
- In Firefox, in your Extensions toolbar, click 'Tampermonkey' -> 'Dashboard'
- Click and drag 'ProtonMail - Clear Inbox.user.js' into the Tampermonkey Dashboard
- Click the 'Install' button to install the script into the Tampermonkey browser extension
- In the Tampermonkey Dashboard, enable the 'ProtonMail - Clear Inbox' script
- Open 'https://mail.protonmail.com/u/0/inbox' to access your ProtonMail inbox
- Allow the script to run until your inbox is cleared
- Disable the 'ProtonMail - Clear Inbox' script to ensure wanted emails are not accidentally deleted.