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

[Other]页面抖动 #165

Closed
Kodakolor opened this issue Oct 28, 2024 · 6 comments · Fixed by #170
Closed

[Other]页面抖动 #165

Kodakolor opened this issue Oct 28, 2024 · 6 comments · Fixed by #170
Labels
bug Something isn't working

Comments

@Kodakolor
Copy link

image

在小窗播放开启的情况下,设置了图中这个选项,会出现页面抖动的情况。往下拉到评论区,评论区的宽度会跳到默认值。
关掉小窗播放,就不会有这个问题。

@festoney8
Copy link
Owner

我这里 Chrome130 和 Firefox131 都没能复现,请提供一下你使用的浏览器版本和脚本管理器版本

@Kodakolor
Copy link
Author

浏览器版本: Chrome 130
脚本管理器版本:bilibili-cleaner 4.0.2 (Tampermonkey 5.3.1)
小窗播放出现前:
image
小窗播放出现后:
image

@festoney8
Copy link
Owner

我这里无法复现,请问这一现象是近期出现的还是一直就有?

考虑几个可能,一是插件冲突,试一下只启用本插件时是否有这一情况,二是 B 站在灰度测试播放页改动,影响了插件

@Kodakolor
Copy link
Author

我一开始用这个脚本的时候就关闭了小窗播放的功能,并且隐藏了小窗播放的按钮,之前使用的时候一直没有出现过这个问题。
只启用本插件也会有这个问题。
重装了Chrome之后重新安装脚本才出现的这个问题,可能是你说的后者的原因。
我这边的复现步骤是:

  1. 设定视频宽度调节(比默认的小)
  2. 开启小窗播放功能
  3. 页面往下拉,小窗出现前,评论区的宽度按设定的出现;小窗出现后,评论区宽度会恢复默认值。
  4. 在写本条comment时,新发现:非宽屏模式下的播放器会出现这个问题;宽屏模式以及网页全屏都不会出现这个问题。

@festoney8 festoney8 added the bug Something isn't working label Nov 2, 2024
@festoney8
Copy link
Owner

把这个功能的代码翻新了一下,试试 这个build,还有没有这一现象

下载产物并解压,手动复制 bilibili-cleaner.user.js 文件的代码到 Tampermonkey 里更新脚本即可

@Kodakolor
Copy link
Author

好了!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants