Created
March 30, 2018 15:35
-
-
Save lucahammer/03805822afaf6efb68024ed90cafa8a8 to your computer and use it in GitHub Desktop.
add all Facebook contacts to a list
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
// Create new List | |
// Choose Manage List -> Edit List | |
// Scroll to bottom of friends. | |
// Execute code | |
var friends = document.querySelectorAll('.friendListItem'); | |
for (var i = 0; i < friends.length; i++) { | |
friends[i].click(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment