// ==UserScript==
// @name blibli hide something
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.bilibili.com/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
// ==/UserScript==
(function() {
'use strict';
//隐藏推荐列表 reco_list
document.getElementById('reco_list').style.display='none'
// 影藏弹幕列表下面的广告
let lazy = document.getElementsByClassName("lazy-img")
lazy[0].style.display='none'
lazy[1].style.display='none'
setTimeout(()=>{
//隐藏广告 b-img__inner pop-live-small-mode part-undefined
document.getElementById('reco_list').style.display='none'
document.getElementById('right-bottom-banner').style.display='none'
document.getElementById('live_recommand_report').style.display='none'
let vcd = document.getElementsByClassName("vcd")
let lazy = document.getElementsByClassName("lazy-img")
let plcard = document.getElementsByClassName("plcard")
let popLiveSmallMode = document.getElementsByClassName("pop-live-small-mode")
let partUndefined = document.getElementsByClassName("part-undefined")
vcd[0].style.display='none'
vcd[1].style.display='none'
lazy[0].style.display='none'
lazy[1].style.display='none'
pl__card[0].style.display='none'
popLiveSmallMode[0].style.display='none'
partUndefined[0].style.display='none'
},10000)
// Your code here...
})();
侧边这个直播的控制台可以消掉, 到油猴就不行了