Index: lib/filterStorage.js |
=================================================================== |
--- a/lib/filterStorage.js |
+++ b/lib/filterStorage.js |
@@ -442,18 +442,22 @@ |
* Generator serializing filter data and yielding it line by line. |
*/ |
*exportData() |
{ |
// Do not persist external subscriptions |
let subscriptions = []; |
for (let subscription of this.subscriptions()) |
{ |
- if (!(subscription instanceof ExternalSubscription)) |
+ if (!(subscription instanceof ExternalSubscription) && |
+ !(subscription instanceof SpecialSubscription && |
+ subscription.filters.length == 0)) |
+ { |
subscriptions.push(subscription); |
+ } |
} |
yield "# Adblock Plus preferences"; |
yield "version=" + formatVersion; |
let saved = new Set(); |
let buf = []; |