您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
bilibili hide
// ==UserScript== // @name Bilibili Hider // @description bilibili hide // @version 0.1.2 // @author Kanna阿飘大hentai // @namespace http://weibo.com/Mr256luch // @grant none // @include https://live.bilibili.com/p/eden/area-tags?areaId=0&parentAreaId=9 // ==/UserScript== (function() { setInterval(function() { var list = document.querySelectorAll('.text-info-ctnr span'), i; for(i=0; i<list.length; i++){ if(list[i].getAttribute("title")){ var thisStr = list[i].getAttribute("title") var findStr = ["转播","测试直播"] findStr.forEach(function (item, index, array) { if(list[i].getAttribute("title").indexOf(item)+1){ list[i].parentNode.parentNode.parentNode.style.display = 'none'; } }); } } }, 10); })();