Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// ==UserScript==
// @name dtf лента hider
// @namespace http://tampermonkey.net/
// @version 0.1
// @description hehe
// @author Suvitruf
// @match https://dtf.ru/*
// @match http://dtf.ru/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
const elLive = document.getElementsByClassName("live-wrapper");
if(elLive && elLive.length > 0) {
elLive[0].style.display = 'none';
const elLiveBody = document.getElementsByTagName('body')[0];
elLiveBody.style.paddingRight = '0px';
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.