Created
April 14, 2020 00:31
-
-
Save Tahax09/4a2b51ed4b8f1b1ea1a8d9157251dc87 to your computer and use it in GitHub Desktop.
a simple script to unlike facebook pages
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
//go to profile > more > likes | |
//run this in the consle | |
//run at your own risk | |
function loop() { | |
setTimeout(function unlike() { | |
document.querySelectorAll('button.PageLikedButton').forEach(b=>b.click()); | |
document.querySelectorAll('li[data-label="Unlike"] a').forEach(a=>a.click()); // Change 'Unlike' to fit your language | |
loop(); | |
}, 0); | |
} | |
loop(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment