您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
1.关闭智能云屏蔽 2.关闭高赞弹幕 3.关闭大会员弹幕
当前为
// ==UserScript== // @name B站弹幕hook // @version 0.1 // @description 1.关闭智能云屏蔽 2.关闭高赞弹幕 3.关闭大会员弹幕 // @author DeltaFlyer // @copyright 2024, DeltaFlyer(https://github.com/DeltaFlyerW) // @license MIT // @match https://www.bilibili.com/video/* // @run-at document-start // @grant unsafeWindow // @icon https://www.biliplus.com/favicon.ico // @require https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.0/jszip.min.js // @namespace https://gf.qytechs.cn/users/927887 // ==/UserScript== if (!unsafeWindow.Map.prototype._set) { unsafeWindow.Map.prototype._set = unsafeWindow.Map.prototype.set unsafeWindow.Map.prototype.set = function (key, value) { if (key && key.danmakuStore) { let bpx_player = key if (!bpx_player.danmakuStore._fetchDmSeg) { unsafeWindow.bpx_player = window.bpx_player = bpx_player console.log(key, value) let danmakuStore = bpx_player.danmakuStore danmakuStore._fetchDmSeg = danmakuStore.fetchDmSeg danmakuStore.fetchDmSeg = async function () { let result = await danmakuStore._fetchDmSeg(...arguments) for (let danmaku of result.details.elems) { danmaku.weight = 11 // 关闭智能云屏蔽 danmaku.attr = 1048576 // 关闭高赞弹幕 danmaku.colorful = undefined // 关闭大会员弹幕 } console.log(result) return result } } } this._set(key, value) } }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址