OLD | NEW |
1 /* | 1 /* |
2 * This file is part of Adblock Plus <http://adblockplus.org/>, | 2 * This file is part of Adblock Plus <http://adblockplus.org/>, |
3 * Copyright (C) 2006-2013 Eyeo GmbH | 3 * Copyright (C) 2006-2013 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 13 matching lines...) Expand all Loading... |
24 enabled: true, | 24 enabled: true, |
25 data_directory: "", | 25 data_directory: "", |
26 patternsbackups: 5, | 26 patternsbackups: 5, |
27 patternsbackupinterval: 24, | 27 patternsbackupinterval: 24, |
28 savestats: false, | 28 savestats: false, |
29 privateBrowsing: false, | 29 privateBrowsing: false, |
30 subscriptions_fallbackerrors: 5, | 30 subscriptions_fallbackerrors: 5, |
31 subscriptions_fallbackurl: "https://adblockplus.org/getSubscription?version=%V
ERSION%&url=%SUBSCRIPTION%&downloadURL=%URL%&error=%ERROR%&channelStatus=%CHANNE
LSTATUS%&responseStatus=%RESPONSESTATUS%", | 31 subscriptions_fallbackurl: "https://adblockplus.org/getSubscription?version=%V
ERSION%&url=%SUBSCRIPTION%&downloadURL=%URL%&error=%ERROR%&channelStatus=%CHANNE
LSTATUS%&responseStatus=%RESPONSESTATUS%", |
32 subscriptions_autoupdate: true, | 32 subscriptions_autoupdate: true, |
33 subscriptions_exceptionsurl: "https://easylist-downloads.adblockplus.org/excep
tionrules.txt", | 33 subscriptions_exceptionsurl: "https://easylist-downloads.adblockplus.org/excep
tionrules.txt", |
| 34 subscriptions_antiadblockurl: "https://easylist-downloads.adblockplus.org/anti
adblockfilters.txt", |
34 documentation_link: "https://adblockplus.org/redirect?link=%LINK%&lang=%LANG%"
, | 35 documentation_link: "https://adblockplus.org/redirect?link=%LINK%&lang=%LANG%"
, |
35 notificationdata: {}, | 36 notificationdata: {}, |
36 notificationurl: "https://notification.adblockplus.org/notification.json", | 37 notificationurl: "https://notification.adblockplus.org/notification.json", |
37 stats_total: {}, | 38 stats_total: {}, |
38 show_statsinicon: true, | 39 show_statsinicon: true, |
39 show_statsinpopup: true, | 40 show_statsinpopup: true, |
40 shouldShowBlockElementMenu: true, | 41 shouldShowBlockElementMenu: true, |
41 hidePlaceholders: true | 42 hidePlaceholders: true |
42 }; | 43 }; |
43 | 44 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 removeListener: function(listener) | 99 removeListener: function(listener) |
99 { | 100 { |
100 let index = listeners.indexOf(listener); | 101 let index = listeners.indexOf(listener); |
101 if (index >= 0) | 102 if (index >= 0) |
102 listeners.splice(index, 1); | 103 listeners.splice(index, 1); |
103 }, | 104 }, |
104 }; | 105 }; |
105 | 106 |
106 for (let key in defaults) | 107 for (let key in defaults) |
107 defineProperty(key); | 108 defineProperty(key); |
OLD | NEW |