@match vs @include #1053
|
Which should I use? I have always used |
Replies: 2 comments 3 replies
|
Although
There is an ESLint rule regarding this: better-use-match. |
This applies to all userscript managers. You can find the similar description in TM, VM, FM, etc Normally you should just use The main reason why for example, it does not accept like |
Although
@includeis more flexible, we recommend using@match.@matchfollows Match patterns, which conforms to browser extension standards and offers better performance.There is an ESLint rule regarding this: better-use-match.
@includeis considered likely to be deprecated by Manifest V3. Although we have other ways to implement it, for the sake of standardization, we recommend using@match.