Skip to content

Instantly share code, notes, and snippets.

facebook
/*
Instead use this extention https://chrome.google.com/webstore/detail/unfollow-multiple-fb-frie/cbodficgeliglmldlablaoimafadffcp
#unfollow all friends (Only for PC or laptop))
# go to News Feed preferences
# select Unfollow people and groups to hide their posts
# select Friends only
# open browser console and add this code
*/
var items = document.getElementsByClassName('_43x8');
for(var i =0; i<=items.length ; i++){
items[i].getElementsByTagName('img')[0].click()};
/* todo fix setTimeout*/
var items = document.getElementsByClassName('_43x8');
for(var i =0; i<=items.length ; i++){
setTimeout(function(){ items[i].getElementsByTagName('img')[0].click()} , 1000)};
@MoatazAbdAlmageed
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment