Last active
July 31, 2019 18:14
-
-
Save eslam-mahmoud/63537913d7700671aba4afa07d7174e1 to your computer and use it in GitHub Desktop.
Unlike all 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
// 1- go to https://www.facebook.com/pages/?category=liked | |
// 2- inspect to find the unlike class name | |
// 3- add it to unlikeClassName var and run that gist | |
var unlikeClassName = '_43rm' | |
Array.from(document.getElementsByClassName(unlikeClassName)).forEach((el) => { | |
el.click(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment