Android Guides | Samples

Android.Webkit.WebSettings.JavaScriptEnabled Property

Gets whether JavaScript is enabled.

Syntax

[get: Android.Runtime.Register("getJavaScriptEnabled", "()Z", "GetGetJavaScriptEnabledHandler")]
[set: Android.Runtime.Register("setJavaScriptEnabled", "(Z)V", "GetSetJavaScriptEnabled_ZHandler")]
public virtual Boolean JavaScriptEnabled { get; set; }

See Also

Remarks

Get method documentation[Android Documentation]
Gets whether JavaScript is enabled.

Set method documentation[Android Documentation]
Tells the WebView to enable JavaScript execution. The default is false.

Requirements

Namespace: Android.Webkit
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1