| Left: | ||
| Right: |
| 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-2015 Eyeo GmbH | 3 * Copyright (C) 2006-2015 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 136 /** | 136 /** |
| 137 * Whether to suppress the first run page. This preference isn't | 137 * Whether to suppress the first run page. This preference isn't |
| 138 * set by the extension but can be pre-configured externally. | 138 * set by the extension but can be pre-configured externally. |
| 139 * | 139 * |
| 140 * @see https://adblockplus.org/development-builds/suppressing-the-first-run-pag e-on-chrome | 140 * @see https://adblockplus.org/development-builds/suppressing-the-first-run-pag e-on-chrome |
| 141 * @type {boolean} | 141 * @type {boolean} |
| 142 */ | 142 */ |
| 143 defaults.suppress_first_run_page = false; | 143 defaults.suppress_first_run_page = false; |
| 144 | 144 |
| 145 /** | 145 /** |
| 146 * Notification categories to be ignored. | |
| 147 * | |
| 148 * @type {string[]} | |
| 149 */ | |
| 150 defaults.notifications_ignoredcategories = []; | |
|
Thomas Greiner
2015/06/04 21:44:31
#2192 also introduced the "notifications_showui" b
Sebastian Noack
2015/06/04 21:46:30
Argh, I just pushed the change this very moment. B
| |
| 151 | |
| 152 /** | |
| 146 * @namespace | 153 * @namespace |
| 147 * @static | 154 * @static |
| 148 */ | 155 */ |
| 149 let Prefs = exports.Prefs = { | 156 let Prefs = exports.Prefs = { |
| 150 /** | 157 /** |
| 151 * Fired when the value of a preference changes. | 158 * Fired when the value of a preference changes. |
| 152 * | 159 * |
| 153 * @event | 160 * @event |
| 154 * @property {string} pref The name of the preference that changed. | 161 * @property {string} pref The name of the preference that changed. |
| 155 */ | 162 */ |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 302 }); | 309 }); |
| 303 } | 310 } |
| 304 else | 311 else |
| 305 { | 312 { |
| 306 managedLoaded = true; | 313 managedLoaded = true; |
| 307 checkLoaded(); | 314 checkLoaded(); |
| 308 } | 315 } |
| 309 } | 316 } |
| 310 | 317 |
| 311 init(); | 318 init(); |
| OLD | NEW |