1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-02 02:14:52 +12:00
This commit is contained in:
Raymond Hill 2014-11-22 10:26:37 -02:00
parent a31351c6f9
commit ee361ae37f

View file

@ -376,12 +376,15 @@ Matrix.prototype.evaluateCellZ = function(srcHostname, desHostname, type) {
break;
}
}
// srcHostname is '*' at this point
// Preset blacklisted hostnames are blacklisted in global scope
if ( type === '*' && µm.ubiquitousBlacklist.test(desHostname) ) {
return 1;
}
// https://github.com/gorhill/uMatrix/issues/65
// Hardcoded `doc` rule
// Hardcoded global `doc` rule
if ( type === 'doc' && desHostname === '*' ) {
return 2;
}