Quantcast
Viewing all articles
Browse latest Browse all 18858

Prevent scripts from running inside the WPF WebBrowser control

Hi,

is there any possibility to suppress the execution of JavaScripts (or any other type of script) inside the WPF WebBrowser control?
I am not asking about suppressing JavaScripts error messages; I want to prevent that any script starts executing.

And of course, this should be possible without disabling JavaScript completely inside Internet Explorer.

(We are using this control for previewing HTML emails in our WPF based application. If an email message contains any scripts, we want to prevent it from running, because the script might be malicious, since email messages normally do not contain JavaScript.)


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>