Last active
January 30, 2020 20:27
-
-
Save ryonagana/eb09cffbf59254998cc7913c04a00649 to your computer and use it in GitHub Desktop.
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
//feito for @admin do foroff | |
// corrigido por @MACRON DE ULTIMA ONLINE | |
//forumoff.com | |
//enquanto o forum nao for atualizado vai funcionar esse script | |
var posts = document.getElementsByClassName('cPost'); | |
// adicione o nick dos octarios pra ser negativado | |
var octarios = ["rolha"]; | |
for(var i = 0; i < posts.length;i++){ | |
var usuario_suino = posts[i].querySelector('a').text; | |
if(octarios.includes(usuario_suino)){ | |
var reacts = posts[i].getElementsByClassName("ipsReact_name"); | |
for (var index = 0; index < reacts.length; index++){ | |
var item = reacts[index]; | |
if (item.textContent == 'Que merda'){ | |
item.click(); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment