Created
October 24, 2017 00:08
-
-
Save freman/c016ece53296eee15aeb08b05973f946 to your computer and use it in GitHub Desktop.
Not-Junk all the email in the outlook junk folder
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
var n = 0; | |
var repeats = 200 | |
function omg() { | |
triggerEventOnPage('._lvv_W1', 'mouseup') | |
$('._n_41 button').click(); | |
window.setTimeout(function() { | |
$('button span:contains("Not junk")').parent().click(); | |
window.setTimeout(function() { | |
$('.popupShadow ._fce_V button.ms-bcl-tp-f').click(); | |
n++; | |
if (n < repeats) { | |
triggerEventOnPage('._lvv_W1', 'mouseup') | |
window.setTimeout(omg, 200) | |
}; | |
}, 750); | |
},500) | |
} | |
omg() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment