斗鱼净化

斗鱼净化,隐藏评论区

// ==UserScript==
// @name         斗鱼净化
// @namespace    http://tampermonkey.net/
// @version      0.1.2
// @description  斗鱼净化,隐藏评论区
// @description  斗鱼净化,隐藏礼物栏
// @description  斗鱼净化,隐藏首页下面的推荐
// @author       LeeShaoyu
// @match        *://www.douyu.com/**
// @require      https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js
// @grant        none
// ==/UserScript==

(function () {
    'use strict';
    var toolbar = $('#js-player-toolbar')
    var asideMain = $('#js-player-asideMain')
    var Customize = $('.layout-Customize')
    var js_main = $('#js-main')
    if (toolbar.length) {
        $(toolbar).hide()
    }
    if (asideMain.length) {
        $(asideMain).hide()
    }
    if (Customize.length) {
        $(Customize).hide()
    }
    if (js_main.length) {
        $(js_main).attr("style","display:none;")
    }
})();