Last active
April 25, 2019 21:17
-
-
Save SupaMic/9da44aaa86fcc744ceba6862210ba749 to your computer and use it in GitHub Desktop.
Delete all the emails in my Roundcube inbox javascript snippet
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
/**** | |
Click on first email in list to highlight | |
then right click >> inspect element to dive into the iframe | |
then run this in the console | |
then you might need to click on the top email once in awhile or change the interval higher | |
*****/ | |
function rmEmail(){ | |
document.getElementById("messagelist").children[1].children[0].click(); | |
document.getElementById("rcmbtn112").click(); | |
} | |
var interval = setInterval(rmEmail, 200); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment