Last active
April 27, 2016 17:17
-
-
Save unRob/f0e2c202ee9c859a5927 to your computer and use it in GitHub Desktop.
👻 of twitter present
This file contains hidden or 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
/* | |
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