NOTICE: By continued use of this site you understand and agree to the binding Palveluehdot and Tietosuojakäytäntö.
Install steps: Install a userscript manager, select Install, then open a website matched by the script.
The following figures come from the original source and are separate from activity on this site.
Original script: 哔哩免登录看评论+1080p视频+免弹窗
Source version: 3.0.2
Last source check:
Last successful check:
Requests received by this site are not proof that a user completed installation.
Clicking Install records a request on this site; it does not confirm installation. Not working after install? View troubleshooting and issues
通过拦截部分 Bilibili 关键接口的请求与响应,在未登录状态下获得接近登录用户的完整体验。
判断登录状态 已登录时不进行任何请求拦截,避免干扰原有体验
默认高清画质 视频打开即加载 1080P,有着比自动画质试用更好的体验
视频字幕与翻译支持
完整评论区展示
所有可能触发登录弹窗的操作均不会弹窗
观看历史、收藏功能正在支持中...
前往 GreasyFork
pnpm build
# 压缩产物
pnpm build:min
fetch 与 XMLHttpRequest 的拦截必须发生在 document-start 阶段,因此开发不直接执行 pnpm dev,而是采用以下流程:
通过 Violentmonkey 插件追踪构建产物变化(这里用 Live Server 给脚本产物启用了本地服务)
在 vite.config.ts 中配置 build.emptyOutDir=false,选择覆盖而不是删除产物,这样插件才能实时响应文件的变化,还能同时存在压缩与未压缩构建产物
build: {
emptyOutDir: false
}
该方式可以确保拦截逻辑在浏览器生命周期的最早阶段生效同时保证一定开发体验
项目具体实现原理可以看 dev_motes 与部分 issue
vite-plugin-monkey: 实用的 vite 油猴脚本构建插件
ajaxHooker: 实用的请求拦截库,项目在此库基础上添加.d.ts 类型定义,并遵循原作者 GNU LGPL-3.0 协议
Luokitus: 68.1