Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- turhat_ulisijat = ["Tahmatassu"];
- var x = document.getElementsByClassName("threadauthor");
- for (var i = 0, alt = false; i < x.length; i++) {
- li = x[i].parentNode;
- if (turhat_ulisijat.includes(x[i].children[0].children[0].getAttribute("alt"))) {
- li.style.display = "none";
- continue;
- }
- if (alt) {
- li.setAttribute("class", "alt");
- } else {
- li.removeAttribute("class");
- }
- alt = !alt;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement