ScriptEnabled
Interface AntView
Type: Property
Access: Read/Write
Data Type: Boolean
With this you can control if you can run JavaScript when navigating the WebView control.
The default is true.
Note that this does not disable the ability for us to run Javascript in the control via the ExecuteScript (or functions such as runAnonymousFunction).
In the Microsoft .net interface this is called the CoreWebView2Settings.IsScriptEnabled property
AntView - The MS Edge WebView2 ActiveX control Date last changed: 09/25/2024