Greasy Fork is available in English.

BlackList

Черный список для табуна

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        BlackList
// @namespace   stc
// @description Черный список для табуна
// @include     http://tabun.everypony.ru/blog/*
// @version     1.5.1
// @grant       none
// ==/UserScript==

//Текст, на который замещаются комментарии людей из черного списка
replace = "Комментарий удален"

//Список имен пользователей, находящихся в черном списке. Пример заполнения:
//users = ["Имя Первого пользователя", "Имя Второго Пользователя"]
//Пользователей может быть любое количество.
users = ["Sasha-Flyer"]

DeleteComments = function(){
    for(c=0; c<users.length;c++){
        els = document.getElementsByClassName("comment-author")
        for(i=0; i<els.length;i++){
            if(els[i].innerText==" "+users[c]){
                els[i].parentNode.parentNode.getElementsByClassName("text")[0].innerText = replace;
            }
        }
    }
}
DeleteComments()
setInterval(DeleteComments, 2000)