Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
有用户 向 pakku 反映 开启 pakku 之后用 Bilibili-Evolved 下载的仍然是处理之前的原始弹幕,导致他还要手工处理一下,比较麻烦。
这是因为 pakku 曾经 hook 了 XMLHttpRequest,而且处理得有问题,导致 Bilibili-Evolved 改用 fetch 来下载(未经 pakku 修改的)弹幕。
刚更新的 pakku v2024.4.3 版本解决了兼容性问题,同时也 hook 了
fetch
函数,这样两个插件就可以共存了。可以 安装新版 pakku 试一下效果。我本地测试了一下,把 Bilibili-Evolved 下载弹幕代码的
fetch()
改成unsafeWindow.fetch()
即可下载 pakku 处理之后的弹幕(如未安装新版 pakku 时则会正常调用原始的fetch
)。