WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
207544
Ability to Remove a Single WKUserScript
https://bugs.webkit.org/show_bug.cgi?id=207544
Summary
Ability to Remove a Single WKUserScript
Joel
Reported
2020-02-11 06:43:51 PST
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
Comment 1
2020-02-11 09:24:28 PST
<
rdar://problem/59350824
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug