NetworkSession.setItpEnabled

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().

class NetworkSession
void
setItpEnabled
(
bool enabled
)

Parameters

enabled bool

value to set