Readonly
clickOptional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Add a click rule to the rule.
aPresence - The CSS selector for detecting the presence of the cookie banner aSkipPresenceVisibilityCheck - Whether to skip checking if the banner is visible before clicking it. aHide - The CSS selector for hiding the cookie banner aOptOut - The CSS selector for selecting the opt-out banner button aOptIn - The CSS selector for selecting the opt-in banner button
Add an opt-in or opt-out cookie to the rule. aIsOptOut - Whether this is an opt-out cookie (true) or opt-in cookie (false). aExpiryRelative - See nsICookieRule. aUnsetValue - See nsICookieRule. For a description of the other fields see nsICookieManager#addNative.
Generated using TypeDoc
A rule containing instructions on how to handle a cookie banner for a specific domain.