Settings.enableJavascriptMarkup

Set enableJavascriptMarkup property.

  1. bool enableJavascriptMarkup [@property getter]
  2. bool enableJavascriptMarkup [@property setter]
    class Settings
    @property
    void
    enableJavascriptMarkup
    (
    bool propval
    )

Parameters

propval bool

Determines whether or not JavaScript markup is allowed in document. When this setting is disabled, all JavaScript-related elements and attributes are removed from the document during parsing. Note that executing JavaScript is still allowed if #WebKitSettings:enable-javascript is true.