[android-components](../../index.md) / [mozilla.components.concept.engine](../index.md) / [DefaultSettings](index.md) / [javaScriptCanOpenWindowsAutomatically](./java-script-can-open-windows-automatically.md)

# javaScriptCanOpenWindowsAutomatically

`var javaScriptCanOpenWindowsAutomatically: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/engine/src/main/java/mozilla/components/concept/engine/Settings.kt#L135)

Overrides [Settings.javaScriptCanOpenWindowsAutomatically](../-settings/java-script-can-open-windows-automatically.md)

Setting to control whether or not window.open can be called from JavaScript.

