userscripts
userscripts copied to clipboard
Replace `include` with `match`
include
is considered unsafe and to be turned obsolete with the inevitable removal of Manifest v2. It would be great if the userscripts could be updated ahead of time replacing include
with match
. While the latter does not support regex it does support wildcards.
Userscripts should not be affected by the manifest, only the userscript managers. Correct me if I'm wrong.
Can't comment for all userscript managers but Tampermonkey states:
eslint: userscripts/better-use-match - Using
@include
is potentially unsafe and may be obsolete in Manifest v3 in early 2023. Please switch to@match
.
Sounds to me like they're dropping @include
support altogether (as they make Tampermonkey MV3 compliant to remain featured on the Web Store in 2023).