Last active
December 23, 2015 16:39
-
-
Save jmurowaniecki/6663677 to your computer and use it in GitHub Desktop.
Lista todos amiguinhos conectados no Facebook e bola uma piadinha para cada um..
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
J = $$('.uiTextareaAutogrow')[0]; | |
J.focus(); | |
for (e = $$('.fbChatOrderedList ._55lr'), | |
a = ['faz', 'beija', 'olha', 'lambe', 'xinga', 'acerta', 'empurra', 'chuta'], | |
b = ['murcha', 'treme', 'brilha', 'vira purpurina', 'chora', 'desiste'], | |
f = function (r) { | |
r.push(F = r.shift()); | |
return F; | |
}, | |
i = 0, | |
I = e.length, | |
t = ''; | |
i<I; | |
i++) | |
t += 'Teu recalque ' + f(a) + ' ' + e[i].innerText + ' e ' + f(b) + '\n'; | |
setTimeout(function () { | |
J.value = t; | |
$$('button')[3].click(); | |
}, 2013); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Não funciona mais. A implementação do React no Facebook ferrou nossa brincadeira 😄 outra hora procuro atualizar. Se tiveres alguma ideia comentários são bem vindos.