| Index: lib/prefs.js |
| =================================================================== |
| --- a/lib/prefs.js |
| +++ b/lib/prefs.js |
| @@ -28,19 +28,22 @@ let defaults = { |
| data_directory: "", |
| savestats: false, |
| privateBrowsing: false, |
| subscriptions_fallbackerrors: 5, |
| subscriptions_fallbackurl: "https://adblockplus.org/getSubscription?version=%VERSION%&url=%SUBSCRIPTION%&downloadURL=%URL%&error=%ERROR%&channelStatus=%CHANNELSTATUS%&responseStatus=%RESPONSESTATUS%", |
| subscriptions_autoupdate: true, |
| subscriptions_exceptionsurl: "https://easylist-downloads.adblockplus.org/exceptionrules.txt", |
| documentation_link: "https://adblockplus.org/redirect?link=%LINK%&lang=%LANG%", |
| - update_url_release: "https://update.adblockplus.org/%NAME%/update.json?id=%ID%&version=%VERSION%&app=%APP%&type=%TYPE%", |
| - update_url_devbuild: "https://adblockplus.org/devbuilds/%NAME%/update.json?id=%ID%&version=%VERSION%&app=%APP%&type=%TYPE%", |
| - next_update_check: 0 |
| + update_url_release: "https://update.adblockplus.org/%NAME%/update.json?type=%TYPE%", |
| + update_url_devbuild: "https://adblockplus.org/devbuilds/%NAME%/update.json?type=%TYPE%", |
| + update_last_check: 0, |
| + update_last_error: 0, |
| + update_soft_expiration: 0, |
| + update_hard_expiration: 0 |
| }; |
| let values = Object.create(defaults); |
| let path = _fileSystem.resolve("prefs.json"); |
| let listeners = []; |
| let isDirty = false; |
| let isSaving = false; |