| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
| 3 * Copyright (C) 2006-2016 Eyeo GmbH | 3 * Copyright (C) 2006-2016 Eyeo GmbH |
| 4 * | 4 * |
| 5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
| 6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
| 7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
| 8 * | 8 * |
| 9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 categories.splice(index, 1); | 131 categories.splice(index, 1); |
| 132 modules.prefs.Prefs.notifications_ignoredcategories = categories; | 132 modules.prefs.Prefs.notifications_ignoredcategories = categories; |
| 133 } | 133 } |
| 134 } | 134 } |
| 135 }; | 135 }; |
| 136 | 136 |
| 137 modules.subscriptionClasses = { | 137 modules.subscriptionClasses = { |
| 138 Subscription: function(url) | 138 Subscription: function(url) |
| 139 { | 139 { |
| 140 this.url = url; | 140 this.url = url; |
| 141 this.title = "Subscription " + url; | |
| 142 this._disabled = false; | 141 this._disabled = false; |
| 143 this._lastDownload = 1234; | 142 this._lastDownload = 1234; |
| 144 this.homepage = "https://easylist.adblockplus.org/"; | 143 this.homepage = "https://easylist.adblockplus.org/"; |
| 145 this.downloadStatus = params.downloadStatus; | 144 this.downloadStatus = params.downloadStatus; |
| 146 }, | 145 }, |
| 147 | 146 |
| 148 SpecialSubscription: function(url) | 147 SpecialSubscription: function(url) |
| 149 { | 148 { |
| 150 this.url = url; | 149 this.url = url; |
| 151 this.disabled = false; | 150 this.disabled = false; |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 | 478 |
| 480 if (params.safariContentBlocker) | 479 if (params.safariContentBlocker) |
| 481 { | 480 { |
| 482 global.safari = { | 481 global.safari = { |
| 483 extension: { | 482 extension: { |
| 484 setContentBlocker: function() {} | 483 setContentBlocker: function() {} |
| 485 } | 484 } |
| 486 }; | 485 }; |
| 487 } | 486 } |
| 488 })(this); | 487 })(this); |
| OLD | NEW |