Created
April 14, 2020 11:23
-
-
Save fgimenez/e34e9f7c55dc68e6e9acc1902b1dfe4d to your computer and use it in GitHub Desktop.
This file contains 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
g = () => { | |
document.getElementsByClassName("mx_RoomStatusBar_resend_link")[0].click(); | |
timer0 = setTimeout(() => { | |
x = document.getElementsByClassName("mx_MemberDeviceInfo_verify"); | |
if (x.length > 0) { | |
console.log(`x.length: ${x.length}`) | |
x[0].click(); | |
timer = setTimeout(() => { | |
document.getElementsByClassName("mx_linkButton")[0].click(); | |
timer2 = setTimeout(() => { | |
document.getElementsByClassName("mx_Dialog_primary")[0].click(); | |
timer = setTimeout(g, 100); | |
}, 100); | |
}, 100); | |
} | |
}, 100); | |
}; | |
g() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment