-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
80 lines (48 loc) · 2.34 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// skip 1st line
let {
classes: Cc,
interfaces: Ci,
manager: Cm,
utils: Cu
} = Components;
Cu.importGlobalProperties(['PathUtils']);
Services.scriptloader.loadSubScript(
PathUtils.toFileURI(PathUtils.join(PathUtils.profileDir,
'chrome', 'userChrome', 'userChromeJS.js')), this, 'UTF-8'
);
let cmanifest = Cc['@mozilla.org/file/directory_service;1'].getService(Ci.nsIProperties).get('UChrm', Ci.nsIFile);
cmanifest.append('utils');
cmanifest.append('chrome.manifest');
if(cmanifest.exists()){
Cm.QueryInterface(Ci.nsIComponentRegistrar).autoRegister(cmanifest);
Cu.import('chrome://userchromejs/content/boot.jsm');
}
defaultPref("ui.systemUsesDarkMode", 0);
defaultPref("browser.theme.dark-private-windows", false);
defaultPref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
defaultPref("browser.compactmode.show", true);
defaultPref("extensions.pocket.enabled", false);
defaultPref("layout.css.backdrop-filter.enabled", true);
defaultPref("browser.display.windows.non_native_menus", 0);
defaultPref("widget.non-native-theme.enabled", false);
defaultPref("full-screen-api.warning.timeout", 0);
defaultPref("browser.newtabpage.activity-stream.feeds.telemetry", false);
defaultPref("browser.newtabpage.activity-stream.telemetry", false);
defaultPref("browser.ping-centre.telemetry", false);
defaultPref("datareporting.healthreport.service.enabled", false);
defaultPref("datareporting.healthreport.uploadEnabled", false);
defaultPref("datareporting.policy.dataSubmissionEnabled", false);
defaultPref("datareporting.sessions.current.clean", true);
defaultPref("devtools.onboarding.telemetry.logged", false);
defaultPref("toolkit.telemetry.archive.enabled", false);
defaultPref("toolkit.telemetry.bhrPing.enabled", false);
defaultPref("toolkit.telemetry.enabled", false);
defaultPref("toolkit.telemetry.firstShutdownPing.enabled", false);
defaultPref("toolkit.telemetry.hybridContent.enabled", false);
defaultPref("toolkit.telemetry.prompted", 2);
defaultPref("toolkit.telemetry.rejected", true);
defaultPref("toolkit.telemetry.reportingpolicy.firstRun", false);
defaultPref("toolkit.telemetry.shutdownPingSender.enabled", false);
defaultPref("toolkit.telemetry.unified", false);
defaultPref("toolkit.telemetry.unifiedIsOptIn", false);
defaultPref("toolkit.telemetry.updatePing.enabled", false);