Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/filterListener.js

Issue 29889555: Issue 6975 - Check for specific anti-circumvention subscription URL (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Created Sept. 23, 2018, 11:36 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/filterListener.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/filterListener.js
===================================================================
--- a/lib/filterListener.js
+++ b/lib/filterListener.js
@@ -147,16 +147,17 @@
{
if (!subscription.disabled)
{
hasEnabled = true;
// Allow snippets to be executed only by the circumvention lists or the
// user's own filters.
if (subscription.type == "circumvention" ||
+ subscription.url == "https://easylist-downloads.adblockplus.org/abp-filters-anti-cv.txt" ||
subscription instanceof SpecialSubscription)
{
allowSnippets = true;
break;
}
}
}
if (!hasEnabled)
« no previous file with comments | « no previous file | test/filterListener.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld