| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 * | 144 * |
| 145 * @type {boolean} | 145 * @type {boolean} |
| 146 */ | 146 */ |
| 147 defaults.hidePlaceholders = true; | 147 defaults.hidePlaceholders = true; |
| 148 | 148 |
| 149 /** | 149 /** |
| 150 * Whether notification opt-out UI should be shown. | 150 * Whether notification opt-out UI should be shown. |
| 151 * @type {boolean} | 151 * @type {boolean} |
| 152 */ | 152 */ |
| 153 defaults.notifications_showui = false; | 153 defaults.notifications_showui = false; |
| 154 /** | 154 |
| 155 * Whether notification about privacy conflict should be shown. | |
| 156 * @type {boolean} | |
| 157 */ | |
| 158 defaults.ui_warn_tracking = true; | |
| 159 /** | 155 /** |
| 160 * Determines whether data has been cleaned up after upgrading from the legacy | 156 * Determines whether data has been cleaned up after upgrading from the legacy |
| 161 * extension on Firefox. | 157 * extension on Firefox. |
| 162 * | 158 * |
| 163 * @type {boolean} | 159 * @type {boolean} |
| 164 */ | 160 */ |
| 165 defaults.data_cleanup_done = false; | 161 defaults.data_cleanup_done = false; |
| 166 | 162 |
| 167 /** | 163 /** |
| 168 * Notification categories to be ignored. | 164 * Notification categories to be ignored. |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 eventEmitter.emit(pref); | 364 eventEmitter.emit(pref); |
| 369 } | 365 } |
| 370 } | 366 } |
| 371 }); | 367 }); |
| 372 } | 368 } |
| 373 | 369 |
| 374 Prefs.untilLoaded = Promise.all([localLoaded, managedLoaded]).then(onLoaded); | 370 Prefs.untilLoaded = Promise.all([localLoaded, managedLoaded]).then(onLoaded); |
| 375 } | 371 } |
| 376 | 372 |
| 377 init(); | 373 init(); |
| LEFT | RIGHT |