Member variable CoreWebView2Settings():IsScriptEnabled Foundation

Controls whether JavaScript execution is enabled.

Attribute: VAR EXPORTED
Data type: Logical (NIL)
Description

This member variable determines whether JavaScript code can execute in the WebView2 control. When set to .T. (true), JavaScript is fully enabled. When set to .F. (false), all JavaScript execution is blocked, which can improve security when displaying untrusted content but may break functionality on many modern websites that rely on JavaScript. By default, execution of JavaScript code is enabled.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.