setJavaScriptEnabled

abstract fun setJavaScriptEnabled(isJavaScriptEnabled: Boolean)

Controls whether JavaScript processing is enabled for this document. Defaults to false. Note: Processing JavaScript can be slow for documents with a large number of document providers or scripts. Disabling in most cases will not have any negative effects.

Parameters

isJavaScriptEnabled

true to enable JavaScript processing, false to disable.