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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 /** | 82 /** |
83 * @see https://adblockplus.org/en/preferences#subscriptions_autoupdate | 83 * @see https://adblockplus.org/en/preferences#subscriptions_autoupdate |
84 * @type {boolean} | 84 * @type {boolean} |
85 */ | 85 */ |
86 defaults.subscriptions_autoupdate = true; | 86 defaults.subscriptions_autoupdate = true; |
87 /** | 87 /** |
88 * @see https://adblockplus.org/en/preferences#subscriptions_exceptionsurl | 88 * @see https://adblockplus.org/en/preferences#subscriptions_exceptionsurl |
89 * @type {string} | 89 * @type {string} |
90 */ | 90 */ |
91 defaults.subscriptions_exceptionsurl = "https://easylist-downloads.adblockplus.o
rg/exceptionrules.txt"; | 91 defaults.subscriptions_exceptionsurl = "https://easylist-downloads.adblockplus.o
rg/exceptionrules.txt"; |
| 92 /** |
| 93 * @see https://adblockplus.org/en/preferences#subscriptions_exceptionsurl_priva
cy |
| 94 * @type {string} |
| 95 */ |
| 96 defaults.subscriptions_exceptionsurl_privacy = "https://easylist-downloads.adblo
ckplus.org/exceptionrules-privacy-friendly.txt"; |
92 /** | 97 /** |
93 * @see https://adblockplus.org/en/preferences#subscriptions_antiadblockurl | 98 * @see https://adblockplus.org/en/preferences#subscriptions_antiadblockurl |
94 * @type {string} | 99 * @type {string} |
95 */ | 100 */ |
96 defaults.subscriptions_antiadblockurl = "https://easylist-downloads.adblockplus.
org/antiadblockfilters.txt"; | 101 defaults.subscriptions_antiadblockurl = "https://easylist-downloads.adblockplus.
org/antiadblockfilters.txt"; |
97 /** | 102 /** |
98 * @see https://adblockplus.org/en/preferences#documentation_link | 103 * @see https://adblockplus.org/en/preferences#documentation_link |
99 * @type {string} | 104 * @type {string} |
100 */ | 105 */ |
101 defaults.documentation_link = "https://adblockplus.org/redirect?link=%LINK%&lang
=%LANG%"; | 106 defaults.documentation_link = "https://adblockplus.org/redirect?link=%LINK%&lang
=%LANG%"; |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 eventEmitter.emit(pref); | 364 eventEmitter.emit(pref); |
360 } | 365 } |
361 } | 366 } |
362 }); | 367 }); |
363 } | 368 } |
364 | 369 |
365 Prefs.untilLoaded = Promise.all([localLoaded, managedLoaded]).then(onLoaded); | 370 Prefs.untilLoaded = Promise.all([localLoaded, managedLoaded]).then(onLoaded); |
366 } | 371 } |
367 | 372 |
368 init(); | 373 init(); |
LEFT | RIGHT |