Skip to content

Instantly share code, notes, and snippets.

@Suvitruf
Created March 9, 2019 21:20
Show Gist options
  • Save Suvitruf/194a13aceda036f1ae68caeadf5e61f1 to your computer and use it in GitHub Desktop.
Save Suvitruf/194a13aceda036f1ae68caeadf5e61f1 to your computer and use it in GitHub Desktop.
// ==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