Skip to content

Instantly share code, notes, and snippets.

@fgimenez
Created April 14, 2020 11:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fgimenez/e34e9f7c55dc68e6e9acc1902b1dfe4d to your computer and use it in GitHub Desktop.
Save fgimenez/e34e9f7c55dc68e6e9acc1902b1dfe4d to your computer and use it in GitHub Desktop.
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