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 * Whether notification opt-out UI should be shown. |
| 147 * @type {boolean} |
| 148 */ |
| 149 defaults.notifications_showui = false; |
| 150 |
| 151 /** |
146 * Notification categories to be ignored. | 152 * Notification categories to be ignored. |
147 * | 153 * |
148 * @type {string[]} | 154 * @type {string[]} |
149 */ | 155 */ |
150 defaults.notifications_ignoredcategories = []; | 156 defaults.notifications_ignoredcategories = []; |
151 | 157 |
152 /** | 158 /** |
153 * @namespace | 159 * @namespace |
154 * @static | 160 * @static |
155 */ | 161 */ |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 }); | 315 }); |
310 } | 316 } |
311 else | 317 else |
312 { | 318 { |
313 managedLoaded = true; | 319 managedLoaded = true; |
314 checkLoaded(); | 320 checkLoaded(); |
315 } | 321 } |
316 } | 322 } |
317 | 323 |
318 init(); | 324 init(); |
OLD | NEW |