ICoreWebView2Settings.get_IsScriptEnabled

Controls if running JavaScript is enabled in all future navigations in the WebView. This only affects scripts in the document. Scripts injected with ExecuteScript runs even if script is disabled. The default value is TRUE.

\snippet SettingsComponent.cpp IsScriptEnabled

interface ICoreWebView2Settings
@" propget"
HRESULT
get_IsScriptEnabled

Meta