I use the new WebView control in a WPF application which is based on MS Edge browser. In MS Edge I installed the Adblocker Ultimate extension that blocks annoying banner ads. Obviously this extension is not used in the wpf application. Is there any way to achieve same functionality in the wpf WebView control to disable banner ads or ads in general.
Asked
Active
Viewed 160 times
1 Answers
0
There is a event UnsafeContentWarningDisplaying which might help you and there are few more events and methods which help.
Ultimately you need to write custom code and not allowing those.
-
I was afraid that I will get this answer as I do not have enough insight into that particular programming area. But then I give it a try. Thank you. – Gabe Miller Dec 05 '18 at 03:57