Last active
August 29, 2017 14:07
-
-
Save imthenachoman/33ac31e02a96474cb36754c19153be28 to your computer and use it in GitHub Desktop.
JavaScript snippet to unlike all your liked activity on FaceBook
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
function startIt() | |
{ | |
document.querySelectorAll(".mrs._2fmu.img.sp_XaQA31b2wGR_2x.sx_06c0ed")[0].click(); | |
setTimeout(function() | |
{ | |
[].slice.call(document.querySelectorAll("a[rel='async-post'][role='menuitem']")).pop().click(); | |
setTimeout(startIt, 2000); | |
}, 1000); | |
} | |
startIt(); | |
// works best if you go to your FB pages activity page and then filter on "Likes" | |
// and then scroll all the way down until it loads everything and then run the above | |
// sometimes it gets stuck so you might have to reload the page and start over |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment