🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

【移动端】bilibili优化

阻止跳转App、App端推荐视频流、解锁视频画质(番剧解锁需配合其它插件)、美化显示、去广告等

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Autor
WhiteSevs
Installationen heute
4
Installationen gesamt
11.225
Bewertungen
46 1 0
Version
2025.11.27
Erstellt am
11.05.2024
Letzte Aktualisierung
27.11.2025
Größe
662 KB
Lizenz
GPL-3.0-only
Wird angewandt auf

【移动端】bilibili 优化

注:并非所有功能都是默认开启,有些功能需要到油猴菜单中打开【设置】,手动开启功能。

一个对移动端 bilibili 进行优化的油猴脚本。

特性

  • [x] 修复用户主页跳转 404
  • [x] 新标签页打开
  • [x] 允许复制网页内容
  • [x] 阻止唤醒 App
  • [x] 成分检测(评论区、用户主页)
  • [x] 评论模块
  • [x] 简介模块
  • [x] 美化视频卡片
  • [x] 新增推荐视频 tab
  • [x] ArtPlayer 播放器(播放功能强化,可选择视频清晰度)
  • [x] 解除番剧区域搜索和播放
  • [x] 自动展开全文
  • [x] 修复点击跳转视频、用户主页、其它内容
  • [x] 等其它功能...

安装

注:建议使用浏览器扩展执行本脚本。

  • 浏览器扩展的功能和 Api 更完整
  • 非浏览器扩展使用脚本会遇到更多使用上的问题(跨域问题、脚本冲突等)

dash & 番剧

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

  • 套壳类浏览器,例如:Via浏览器X浏览器需要对m.bilibili.com设定浏览器标识(UserAgent)iPhone
  • 可安装扩展的浏览器,例如:可拓Kiwi狐猴等,需安装插件Header Editor
商店名 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": []
}

赞赏支持

微信赞赏 支付宝赞赏