the1812 / Bilibili-Evolved

强大的哔哩哔哩增强脚本
Other
23.37k stars 1.6k forks source link

视频选集切换时的网址问题 #3488

Open NightSharp opened 2 years ago

NightSharp commented 2 years ago

对应功能

网址AV号转换 Commit: 95fbb00c7 内部名称: avUrl

问题描述

在视频选集中切换视频时 地址栏中的链接并没有发生变化,刷新后会退回原视频 比如av598227224 屏幕截图 2022-07-07 235507 屏幕截图 2022-07-07 235544

脚本版本

v2.3.1-preview

浏览器版本

Firefox 102.0 (64 位)

播放器版本

2.81.6-235b7d28

播放策略

默认

错误信息

Bilibili Evolved plugins block time: 0ms for 30 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved plugins resolve time: 10ms for 30 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved 网址参数清理 https://www.bilibili.com/video/av215686780/ https://www.bilibili.com/video/av215686780 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved 网址参数清理 https://www.bilibili.com/video/av215686780?vd_source=89dbc1afe0b9ca5b5a91a0c542e55dc1 https://www.bilibili.com/video/av215686780 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved 
Array [ 842105038, 753557334 ]
 215686780 false Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved videoChange 215686780 215686780 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved components block time: 3ms for 45 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved components resolve time: 12943ms for 45 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved init block time: 0ms for 6 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved init resolve time: 2959ms for 6 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved requestedPopup true Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved plugins block time: 3ms for 30 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved plugins resolve time: 23ms for 30 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved requestedPopup false Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved 网址参数清理 https://www.bilibili.com/video/BV1xB4y1e7Y6/?spm_id_from=333.788 https://www.bilibili.com/video/BV1xB4y1e7Y6 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved videoChange 598227224 598227224 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved 
Array [ 842105038, 753557334 ]
 598227224 false Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved videoChange 215686780 215686780 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved 
Array [ 842105038, 753557334 ]
 215686780 false Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved context update Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved 网址参数清理 https://www.bilibili.com/video/BV1xB4y1e7Y6/?spm_id_from=333.788&vd_source=89dbc1afe0b9ca5b5a91a0c542e55dc1 https://www.bilibili.com/video/BV1xB4y1e7Y6 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved requestedPopup true 3 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved plugins block time: 0ms for 30 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved plugins resolve time: 8ms for 30 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved 
Array [ {…}, {…} ]
Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved requestedPopup false Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved requestedPopup true Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved requestedPopup true Bilibili Evolved (Preview).user.js:216:1992

附加截图

No response

the1812 commented 2 years ago

image AV 号转换的已知副作用, 没啥解决办法

NightSharp commented 2 years ago

image AV 号转换的已知副作用, 没啥解决办法

可不可以实现 在打开该选项时,将页面内的所有自带BV链接的字段全部转换成AV形式

Geeyun-JY3 commented 2 years ago

可不可以实现 在打开该选项时,将页面内的所有自带BV链接的字段全部转换成AV形式

这事在 网址AV号转换 这功能造成切 P 性能问题的时候就已经讨论过了:#1243、#1254。

另外有不少这功能的脚本(后面这个是我在一直在用的,覆盖相对比较全):https://greasyfork.org/scripts/398535 不过在 BV 号的大势所趋下都很难做到完美。 装了上面这个脚本就不需要装 Bilibili Evolved 的 网址AV号转换 组件了。

NightSharp commented 2 years ago

可不可以实现 在打开该选项时,将页面内的所有自带BV链接的字段全部转换成AV形式

这事 BV 号刚出来的时候已经讨论过了:#1243、#1254。

另外有不少这功能的脚本(后面这个是我在一直在用的,覆盖相对比较全):https://greasyfork.org/scripts/398535 不过在 BV 号的大势所趋下都很难做到完美。 装了上面这个脚本就不需要装 Bilibili Evolved 的 网址AV号转换 组件了。

我关闭了网址AV转换,然后使用了AntiBV脚本 但仍然存在无法切换的现象,彻底关闭EvovledAntiBV在切换时的表现才恢复正常 这种情况下我需要怎么处理呢,日志如下

