Greasy Fork is available in English.
Черный список ЛЗТ
当前为
// ==UserScript==
// @name BLACKLIST-LZT
// @namespace BLACKLIST-LZT
// @version 1
// @description Черный список ЛЗТ
// @author анапа2007
// @match https://zelenka.guru/*
// @match https://lolz.guru/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=zelenka.guru
// @grant unsafeWindow
// @license анапа2007
// ==/UserScript==
(function() {
'use strict';
const userId = [4526055, 130411, 291806, 4392978, 431587, 3740180, 2655428, 4949238, 106631, 4261050, 222815, 3146986, 3909739, 6266214];
const button = document.querySelector('button.lzt-fe-se-sendMessageButton');
const div = document.querySelector('div.fr-element.fr-view.fr-element-scroll-visible');
if (button && div) {
button.addEventListener('click', function() {
const elements = [];
const childElements = div.children;
for (var i = 0; i < childElements.length; i++) elements.push(childElements[i].outerHTML);
if(elements.length != 0) div.innerHTML = `[exceptids=${userId.join(",")}]` + elements.join("<br>") + "[/exceptids]"
setTimeout(function(){
div.innerHTML = ``;
}, 1);
});
}
})();