containedInBlocklist

abstract fun containedInBlocklist(documentUrl: Uri, requestUrl: Uri): Boolean

Checks whether a request is contained in the blocklist rules from the Privacy Configuration.

Return

true if the request matches a blocklist rule

Parameters

documentUrl

the URL of the page making the request

requestUrl

the URL being requested