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-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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 /** | 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"; |
| 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%"; |
102 /** | 107 /** |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 * | 144 * |
140 * @type {boolean} | 145 * @type {boolean} |
141 */ | 146 */ |
142 defaults.hidePlaceholders = true; | 147 defaults.hidePlaceholders = true; |
143 | 148 |
144 /** | 149 /** |
145 * Whether notification opt-out UI should be shown. | 150 * Whether notification opt-out UI should be shown. |
146 * @type {boolean} | 151 * @type {boolean} |
147 */ | 152 */ |
148 defaults.notifications_showui = false; | 153 defaults.notifications_showui = false; |
149 | 154 /** |
| 155 * Whether notification about privacy conflict should be shown. |
| 156 * @type {boolean} |
| 157 */ |
| 158 defaults.ui_warn_tracking = true; |
150 /** | 159 /** |
151 * Determines whether data has been cleaned up after upgrading from the legacy | 160 * Determines whether data has been cleaned up after upgrading from the legacy |
152 * extension on Firefox. | 161 * extension on Firefox. |
153 * | 162 * |
154 * @type {boolean} | 163 * @type {boolean} |
155 */ | 164 */ |
156 defaults.data_cleanup_done = false; | 165 defaults.data_cleanup_done = false; |
157 | 166 |
158 /** | 167 /** |
159 * Notification categories to be ignored. | 168 * Notification categories to be ignored. |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 eventEmitter.emit(pref); | 331 eventEmitter.emit(pref); |
323 } | 332 } |
324 } | 333 } |
325 }); | 334 }); |
326 } | 335 } |
327 | 336 |
328 Prefs.untilLoaded = Promise.all([localLoaded, managedLoaded]).then(onLoaded); | 337 Prefs.untilLoaded = Promise.all([localLoaded, managedLoaded]).then(onLoaded); |
329 } | 338 } |
330 | 339 |
331 init(); | 340 init(); |
OLD | NEW |