Menu
Home
Blog
Add-ons
Forum
Wiki
Developers
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
app
preferences
songbird-update-prefs.js
Go to the documentation of this file.
1
// Whether or not app updates are enabled
2
pref
(
"app.update.enabled"
,
true
);
3
4
// This preference turns on app.update.mode and allows automatic download and
5
// install to take place. We use a separate boolean toggle for this to make
6
// the UI easier to construct.
7
pref
(
"app.update.auto"
,
true
);
8
9
// Defines how the Application Update Service notifies the user about updates:
10
//
11
// AUM Set to: Minor Releases: Major Releases:
12
// 0 download no prompt download no prompt
13
// 1 download no prompt download no prompt if no incompatibilities
14
// 2 download no prompt prompt
15
//
16
// See chart in nsUpdateService.js.in for more details
17
//
18
pref
(
"app.update.mode"
, 1);
19
20
// If set to true, the Update Service will present no UI for any event.
21
pref
(
"app.update.silent"
,
false
);
22
23
// Update service URL - see branding prefs
24
// pref("app.update.url", ****);
25
26
// URL user can browse to manually if for some reason all update installation
27
// attempts fail. - see branding prefs
28
// pref("app.update.url.manual", ****);
29
30
// A default value for the "More information about this update" link
31
// supplied in the "An update is available" page of the update wizard.
32
// - see branding prefs
33
// pref("app.update.url.details", ****);
34
35
// User-settable override to app.update.url for testing purposes.
36
//pref("app.update.url.override", "");
37
38
// Interval: Time between checks for a new version (in seconds)
39
// default=1 day
40
pref
(
"app.update.interval"
, 86400);
41
42
// Interval: Time before prompting the user to download a new version that
43
// is available (in seconds) default=1 day
44
pref
(
"app.update.nagTimer.download"
, 86400);
45
46
// Interval: Time before prompting the user to restart to install the latest
47
// download (in seconds) default=30 minutes
48
pref
(
"app.update.nagTimer.restart"
, 1800);
49
50
// Interval: When all registered timers should be checked (in milliseconds)
51
// default=5 seconds
52
pref
(
"app.update.timer"
, 600000);
53
54
// Whether or not we show a dialog box informing the user that the update was
55
// successfully applied. This is off in Firefox by default since we show a
56
// upgrade start page instead! Other apps may wish to show this UI, and supply
57
// a whatsNewURL field in their brand.properties that contains a link to a page
58
// which tells users what's new in this new update.
59
pref
(
"app.update.showInstalledUI"
,
false
);
60
61
// 0 = suppress prompting for incompatibilities if there are updates available
62
// to newer versions of installed addons that resolve them.
63
// 1 = suppress prompting for incompatibilities only if there are VersionInfo
64
// updates available to installed addons that resolve them, not newer
65
// versions.
66
pref
(
"app.update.incompatible.mode"
, 0);
67
68
// Symmetric (can be overridden by individual extensions) update preferences.
69
// e.g.
70
// extensions.{GUID}.update.enabled
71
// extensions.{GUID}.update.url
72
// extensions.{GUID}.update.interval
73
// .. etc ..
74
//
75
pref
(
"extensions.update.enabled"
,
false
);
76
// - see branding prefs
77
// pref("extensions.update.url", ****);
78
pref
(
"extensions.update.interval"
, 86400);
// Check for updates to Extensions and
79
// Feathers every day
80
// Non-symmetric (not shared by extensions) extension-specific [update] preferences
81
// - see branding prefs
82
// pref("extensions.getMoreExtensionsURL", ****);
83
// pref("extensions.getMoreThemesURL", ****);
84
85
pref
(
"extensions.blocklist.enabled"
,
false
);
86
pref
(
"extensions.blocklist.interval"
, 86400);
87
// see branding prefs
88
// pref("extensions.blocklist.url", ****);
89
// pref("extensions.blocklist.detailsURL", ****);
90
pref
(
"extensions.ignoreMTimeChanges"
,
false
);
91
92
// We whitelist addons and translate - see branding prefs
93
// pref("xpinstall.whitelist.add", ****);
94
// pref("xpinstall.whitelist.add.0", ****);
95
96
// We may want to whitelist addons.mozilla.org in the future.
97
//pref("xpinstall.whitelist.add.1", "addons.mozilla.org");
98
99
pref
(
"songbird.recommended_addons.update.enabled"
,
true
);
100
// Interval: Time in seconds between checks for a new add-on bundle.
101
// default=1 day
102
pref
(
"songbird.recommended_addons.update.interval"
, 86400);
103
pref
pref("app.update.enabled", true)