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

动态页功能“禁止跳转动态详情”间歇性失效,或者需要等待较长时间才会生效 #1720

Closed
GalaxySnail opened this issue Apr 9, 2021 · 11 comments · Fixed by #1727
Labels
bug bug

Comments

@GalaxySnail
Copy link

GalaxySnail commented Apr 9, 2021

关于哪一项功能

动态 - 禁止跳转动态详情

问题描述

我在今天 (2021-04-09) 发现,开启“禁止跳转动态详情”的情况下,刷新或新标签页内打开B站动态页,在动态页任选一个动态,用鼠标划取一段文字后松开、或者单击动态文字,会在新标签页打开这个动态。需要等待短至十数秒、长至一分钟以上甚至数分钟,“禁止跳转动态详情”才会正常生效。

在此前(昨天)没有注意到这个问题,推测可能是B站更新所致。

脚本版本

Preview v1.12.4, 内容包: cced86b

浏览器版本

Windows10 20H2 64bit
Chromium 87.0.4280.66 64bit (从Woolyss下载的Installer版本)

错误信息

在刚刷新/打开动态页时,Console 的输出大致如下图:

截图20210409141911

在这个状态下“禁止跳转动态详情”不能正常生效。

等待一段时间后,Console 中出现一片带有 null 字样的警告,此时开始“禁止跳转动态详情”功能正常生效。

截图20210409142533

完整 log 在此

@GalaxySnail
Copy link
Author

又经过几次测试发现,似乎是需要触发一次自动打开动态详情,之后十数秒会恢复正常,如果不触发的话可能即使等很久点击动态仍然会触发。但之前也有过完全不点击动态、只等待数分钟后正常生效的情况。只是随便测试了数次,并没有严格控制变量进行多次测试。

@GalaxySnail
Copy link
Author

浏览器更新至 89.0.4389.114 版本后仍然能复现该问题,现象一致

@the1812 the1812 added the bug bug label Apr 10, 2021
@the1812
Copy link
Owner

the1812 commented Apr 10, 2021

最近动态页确实更新了

@GalaxySnail
Copy link
Author

我刚从GitHub仓库里手动更新了脚本,可是这个问题仍然存在啊(手动捂脸)

@the1812
Copy link
Owner

the1812 commented Apr 10, 2021

热更新源也换了吗

@GalaxySnail
Copy link
Author

就是刚从master分支更新的(应该是 f9521e71bac1258940c2758a9cc9e4e9c0eb8bad 这个提交吧)

@the1812
Copy link
Owner

the1812 commented Apr 10, 2021

我是指脚本设置里的更新源

@GalaxySnail
Copy link
Author

截图20210410175532

是这个吗?改过了,还是一样不行。

@the1812
Copy link
Owner

the1812 commented Apr 10, 2021

不是 是网页上左侧齿轮点开的

@GalaxySnail
Copy link
Author

哦我明白了,改过以后内容包版本号变了就好了,非常感谢。
抱歉,对这个不太熟悉(手动捂脸),以前也一直没搞清楚这个内容包到底是什么,我觉得可以在 README 或者 FAQ 里面介绍一下更新机制

@the1812
Copy link
Owner

the1812 commented Apr 10, 2021

可以的

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

Successfully merging a pull request may close this issue.

2 participants