[Webkit-unassigned] [Bug 207544] New: Ability to Remove a Single WKUserScript

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 11 06:43:51 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=207544

            Bug ID: 207544
           Summary: Ability to Remove a Single WKUserScript
           Product: WebKit
           Version: Other
          Hardware: All
                OS: All
            Status: NEW
          Severity: Enhancement
          Priority: P2
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joelhreis at gmail.com

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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200211/48da6801/attachment-0001.htm>


More information about the webkit-unassigned mailing list