The images are fished out by WKWebViewMBS.Preferences. Then I have normal href links. The only links I need to remove are the other links like the one above.
It seems like RegEx can be used to scan and replace those links if you fetch the HTML first, do the scan & replace, then load that result to the HTMLViewer. I think that is what @TimStreater meant he was doing?
Yes, that’s what he meant. However, I can easily block the images with the MBS plugin. Now I need to find a regex to differentiate the above shown links with normal href ones.
I’ll add a few new properties for our plugin classes for WebKit.
and it looks like the limitsNavigationsToAppBoundDomains flag may do it.
Since your app may not have an app bound domain, it simply doesn’t load anything.