Bilibili Evolved plugins block time: 1ms for 30 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved plugins resolve time: 8ms for 30 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved 
Array [ 842105038, 753557334 ]
 215686780 false Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved videoChange 215686780 215686780 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved components block time: 3ms for 44 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved components resolve time: 12445ms for 44 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved init block time: 0ms for 6 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved init resolve time: 2918ms for 6 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved 网址参数清理 https://www.bilibili.com/video/BV1xB4y1e7Y6/?spm_id_from=333.788 https://www.bilibili.com/video/BV1xB4y1e7Y6 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved videoChange 598227224 598227224 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved 
Array [ 842105038, 753557334 ]
 598227224 false Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved videoChange 215686780 215686780 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved 
Array [ 842105038, 753557334 ]
 215686780 false Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved context update Bilibili Evolved (Preview).user.js:216:1992
    m moz-extension://3b8e8315-eaa1-4244-9ebe-0773f3050399/ Bilibili Evolved (Preview).user.js#14:216
    <anonymous> https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    (异步:promise callback)
    <anonymous> https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    u https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    u https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    next https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    u https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    u https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    x https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    (异步:promise callback)
    x https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    u https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    u https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    R https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    u https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    u https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    E moz-extension://3b8e8315-eaa1-4244-9ebe-0773f3050399/ Bilibili Evolved (Preview).user.js#14:193
    E moz-extension://3b8e8315-eaa1-4244-9ebe-0773f3050399/ Bilibili Evolved (Preview).user.js#14:193
    E moz-extension://3b8e8315-eaa1-4244-9ebe-0773f3050399/ Bilibili Evolved (Preview).user.js#14:193
    <anonymous> moz-extension://3b8e8315-eaa1-4244-9ebe-0773f3050399/ Bilibili Evolved (Preview).user.js#14:193
    <anonymous> moz-extension://3b8e8315-eaa1-4244-9ebe-0773f3050399/ Bilibili Evolved (Preview).user.js#14:193
the1812 commented 2 years ago

你是不是还开着网址参数清理, 那个也是一样的副作用

NightSharp commented 2 years ago

你是不是还开着网址参数清理, 那个也是一样的副作用

都关了,还是一样的,切换视频时videoChange操作执行了两次,第一次时正确的,第二次就又变回原来的了

Bilibili Evolved plugins block time: 2ms for 30 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved plugins resolve time: 11ms for 30 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved 
Array(18) [ 342620042, 342886558, 300227127, 685657840, 982696358, 385451593, 385645756, 470742915, 898129306, 215731870, … ]
 215686780 false Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved videoChange 215686780 215686780 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved components block time: 3ms for 43 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved components resolve time: 15610ms for 43 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved init block time: 2ms for 6 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved init resolve time: 3802ms for 6 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved requestedPopup true Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved requestedPopup false Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved videoChange 598227224 598227224 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved 
Array(18) [ 342620042, 342886558, 300227127, 685657840, 982696358, 385451593, 385645756, 470742915, 898129306, 215731870, … ]
 598227224 false Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved videoChange 215686780 215686780 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved 
Array(18) [ 342620042, 342886558, 300227127, 685657840, 982696358, 385451593, 385645756, 470742915, 898129306, 215731870, … ]
 215686780 false Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved context update Bilibili Evolved (Preview).user.js:216:1992
    m moz-extension://3b8e8315-eaa1-4244-9ebe-0773f3050399/ Bilibili Evolved (Preview).user.js#14:216
    <anonymous> https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    (异步:promise callback)
    <anonymous> https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    u https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    u https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    next https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    u https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    u https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    x https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    (异步:promise callback)
    x https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    u https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    u https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    R https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    u https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    u https://www.bilibili.com/video/av215686780 line 1 > injectedScript line 193 > eval:1
    E moz-extension://3b8e8315-eaa1-4244-9ebe-0773f3050399/ Bilibili Evolved (Preview).user.js#14:193
    E moz-extension://3b8e8315-eaa1-4244-9ebe-0773f3050399/ Bilibili Evolved (Preview).user.js#14:193
    E moz-extension://3b8e8315-eaa1-4244-9ebe-0773f3050399/ Bilibili Evolved (Preview).user.js#14:193
    <anonymous> moz-extension://3b8e8315-eaa1-4244-9ebe-0773f3050399/ Bilibili Evolved (Preview).user.js#14:193
    <anonymous> moz-extension://3b8e8315-eaa1-4244-9ebe-0773f3050399/ Bilibili Evolved (Preview).user.js#14:193
Geeyun-JY3 commented 2 years ago

我可能就是因为 AntiBV 这个脚本和 Bilibili Evolved 不兼容所以才用的另外一个😂