javascript property
ContentSetting
get
javascript
Whether to run JavaScript. One of
allow
: Run JavaScript,
block
: Don't run JavaScript.
Default is allow
.
The primary URL is the URL of the top-level frame. The secondary URL is
not used.
Implementation
ContentSetting get javascript =>
ContentSetting.fromJS($js.chrome.contentSettings.javascript);