与稍后再看功能相关,一切你能想到和想不到的功能
我目前访问不了 web.archive.org,没理解错的话大概是错误匹配到类似于 https://www.example.com/archive/https://www.bilibili.com/ 这样的网址? 已更新,麻烦帮忙测试一下是否还有匹配错误的问题,谢谢。
虽然问题发出者大概率已经不在,但今天这个问题有了点新的进展,还是补充一下。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 attmnk.net
only, but it also matcheshttps://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 对该问题进行了优化,这可谓是一个能令多方满意的好方案,值得赞扬!
已修复,好评
一个小小的 匹配 bug:在web.archive.org这类网站上,因为URL包含bilibili导致脚本错误加载。