Last active
July 13, 2019 18:33
-
-
Save GustavoJobstraibizer/1616b4849ba540659079567756a06ef6 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
setInterval(function() { | |
var countUnsubscribe = 0; | |
var buttonsExit = document.querySelectorAll('._0mzm-.sqdOP.L3NKy._8A5w5'); | |
var buttonUnsubscribe = document.querySelector('.aOOlW.-Cab_'); | |
if (buttonsExit[1]) { | |
buttonsExit[1].click(); | |
} | |
buttonUnsubscribe.click(); | |
countUnsubscribe++; | |
console.log(`You've unsubscribe ${countUnsubscribe} subscriptions.`); | |
}, 2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment