Skip to content

Instantly share code, notes, and snippets.

@unRob
Last active April 27, 2016 17:17
Show Gist options
  • Save unRob/f0e2c202ee9c859a5927 to your computer and use it in GitHub Desktop.
Save unRob/f0e2c202ee9c859a5927 to your computer and use it in GitHub Desktop.
👻 of twitter present
/*
1. Entra a https://twitter.com/followers
2. Haz scroll hasta que se carguen todos tus followers
3. Corre el código de allá abajo en la consola de tu navegador
4. ???
5. PROFIT!!1!
*/
(function(){
var followers = document.querySelectorAll('.js-actionable-user .u-linkComplex-target'), for_realz = followers.length,
for_lulz = parseInt(document.querySelector('.ProfileNav-item--followers .ProfileNav-value').innerText, 10);
alert((for_realz == for_lulz) && "YAY! Twitter no está en drogas!" || "En realidad tienes "+for_realz+" followers");
return [].map.call(followers, function(el){ return el.innerText; });
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment