Settings.setFeatureEnabled

void setFeatureEnabled(webkit.feature.Feature feature, bool enabled)

Enables or disables a feature.

The current status of the feature can be determined with idwebkit_settings_get_feature_enabled. To reset a feature to its initial status, pass the value returned by idwebkit_feature_get_default_value as the enabled parameter.

Parameters

featurethe feature to toggle.
enabledwhether the feature will be enabled.