Evaluate extended matching capabilities for registered userScripts (and/or WebExtensions Content Scripts in general)
Categories
(WebExtensions :: General, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: rpl, Unassigned)
References
Details
| Reporter | ||
Updated•8 years ago
|
Comment 1•8 years ago
|
||
Comment 3•8 years ago
|
||
Comment 6•8 years ago
|
||
| Reporter | ||
Comment 7•8 years ago
|
||
Updated•7 years ago
|
Updated•6 years ago
|
Comment 8•5 years ago
•
|
||
Adding a condition for continuing after onBeforeScript or an option to break it, would be an idea. e.g.
browser.userScripts.onBeforeScript.addListener(script => {
if (condition) {
return false;
}
// ....
}
Updated•3 years ago
|
| Reporter | ||
Comment 9•2 years ago
|
||
Removing this from Bug 1595853 dependencis, given that the userScripts API namespace Bug 1595853 is the one that was available only in Firefox manifest_version 2 extensions and deprecated in manifest_version 3 extensions (where the same namespace is meant to expose an API with the same use case in mind but different "interface").
Introducing support for the new MV3 API is tracked by Bug 1875475, and so instead of closing this bug as wontfix I'm adding it as a seealso for Bug 1875475, in case this enhancement may still be relevant for the new API (and if it is not we will then closing it as wontfix).
Comment 10•1 year ago
|
||
There is no actionable task on this bug, so I'm closing it.
If there is functionality to already covered by the new userScripts API, consider filing a feature request/proposal in the WECG - https://github.com/w3c/webextensions/issues and/or a new bug blocking bug 1875475.
Description
•