<commit_before>// Any comment. You must start the file with a comment!
// https://developer.mozilla.org/en-US/Firefox/Enterprise_deployment_before_60

// Disable updater
lockPref("app.update.enabled", false);
// make absolutely sure it is really off
lockPref("app.update.auto", false);
lockPref("app.update.mode", 0);
lockPref("app.update.service.enabled", false);

// Disable Add-ons compatibility checking
clearPref("extensions.lastAppVersion"); 

// Don't show 'know your rights' on first run
pref("browser.rights.3.shown", true);

// Don't show WhatsNew on first run after every update
pref("browser.startup.homepage_override.mstone","ignore");

// Set default homepage - users can change
// Requires a complex preference
defaultPref("browser.startup.homepage","data:text/plain,browser.startup.homepage=http://home.example.com");

// Disable the internal PDF viewer
// pref("pdfjs.disabled", true);

// Disable the flash to javascript converter
pref("shumway.disabled", true);

// Don't ask to install the Flash plugin
pref("plugins.notifyMissingFlash", false);

//Disable plugin checking
lockPref("plugins.hide_infobar_for_outdated_plugin", true);
clearPref("plugins.update.url");

// Disable health reporter
lockPref("datareporting.healthreport.service.enabled", false);

// Disable all data upload (Telemetry and FHR)
lockPref("datareporting.policy.dataSubmissionEnabled", false);

// Disable crash reporter
lockPref("toolkit.crashreporter.enabled", false);
Components.classes["@mozilla.org/toolkit/crash-reporter;1"].getService(Components.interfaces.nsICrashReporter).submitReports = false; 

// Other
pref("browser.laterrun.enabled", false);
pref("browser.onboarding.enabled", false);
pref("browser.startup.firstrunSkipsHomepage", false);
pref("browser.startup.homepage", "https://bugzilla.mozilla.org/show_bug.cgi?id=1249971");
pref("datareporting.healthreport.uploadEnabled", false);
pref("privacy.donottrackheader.enabled", true);
pref("privacy.resistFingerprinting", true);
pref("privacy.trackingprotection.enabled", true);
pref("privacy.trackingprotection.introCount", 50);
pref("signon.rememberSignons", false);
pref("toolkit.telemetry.newProfilePing.enabled", false);
pref("toolkit.telemetry.updatePing.enabled", false);

// pref("privacy.sanitize.sanitizeOnShutdown", true);
// pref("privacy.sanitize.promptOnSanitize", true);
pref("browser.shell.checkDefaultBrowser", false);
pref("toolkit.telemetry.enabled", false);
pref("toolkit.telemetry.prompted", 2);
pref("toolkit.telemetry.rejected", true);

// Without this, bundled xpi files will not be enabled by default
// and only a yellow exclamation mark will be shown
pref("extensions.autoDisableScopes", 0);
<commit_msg>Update Firefox_mozilla.cfg<commit_after>// Any comment. You must start the file with a comment!
// https://developer.mozilla.org/en-US/Firefox/Enterprise_deployment_before_60

// Disable updater
lockPref("app.update.enabled", false);
// make absolutely sure it is really off
lockPref("app.update.auto", false);
lockPref("app.update.mode", 0);
lockPref("app.update.service.enabled", false);

// Disable Add-ons compatibility checking
clearPref("extensions.lastAppVersion"); 

// Don't show 'know your rights' on first run
pref("browser.rights.3.shown", true);

// Don't show WhatsNew on first run after every update
pref("browser.startup.homepage_override.mstone","ignore");

// Set default homepage - users can change
// Requires a complex preference
defaultPref("browser.startup.homepage","data:text/plain,browser.startup.homepage=http://home.example.com");

// Disable the internal PDF viewer
// pref("pdfjs.disabled", true);

// Disable the flash to javascript converter
pref("shumway.disabled", true);

// Don't ask to install the Flash plugin
pref("plugins.notifyMissingFlash", false);

//Disable plugin checking
lockPref("plugins.hide_infobar_for_outdated_plugin", true);
clearPref("plugins.update.url");

// Disable health reporter
lockPref("datareporting.healthreport.service.enabled", false);

// Disable all data upload (Telemetry and FHR)
lockPref("datareporting.policy.dataSubmissionEnabled", false);

// Disable crash reporter
lockPref("toolkit.crashreporter.enabled", false);
Components.classes["@mozilla.org/toolkit/crash-reporter;1"].getService(Components.interfaces.nsICrashReporter).submitReports = false; 

// Other
pref("browser.laterrun.enabled", false);
pref("browser.onboarding.enabled", false);
pref("browser.startup.firstrunSkipsHomepage", false);
pref("browser.startup.homepage", "https://bugzilla.mozilla.org/show_bug.cgi?id=1249971");
pref("datareporting.healthreport.uploadEnabled", false);
pref("privacy.donottrackheader.enabled", true);
pref("privacy.resistFingerprinting", true);
pref("privacy.trackingprotection.enabled", true);
pref("privacy.trackingprotection.introCount", 50);
pref("signon.rememberSignons", false);
pref("toolkit.telemetry.newProfilePing.enabled", false);
pref("toolkit.telemetry.updatePing.enabled", false);

// pref("privacy.sanitize.sanitizeOnShutdown", true);
// pref("privacy.sanitize.promptOnSanitize", true);
pref("browser.shell.checkDefaultBrowser", false);
pref("toolkit.telemetry.enabled", false);
pref("toolkit.telemetry.prompted", 2);
pref("toolkit.telemetry.rejected", true);

// Without this, bundled xpi files will not be enabled by default
// and only a yellow exclamation mark will be shown
pref("extensions.autoDisableScopes", 0);

// Allow GitHub, GitLab, Twitter logins to be shown on front page
pref("layout.css.devPixelsPerPx", "0.9");

{'fraction_non_alphanumeric': 0.14436363636363636, 'fraction_numerical': 0.0061818181818181816, 'mean_word_length': 6.423751686909582, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1178907', 'n_tokens_mistral': 1721, 'n_tokens_neox': 1644, 'n_words': 364}