Skip to content

Instantly share code, notes, and snippets.

@laboon
Created July 16, 2019 14:26
Show Gist options
  • Save laboon/457515d20bb328e485d8025b86d101cd to your computer and use it in GitHub Desktop.
Save laboon/457515d20bb328e485d8025b86d101cd to your computer and use it in GitHub Desktop.
c = 0;
x = document.getElementsByClassName("mx_MemberDeviceInfo_verify");
f = () => {
if (c < x.length) {
x[c++].click();
timer = setTimeout(() => {
document.getElementsByClassName("mx_linkButton")[0].click();
timer2 = setTimeout(() => {
document.getElementsByClassName("mx_Dialog_primary")[0].click();
timer = setTimeout(f, 0);
}, 0);
}, 0);
}
};
f()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment