| Index: background.js |
| =================================================================== |
| --- a/background.js |
| +++ b/background.js |
| @@ -102,7 +102,8 @@ |
| notifications_showui: params.showNotificationUI, |
| shouldShowBlockElementMenu: true, |
| show_devtools_panel: true, |
| - subscriptions_exceptionsurl: "https://easylist-downloads.adblockplus.org/exceptionrules.txt" |
| + subscriptions_exceptionsurl: "https://easylist-downloads.adblockplus.org/exceptionrules.txt", |
| + subscriptions_exceptionsurl_privacy: "https://easylist-downloads.adblockplus.org/exceptionrules-privacy.txt" |
| }; |
| for (let key of Object.keys(prefs)) |
| { |
| @@ -141,6 +142,15 @@ |
| this._lastDownload = 1234; |
| this.homepage = "https://easylist.adblockplus.org/"; |
| this.downloadStatus = params.downloadStatus; |
| + |
| + if (this.url == prefs.subscriptions_exceptionsurl) |
| + { |
| + this.title = "Allow non-intrusive advertising"; |
| + } |
| + else if (this.url == prefs.subscriptions_exceptionsurl_privacy) |
| + { |
| + this.title = "Allow only nonintrusive ads that are privacy-friendly"; |
| + } |
| } |
| Subscription.prototype = |
| { |
| @@ -442,6 +452,7 @@ |
| "https://easylist-downloads.adblockplus.org/easylistgermany+easylist.txt", |
| "https://easylist-downloads.adblockplus.org/exceptionrules.txt", |
| "https://easylist-downloads.adblockplus.org/fanboy-social.txt", |
| + "https://easylist-downloads.adblockplus.org/antiadblockfilters.txt", |
| "~user~786254" |
| ]; |
| let knownSubscriptions = Object.create(null); |