Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace include with match #6

Open
StrangePeanut opened this issue Oct 28, 2022 · 2 comments
Open

Replace include with match #6

StrangePeanut opened this issue Oct 28, 2022 · 2 comments

Comments

@StrangePeanut
Copy link

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.

@Farow
Copy link
Owner

Farow commented Nov 15, 2022

Userscripts should not be affected by the manifest, only the userscript managers. Correct me if I'm wrong.

@StrangePeanut
Copy link
Author

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants