mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-02 17:19:38 +02: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 ) {
|
||||
return this.r;
|
||||
}
|
||||
if ( type.startsWith('3p-') ) {
|
||||
if ( this.evaluateCellZ(srcHostname, '*', '3p') !== 0 ) {
|
||||
return this.r;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Any destination, any party, any type
|
||||
|
Loading…
Reference in New Issue
Block a user