| Index: lib/filterComposer.js |
| =================================================================== |
| --- a/lib/filterComposer.js |
| +++ b/lib/filterComposer.js |
| @@ -86,17 +86,17 @@ |
| let docDomain = extractHostFromFrame(frame); |
| let specificOnly = checkWhitelisted(page, frame, null, |
| RegExpFilter.typeMap.GENERICBLOCK); |
| // Add a blocking filter for each URL of the element that can be blocked |
| for (let url of details.urls) |
| { |
| let urlObj = new URL(url, details.baseURL); |
| - let filter = defaultMatcher.whitelist.matchesAny( |
| + let filter = defaultMatcher.matchesAny( |
|
kzar
2018/12/07 10:12:53
Previously we generated a filter if a whitelisting
Manish Jethani
2018/12/07 10:53:04
You're right, this would change the behavior. Whet
Sebastian Noack
2018/12/08 00:52:26
We have the same problem in lib/whitelisting.js. U
Manish Jethani
2018/12/08 06:50:14
No, it should not be a problem in lib/whitelisting
Manish Jethani
2018/12/09 11:59:34
FYI https://issues.adblockplus.org/ticket/7162
Jon Sonesen
2018/12/09 15:52:09
Acknowledged.
|
| urlObj.href, typeMask, docDomain, |
| isThirdParty(urlObj, docDomain), |
| getKey(page, frame), specificOnly |
| ); |
| if (!filter) |
| { |
| let filterText = urlObj.href.replace(/^[\w-]+:\/+(?:www\.)?/, "||"); |