Android Guides | Samples

Android.Webkit.WebSettings.JavaScriptEnabled Property

Gets whether JavaScript is enabled.


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

See Also


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.


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