Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: 删除视频弹窗、禁用特殊弹幕样式适配灰测 #4839

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

festoney8
Copy link
Contributor

@festoney8 festoney8 commented Jul 22, 2024

fix #4831 , fix #4823

目前部分设备删除视频弹窗失效、禁用特殊弹幕样式失效,像灰测,已知 Safari 会出现这一情况,可尝试在 Chrome 复现:

  1. 用 Safari 的 UA 访问视频页,head 内会出现与 Chrome 不同哈希值的 core.js (要看运气)

image

  1. 在 Chrome 内使用 https://github.com/fengyc/URLRedirector 对 core.js 链接进行重定向,即可获得带有 -x- 特征的弹幕和弹窗

image

  1. 分析可知新版弹窗样式在 widget js 文件内 样本链接

  2. 不知道 B 站什么时候继续改类名(或者放弃铺开测试),但愿多生效一阵

PS.

  1. 弹窗屏蔽 scss 代码里视频预告的测试链接失效了,暂未找到替代链接
  2. 禁用特殊弹幕样式,大会员弹幕可以在描边类型修改时实时变化,但普通弹幕不会变,原因是官方没做

@festoney8 festoney8 changed the title Fix: 删除视频弹窗适配灰测 Fix: 删除视频弹窗、禁用特殊弹幕样式适配灰测 Jul 23, 2024
@the1812 the1812 merged commit dffb95d into the1812:preview-fixes Jul 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants