您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
russian
当前为
// ==UserScript== // @namespace лолзтим суета // @name Удаление гудов из масс. загрузки // @version 1 // @grant none // @match https://lzt.market/mass-upload/* // @match https://lolz.market/mass-upload/* // @license MIT // @description russian // ==/UserScript== window.addEventListener('load', function() { let buttonPlace = document.querySelector('.button.smallButton.fl_r'); if (buttonPlace) { let button = document.createElement('button'); button.style.width = '200px'; button.style.height = '26px'; button.style.backgroundColor = 'rgb(54, 54, 54)'; button.style.color = 'white'; button.style.borderRadius = '5px'; button.style.boxShadow = 'none'; button.textContent = 'Очистка гудов'; buttonPlace.before(button); button.addEventListener('mousedown', function() { button.style.backgroundColor = 'rgb(45, 45, 45)'; }); button.addEventListener('mouseup', function() { button.style.backgroundColor = 'rgb(54, 54, 54)'; }); button.addEventListener('click', function() { let accounts = document.querySelectorAll('.account.checked'); accounts.forEach(function(account) { let status = account.querySelector('.AccountStatus'); if (status && status.children.length === 1 && status.children[0].tagName === 'A' && status.textContent.trim() === status.children[0].textContent) { account.remove(); } }); }); } }, false);