Click or drag to resize

IBrowserSettingsJavaScriptEnabled Property

Enables or disables JavaScript on the web pages loaded in the browser.

Namespace:  DotNetBrowser.Browser
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.2
Syntax
C#
bool JavaScriptEnabled { get; set; }

Property Value

Type: Boolean
true if JavaScript is enabled, false otherwise.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IBrowserSettings has already been disposed.
ConnectionClosedExceptionThe connection to the Chromium engine is closed.
See Also