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

Unified Diff: lib/adblockplus.js

Issue 29358502: Issue 4547 - ABP edge 0.9.8 re-adds easylist (Closed)
Patch Set: Created Oct. 21, 2016, 10:38 p.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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/adblockplus.js
===================================================================
--- a/lib/adblockplus.js
+++ b/lib/adblockplus.js
@@ -6155,18 +6155,18 @@
function shouldAddDefaultSubscription()
{
- // for (var _loopIndex66 = 0; _loopIndex66 < FilterStorage.subscriptions.length; ++_loopIndex66)
- // {
- // var subscription = FilterStorage.subscriptions[_loopIndex66];
- // if (subscription instanceof DownloadableSubscription && subscription.url != Prefs.subscriptions_exceptionsurl && subscription.url != Prefs.subscriptions_antiadblockurl)
- // {
- // return false;
- // }
- // if (subscription instanceof SpecialSubscription && subscription.filters.length > 0)
- // {
- // return false;
- // }
- // }
+ for (var _loopIndex66 = 0; _loopIndex66 < FilterStorage.subscriptions.length; ++_loopIndex66)
+ {
+ var subscription = FilterStorage.subscriptions[_loopIndex66];
+ if (subscription instanceof DownloadableSubscription && subscription.url != Prefs.subscriptions_exceptionsurl && subscription.url != Prefs.subscriptions_antiadblockurl)
+ {
+ return false;
+ }
+ if (subscription instanceof SpecialSubscription && subscription.filters.length > 0)
+ {
+ return false;
+ }
+ }
return true;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld