javaScriptEnabled
A Boolean value that indicates whether JavaScript is enabled.
Declaration
var javaScriptEnabled: Bool { get set }Discussion
The default value is true. Setting this property to false disables JavaScripts that are loaded or executed by the webpage. This setting does not affect user scripts. See WKUserContentController.