Bug 207544
| Summary: | Ability to Remove a Single WKUserScript | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Joel <joelhreis> |
| Component: | WebKit API | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Enhancement | CC: | achristensen, beidson, ggaren, krzysztof.modras, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | All | ||
| OS: | All | ||
Joel
WKWebView currently only has an API to remove all user scripts (`WKUserContentController.removeAllUserScripts()`).
It would be useful if specific scripts could be specified for removal. At Brave, this would be helpful to remove user scripts based on specific pages, settings, or website behaviors.
This would potentially require `addUserScript` to return a reference for removal later.
Related Radar: https://openradar.appspot.com/FB7557869 (rdar://FB7557869)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/59350824>