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