LEFT | RIGHT |
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-present eyeo GmbH | 3 * Copyright (C) 2006-present 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 * @see https://adblockplus.org/en/preferences#subscriptions_exceptionsurl_priva
cy | 93 * @see https://adblockplus.org/en/preferences#subscriptions_exceptionsurl_priva
cy |
94 * @type {string} | 94 * @type {string} |
95 */ | 95 */ |
96 defaults.subscriptions_exceptionsurl_privacy = "https://easylist-downloads.adblo
ckplus.org/exceptionrules-privacy-friendly.txt"; | 96 defaults.subscriptions_exceptionsurl_privacy = "https://easylist-downloads.adblo
ckplus.org/exceptionrules-privacy-friendly.txt"; |
97 /** | 97 /** |
98 * @see https://adblockplus.org/en/preferences#subscriptions_antiadblockurl | 98 * @see https://adblockplus.org/en/preferences#subscriptions_antiadblockurl |
99 * @type {string} | 99 * @type {string} |
100 */ | 100 */ |
101 defaults.subscriptions_antiadblockurl = "https://easylist-downloads.adblockplus.
org/antiadblockfilters.txt"; | 101 defaults.subscriptions_antiadblockurl = "https://easylist-downloads.adblockplus.
org/antiadblockfilters.txt"; |
102 /** | 102 /** |
103 * Used to ensure the Anti Circumvention subscription is opted in by default. | 103 * Used to ensure the anti-circumvention subscription is opted in by default. |
104 * @type {boolean} | 104 * @type {boolean} |
105 */ | 105 */ |
106 defaults.subscriptions_checkedanticv = false; | 106 defaults.subscriptions_addedanticv = false; |
107 /** | 107 /** |
108 * @see https://adblockplus.org/en/preferences#documentation_link | 108 * @see https://adblockplus.org/en/preferences#documentation_link |
109 * @type {string} | 109 * @type {string} |
110 */ | 110 */ |
111 defaults.documentation_link = "https://adblockplus.org/redirect?link=%LINK%&lang
=%LANG%"; | 111 defaults.documentation_link = "https://adblockplus.org/redirect?link=%LINK%&lang
=%LANG%"; |
112 /** | 112 /** |
113 * @see https://adblockplus.org/en/preferences#notificationdata | 113 * @see https://adblockplus.org/en/preferences#notificationdata |
114 * @type {object} | 114 * @type {object} |
115 */ | 115 */ |
116 defaults.notificationdata = {}; | 116 defaults.notificationdata = {}; |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 eventEmitter.emit(pref); | 387 eventEmitter.emit(pref); |
388 } | 388 } |
389 } | 389 } |
390 }); | 390 }); |
391 } | 391 } |
392 | 392 |
393 Prefs.untilLoaded = Promise.all([localLoaded, managedLoaded]).then(onLoaded); | 393 Prefs.untilLoaded = Promise.all([localLoaded, managedLoaded]).then(onLoaded); |
394 } | 394 } |
395 | 395 |
396 init(); | 396 init(); |
LEFT | RIGHT |