1
0
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:
Raymond Hill 2022-07-15 12:00:43 -04:00
parent 313d694040
commit 019f3f1739
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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