Skip to content Skip to sidebar Skip to footer

Disable Javascript In WinForms WebBrowser Control?

How could I disable javascript entirely on WebBrowser in WinForms?

Solution 1:

You can't. Client apps cannot disable JavaScript in the browser.


Solution 2:

With this you can disable warning from javascript

webBrowser.ScriptErrorsSuppressed = true;

Post a Comment for "Disable Javascript In WinForms WebBrowser Control?"