Greasy Fork is available in English.

B站稍后再看功能增强

与稍后再看功能相关,一切你能想到和想不到的功能

< Valutazione su B站稍后再看功能增强

Recensione: Bene - lo script funziona

§
Pubblicato: 21/11/2020

一个小小的 匹配 bug:在web.archive.org这类网站上,因为URL包含bilibili导致脚本错误加载。

§
Pubblicato: 22/11/2020

我目前访问不了 web.archive.org,没理解错的话大概是错误匹配到类似于 https://www.example.com/archive/https://www.bilibili.com/ 这样的网址? 已更新,麻烦帮忙测试一下是否还有匹配错误的问题,谢谢。

§
Pubblicato: 12/07/2021
Modificato: 12/07/2021

经慎重考虑,这一问题不再被认为是 BUG,因为这已超脱 99% 用户的使用场景,为这种超低概率的问题打补丁实在是不合理——否则所有人编写任何脚本时都应该去排除相关匹配,实在是不合理。

你可以将 /.*:\/\/.*:\/\/.*/ 添加到脚本管理器的黑名单中,避免所有脚本出现类似的问题。

§
Pubblicato: 15/04/2022

虽然问题发出者大概率已经不在,但今天这个问题有了点新的进展,还是补充一下。2022-04-07,Tampermonkey 更新至 v4.16,以下为相关更新:

Treat @include a little bit more like @match if :// is present and add an option to control @include's behavior
Details: Many script developers expect @include *://tmnk.net/* to match pages at tmnk.net only, but it also matches https://example.com/?http://tmnk.net/.
To improve this, @includes that contain a :// are now interpreted a little bit different. Every * before :// now only matches the URL scheme. Also, if :// is directly followed by a * or a / somewhere, then the first * or all until / are applied to the hostname only.

总而言之,目前使用人数最多的脚本管理器 Tampermonkey 对该问题进行了优化,这可谓是一个能令多方满意的好方案,值得赞扬!

§
Pubblicato: 17/09/2022

已修复,好评

Pubblica risposta

Accedi per pubblicare una risposta.