Created
October 24, 2016 19:20
-
-
Save RyanCavanaugh/5616e330e66cea4e2946d6f49ba94f6d to your computer and use it in GitHub Desktop.
Mark as read
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 ignames = ["andy-ms", "mhegazy", "vladima"]; | |
var i = 100; | |
ignames.forEach(function (nm) { | |
$$('ul.notifications div.avatar-stack img[alt="@' + nm + '"]:first-child').forEach(function(el) { | |
var e = el.parentNode.parentNode.parentNode; | |
var b = e.getElementsByClassName("delete")[0].getElementsByTagName("button")[0]; | |
window.setTimeout(function() { b.click(); } , i += 100); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment