恢复评论区翻页功能。
提前了注入时机,试试看有没有问题吧
没有办法生效,还是瀑布式的加载方式
console报错如下:
[Report Only] Refused to load the font '' because it violates the following Content Security Policy directive: "default-src 'self' data: *.bilibili.com *.hdslb.com". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback.
dynamic:31 [Report Only] Refused to load the font 'https://at.alicdn.com/t/font_438759_d66lkuno6c9.woff2?t=1636699893382' because it violates the following Content Security Policy directive: "default-src 'self' data: *.bilibili.com *.hdslb.com". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback.
dynamic:31 [Report Only] Refused to load the font 'https://at.alicdn.com/t/font_438759_d66lkuno6c9.woff?t=1636699893382' because it violates the following Content Security Policy directive: "default-src 'self' data: *.bilibili.com *.hdslb.com". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback.
dynamic:31 [Report Only] Refused to load the font 'https://at.alicdn.com/t/font_438759_d66lkuno6c9.ttf?t=1636699893382' because it violates the following Content Security Policy directive: "default-src 'self' data: *.bilibili.com *.hdslb.com". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback.
dynamic:1 [Report Only] Refused to load the font 'https://cdn.jsdelivr.net/gh/Templarian/MaterialDesign-Webfont@5.3.45/fonts/materialdesignicons-webfont.woff2?v=5.3.45' because it violates the following Content Security Policy directive: "default-src 'self' data: *.bilibili.com *.hdslb.com". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback.
dynamic:1 [Report Only] Refused to load the font 'https://cdn.jsdelivr.net/gh/Templarian/MaterialDesign-Webfont@5.3.45/fonts/materialdesignicons-webfont.woff?v=5.3.45' because it violates the following Content Security Policy directive: "default-src 'self' data: *.bilibili.com *.hdslb.com". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback.
dynamic:1 [Report Only] Refused to load the font 'https://cdn.jsdelivr.net/gh/Templarian/MaterialDesign-Webfont@5.3.45/fonts/materialdesignicons-webfont.ttf?v=5.3.45' because it violates the following Content Security Policy directive: "default-src 'self' data: *.bilibili.com *.hdslb.com". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback.
[Report Only] Refused to load the stylesheet 'https://cdn.jsdelivr.net/gh/Templarian/MaterialDesign-Webfont@5.3.45/css/materialdesignicons.min.css' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' *.hdslb.com static.geetest.com". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.
倒是有点像这个问题 https://github.com/MotooriKashin/Bilibili-Old/issues/313
但我这里始终无法复现。
严重怀疑是脚本注入速度的问题,或许可以用排除法先禁用其他脚本或扩展试试
请问能否将这个功能扩展到动态上面