How to disable the web browser info panel?

I am using a WPF C # WebBrowser control to navigate a local html file containing js and css file links, so when my application views this local file, I get a panel of security warnings if anyone can suggest how to disable it using c #? I know that I can disable it in IE settings and use a frame, but I do not want to use a frame because I want to have access to HTMLElements. any suggestions?

+3
source share
1 answer

If this is your file for writing and you trust its contents, add a tag

<!-- saved from url=(0014)about:internet -->

, - - IE, .

+6

Source: https://habr.com/ru/post/1713924/


All Articles