4 ms·
Are you referring to the `-[WKWebView navigationDelegate]`? Thats only used for user initiated navigation, not loading of assets. You could still inject a Jav
by ash_gti 10y ago
Are you referring to the `-[WKWebView navigationDelegate]`?
Thats only used for user initiated navigation, not loading of assets.
You could still inject a JavaScript file or CSS file though to help hide pieces of the view. But that would be content blocking after the HTTP requests have been made.
I don’t know of a way to intercept the HTTP requests as they’re being made from a WKWebView like Safari does for content blocking.