Instance Property

javaScriptEnabled

A Boolean value indicating whether JavaScript is enabled.

Declaration

@property(nonatomic) BOOL javaScriptEnabled;

Discussion

The default value is YES. Setting this property to NO disables JavaScripts that are loaded or executed by the web page. This setting does not affect user scripts. See WKUserContentController.

See Also

Setting Java and JavaScript Preferences

javaEnabled

A Boolean value indicating whether Java is enabled.

Deprecated
javaScriptCanOpenWindowsAutomatically

A Boolean value indicating whether JavaScript can open windows without user interaction.

plugInsEnabled

A Boolean value indicating whether plug-ins are enabled.

Deprecated