mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
Properly "bleed" 3p rules onto 3p-script/3p-frame cells
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2171
This commit is contained in:
parent
313d694040
commit
019f3f1739
@ -320,6 +320,11 @@ class DynamicHostRuleFiltering {
|
|||||||
if ( this.evaluateCellZ(srcHostname, '*', type) !== 0 ) {
|
if ( this.evaluateCellZ(srcHostname, '*', type) !== 0 ) {
|
||||||
return this.r;
|
return this.r;
|
||||||
}
|
}
|
||||||
|
if ( type.startsWith('3p-') ) {
|
||||||
|
if ( this.evaluateCellZ(srcHostname, '*', '3p') !== 0 ) {
|
||||||
|
return this.r;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Any destination, any party, any type
|
// Any destination, any party, any type
|
||||||
|
Loading…
Reference in New Issue
Block a user