The FilterRequest struct is used in conjunction with setCookieFilter() and is the type filterCallback operates on.

See also

setCookieFilter()

This variable holds The URL that was navigated to..

The site that would be showing in the location bar if the application has one.

Can be used to white-list or black-list cookie access or third-party cookie access for specific sites visited.

See also

origin thirdParty

This variable holds The URL of the script or content accessing a cookie..

Can be used to white-list or black-list third-party cookie access for specific services.

This variable holds Whether this is considered a third-party access..

This is calculated by comparing FilterRequest::origin and FilterRequest::firstPartyUrl and checking if they share a common origin that is not a top-domain (like .com or .co.uk), or a known hosting site with independently owned subdomains.