Created
March 9, 2019 21:20
-
-
Save Suvitruf/194a13aceda036f1ae68caeadf5e61f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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