nsIURIClassifier

The URI classifier service checks a URI against lists of phishing
and malware sites.

Methods

classify(aPrincipal, aTrackingProtectionEnabled, aCallback)

Classify a Principal using its URI.

Parameters

aPrincipal The principal that should be checked by the URI classifier.
aTrackingProtectionEnabled Whether or not to classify the given URI against tracking protection lists
aCallback The URI classifier will call this callback when the URI has been classified.

Returns

false if classification is not necessary. The callback will not be called. true if classification will be performed. The callback will be called.