NetworkSession.setItpEnabled

void setItpEnabled(bool enabled)

Enable or disable Intelligent Tracking Prevention (ITP).

When ITP is enabled resource load statistics are collected and used to decide whether to allow or block third-party cookies and prevent user tracking. Note that while ITP is enabled the accept policy [webkit.types.CookieAcceptPolicy.NoThirdParty] is ignored and [webkit.types.CookieAcceptPolicy.Always] is used instead. See also webkit_cookie_session_set_accept_policy().

Parameters

enabledvalue to set