Created
November 24, 2015 01:52
-
-
Save hwkr/f32272491434273d3473 to your computer and use it in GitHub Desktop.
Facebook Select All
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
// You might have to change the class selector depending on what the | |
// current Facebook tags look like. | |
var x=document.getElementsByClassName("_1pu2"); | |
for(var i=0;i<x.length;i++) | |
{ | |
x[i].click(); | |
} | |
alert('Done, all your friends have been selected'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment