SystemPreferences.isUseJavascript

Returns false if the Do not use Javascript option is checked in System Preferences (see Tools > System Prefences > Accessibility), otherwise returns true. When set to false, no Javascript will be used on the client; when set to true, Javascript will be used so long as it is supported by the client browser. To check whether Javascript is currently in use on the client, use method Client#isJavascriptUsed().

returns boolean