// ==UserScript== // @name Убрать зеленую полосу загрузки на lolz.live // @namespace http://tampermonkey.net/ // @version 0.1 // @description Отключает функцию, отвечающую за зеленую полосу загрузки. // @author zalup // @match https://lolz.live/* // @grant none // @run-at document-start // ==/UserScript== (function() { 'use strict'; const originalCreateElement = document.createElement; document.createElement = function(tagName) { if (tagName.toLowerCase() === 'div') { const element = originalCreateElement.call(this, tagName); const style = document.createElement('style'); style.textContent = ` .progress-bar.lztng-1gz3dko { display: none !important; } `; document.head.appendChild(style); document.createElement = originalCreateElement; } return originalCreateElement.apply(this, arguments); }; })(); Код // ==UserScript== // @name Убрать зеленую полосу загрузки на lolz.live // @namespace http://tampermonkey.net/ // @version 0.1 // @description Отключает функцию, отвечающую за зеленую полосу загрузки. // @author zalup // @match https://lolz.live/* // @grant none // @run-at document-start // ==/UserScript== (function() { 'use strict'; const originalCreateElement = document.createElement; document.createElement = function(tagName) { if (tagName.toLowerCase() === 'div') { const element = originalCreateElement.call(this, tagName); const style = document.createElement('style'); style.textContent = ` .progress-bar.lztng-1gz3dko { display: none !important; } `; document.head.appendChild(style); document.createElement = originalCreateElement; } return originalCreateElement.apply(this, arguments); }; })();