Greasy Fork is available in English.

【移动端】bilibili优化

免登录(但登录后可以看更多评论)、阻止跳转App、App端推荐视频流、解锁视频画质(番剧解锁需配合其它插件)、美化显示、去广告等

ავტორი
WhiteSevs
დღიური ინსტალაციები
45
მთლიანი ინსტალაციები
7 519
რეიტინგი
24 0 0
ვერსია
2024.11.11
შექმნილია
11.05.2024
განახლებულია
11.11.2024
ლიცენზია
GPL-3.0-only
გამოყენებს მათ

TypeScript + Vite

脚手架

介绍

建议开启设置中 的tinyApp

  • 视频和番剧使用ArtPlayer播放器
  • 支持mp4、flv、dash视频的播放,注意:dash视频需配合插件使用
  • 支持替换番剧upos源
  • 解锁番剧画质(最高720p,需要登录账号)
  • App推荐视频(需通过油猴菜单->扫码获取access_token,或者设置中手动输入access_token)
  • 去除影响观看的元素
  • 美化显示
  • 伪装登录(对解锁画质无效)
  • 覆盖点击事件(阻止唤醒App或下载App)
  • 阻止调用App
  • 补充视频UP信息
  • ...等

画质解锁的限制

番剧画质解锁需要设置RefererUser-Agent鉴权,但RefererUser-Agent无法通过油猴脚本设置,所以只能通过插件设置。

套壳类浏览器例如:Via浏览器X浏览器可以把m.bilibili.com设定浏览器标识(UserAgent)iPhone

画质解锁

需安装插件Header Editor

商店名 链接
Edge https://microsoftedge.microsoft.com/addons/detail/header-editor/afopnekiinpekooejpchnkgfffaeceko
Chrome https://chromewebstore.google.com/detail/header-editor/eningockdidmgiojffjmkdblpjocbhgh?hl=zh-CN
Firefox https://addons.mozilla.org/zh-CN/firefox/addon/header-editor

将下面的规则自行创建一个xxx.json文件,粘贴进去,导入到插件即可,或者复制链接

复制配置链接(fastly节点) 复制配置链接(testingcf节点) 复制配置链接(gcore节点)

{
    "request": [],
    "sendHeader": [
        {
            "enable": true,
            "name": "哔哩哔哩解锁播放限制",
            "ruleType": "modifySendHeader",
            "matchType": "regexp",
            "pattern": "https://.*.(bilivideo.com|akamaized.net|bilivideo.cn).*?",
            "exclude": "",
            "group": "未分组",
            "isFunction": true,
            "action": {
                "name": "referer",
                "value": "https://www.bilibili.com/"
            },
            "code": "for (const index in val) {\n    let headerItem = val[index];\n\tif (headerItem.name.toLowerCase() === 'referer') {\n\t\theaderItem.value = \"https://www.bilibili.com/\"\n\t}else if(headerItem.name.toLowerCase() === 'user-agent'){\n                headerItem.value = \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36\"\n        }\n}"
        }
    ],
    "receiveHeader": [],
    "receiveBody": []
}