Created
September 2, 2019 11:58
-
-
Save idoo/7e7cb27176b3553229f7a392a43b21d0 to your computer and use it in GitHub Desktop.
Yandex music free mode without popups
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
const popupID = 'idOfBlock'; | |
const closeButtonID = 'closeButtonId'; | |
const checkExist = setInterval(function() { | |
if (document.getElementById(popupID).length) { | |
document.getElementById(closeButtonID).click(); | |
} | |
}, 1500); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment