Summary: | WKUserContentController Block rules introspection | ||
---|---|---|---|
Product: | WebKit | Reporter: | Krzysztof Jan Modras [:chrmod] <krzysztof.modras> |
Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | achristensen, am, krzysztof.modras, mcatanzaro, mjs, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 13 | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Description
Krzysztof Jan Modras [:chrmod]
2020-01-03 05:42:47 PST
To be clear, you're asking for WKWebView API for this, for the embedding app, rather than exposing this to content blocker extensions? Correct, our context is a privacy oriented web browser. For example it would be useful to ask WKContentRuleListStore if the given URL will be blocked. This is partially related to https://bugs.webkit.org/show_bug.cgi?id=152598#c9 Not sure how this would work for content blocking extensions. Perhaps Andrey Meshkov can provide some insights on it. Well, if WKContentRuleListStore would provide a "checkRequest" method, we could benefit from this as well. For instance, we could add a simple "rule testing" tool right in the app. |