Settings.enableJavascriptMarkup

bool enableJavascriptMarkup() @property

Get enableJavascriptMarkup property.

Returns

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.

void enableJavascriptMarkup(bool propval) @property

Set enableJavascriptMarkup property.

Parameters

propvalDetermines 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.