Readonly
classificationReturns the classification flags if the channel has been processed by URL-Classifier features. This value is equal to "firstPartyClassificationFlags || thirdPartyClassificationFlags".
Note that top-level channels could be classified as well. In order to identify third-party resources specifically, use classificationThirdPartyFlags;
Readonly
firstReturns the classification flags if the channel has been processed by URL-Classifier features and is considered first-party.
Readonly
matchedFull hash of URL that matched
Readonly
matchedName of the list that matched
Readonly
matchedName of provider that matched
Readonly
thirdReturns the classification flags if the channel has been processed by URL-Classifier features and is considered third-party with the top window URI.
Optional
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.
Returns true if the channel has loaded a 3rd party resource that is classified as a social tracker.
This is a helper attribute which returns the same value of (classificationFlags & CLASSIFIED_ANY_SOCIAL_TRACKING)
Note that top-level channels could be marked as tracking resources. In order to identify third-party social tracking resources specifically, check the flags manually or add a new helper here.
Returns true if the channel has been processed by URL-Classifier features and is considered third-party with the top window URI, and if it has loaded a resource that is classified as a tracker.
This is a helper attribute which returns the same value of (thirdPartyClassificationFlags & CLASSIFIED_ANY_BASIC_TRACKING) or (thirdPartyClassificationFlags & CLASSIFIED_ANY_STRICT_TRACKING) or (thirdPartyClassificationFlags & CLASSIFIED_ANY_SOCIAL_TRACKING)
Sets matched info of the classified channel.
Name of the Safe Browsing list that matched (e.g. goog-phish-shavar).
Name of the Safe Browsing provider that matched (e.g. google)
Full hash of URL that matched Safe Browsing list.
Generated using TypeDoc
nsIClassifiedChannel
A channel may optionally implement this interface if it carries classified result information of channel classifier. The information contains, for example, the name of matched table and the name of matched provider.