Skip to content

Instantly share code, notes, and snippets.

@seoh
Created January 6, 2015 11:19
Show Gist options
  • Save seoh/b35a76ec6cec96e246fc to your computer and use it in GitHub Desktop.
Save seoh/b35a76ec6cec96e246fc to your computer and use it in GitHub Desktop.
Find Beholders in Twitter
// Expand all of followers and execute in console.
// [followers](https://twitter.com/followers)
var users = [].slice.call(document.querySelectorAll("div[data-test-selector=ProfileTimelineUser]"));
users.filter(function(user){
return !user.querySelector("span.Icon--protected");
}).map(function(user){
user.parentNode.removeChild(user);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment