Class
WebKitWebsitePolicies
since: 2.30
Description [src]
final class WebKit.WebsitePolicies : GObject.Object
{
/* No available fields */
}
View specific website policies.
WebKitWebsitePolicies allows you to configure per-page policies, currently autoplay, custom user agent, upgrade to HTTPS, and Global Privacy Control policies are supported.
Available since: 2.30
Constructors
webkit_website_policies_new_with_policies
Create a new WebKitWebsitePolicies with given policies.
since: 2.30
Instance methods
webkit_website_policies_get_autoplay_policy
Get the WebKitWebsitePolicies:autoplay property.
since: 2.30
webkit_website_policies_get_custom_user_agent
Get the WebKitWebsitePolicies:custom-user-agent property.
since: 2.54
webkit_website_policies_get_global_privacy_control
Get the WebKitWebsitePolicies:global-privacy-control property.
unstable since: 2.56
webkit_website_policies_get_upgrade_to_https_policy
Get the WebKitWebsitePolicies:upgrade-to-https-policy property.
unstable since: 2.56
Properties
WebKit.WebsitePolicies:custom-user-agent
The custom user agent string to send for navigations governed by these
WebKitWebsitePolicies, or NULL to use the default user agent.
since: 2.54
WebKit.WebsitePolicies:global-privacy-control
How the Global Privacy Control (GPC) signal is configured.
unstable since: 2.56
WebKit.WebsitePolicies:upgrade-to-https-policy
How HTTP navigations governed by these WebKitWebsitePolicies are
upgraded to HTTPS.
unstable since: 2.56
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.