Last active
July 22, 2020 22:52
-
-
Save dalmo3/679daee62d7dbd445fa663b69dc484ac to your computer and use it in GitHub Desktop.
Skype Web /Hangouts auto recall if unavailable
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
//Skype | |
//on the call screen | |
let title="Audio Call" | |
document.querySelector(`[title=${title}]`).click(); | |
let i2 = setInterval(() => { | |
console.log('trying...') | |
let b = document.querySelector(`[title=${title}]`).click(); | |
b && b.click(); | |
},1000) | |
//hangouts | |
let title="Call +55 11 4002-0022" | |
document.querySelector(`[title="${title}"]`).click(); | |
let i2 = setInterval(() => { | |
console.log('trying...') | |
let b = document.querySelector(`[title="${title}"]`).click(); | |
b && b.click(); | |
},1000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment