隐藏 B 站直播间礼物栏, 防止全屏时展示礼物栏
// ==UserScript==
// @name 隐藏 B 站直播间礼物栏
// @namespace http://tampermonkey.net/
// @version 0.1
// @description 隐藏 B 站直播间礼物栏, 防止全屏时展示礼物栏
// @author gjh
// @match *://live.bilibili.com/*
// @grant none
// @license MIT
// ==/UserScript==
(function() {
'use strict';
var timer
var chenruiNMSL = function() {
var giftBar = document.querySelector('#full-screen-interactive-wrap')
if (giftBar != null) {
giftBar.remove()
}
clearInterval(timer)
}
timer = setInterval(chenruiNMSL, 5000)
})();