1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-22 18:32:45 +01:00
This commit is contained in:
gorhill 2014-06-28 11:41:49 -04:00
parent bcaa139362
commit 72be27fda6

View File

@ -1403,8 +1403,8 @@ FilterContainer.prototype.matchString = function(pageDetails, url, requestType,
// block filters first, and test allow filters if and only if there is a
// hit on a block filter. Since there is a high likelihood of no hit,
// testing allow filter by default is likely wasted work, hence allow
// filters are tested *only* if there is a hit on a (unlikely) hit on a
// block filter.
// filters are tested *only* if there is a (unlikely) hit on a block
// filter.
var pageDomain = pageDetails.pageDomain || '';
var party = requestHostname.slice(-pageDomain.length) === pageDomain ?