搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

How can I disable the "How to change default browser in Windows 10" page

  • 2 个回答
  • 3 人有此问题
  • 1 次查看
  • 最后回复者为 ShortRound

more options

Hi all

I'm trying to customize Firefox for our company. My approach was to copy a fake profile (profile.default folder, profiles,ini, autoconfig.js, config.cfg) on each client. It's working pretty well so far but after each "installation" I got this annoying "How to change default browser in Windows 10" page. Is there any configuration parameter for this page that would allow me to skip it? Please find the content of my config.cfg file below:

try {

// Disable Reset Prompt when Profile is older than 60days lockPref("browser.disableResetPrompt", true)

// 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 lockPref("extensions.lastAppVersion");

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

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

// Set default homepage - users can change defaultPref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=http://LO2DashboardCH/dashboard|http://LO2ConsoleCH/console");

// Disable slow startup notification lockPref("browser.slowStartup.notificationDisabled", true);

// Enable DoNotTrack lockPref("privacy.donottrackheader.enabled", true);

// Disable save sign-on information lockPref("signon.rememberSignons", false);

// Disable tabs warn on open lockPref("browser.tabs.warnOnOpen", false);

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

// 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 health reporting lockPref("datareporting.healthreport.uploadEnabled", false);

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

// Disable warn on closing tab lockPref("browser.tabs.warnOnClose", false); lockPref("browser.tabs.warnOnCloseOtherTabs", false);

// Disable check default browser lockPref("browser.shell.checkDefaultBrowser", false);

// Disable default browser button lockPref("pref.general.disable_button.default_browser", true);

} catch(e) { displayError("lockedPref", e); }

Thanks in advance Chris

Hi all I'm trying to customize Firefox for our company. My approach was to copy a fake profile (profile.default folder, profiles,ini, autoconfig.js, config.cfg) on each client. It's working pretty well so far but after each "installation" I got this annoying "How to change default browser in Windows 10" page. Is there any configuration parameter for this page that would allow me to skip it? Please find the content of my config.cfg file below: try { // Disable Reset Prompt when Profile is older than 60days lockPref("browser.disableResetPrompt", true) // 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 lockPref("extensions.lastAppVersion"); // Don't show 'know your rights' on first run lockPref("browser.rights.3.shown", true); // Don't show WhatsNew on first run after every update lockPref("browser.startup.homepage_override.mstone","ignore"); // Set default homepage - users can change defaultPref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=http://LO2DashboardCH/dashboard|http://LO2ConsoleCH/console"); // Disable slow startup notification lockPref("browser.slowStartup.notificationDisabled", true); // Enable DoNotTrack lockPref("privacy.donottrackheader.enabled", true); // Disable save sign-on information lockPref("signon.rememberSignons", false); // Disable tabs warn on open lockPref("browser.tabs.warnOnOpen", false); // Disable the internal PDF viewer lockPref("pdfjs.disabled", true); // 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 health reporting lockPref("datareporting.healthreport.uploadEnabled", false); // Disable crash reporter lockPref("toolkit.crashreporter.enabled", false); Components.classes["@mozilla.org/toolkit/crash-reporter;1"].getService(Components.interfaces.nsICrashReporter).submitReports = false; // Disable warn on closing tab lockPref("browser.tabs.warnOnClose", false); lockPref("browser.tabs.warnOnCloseOtherTabs", false); // Disable check default browser lockPref("browser.shell.checkDefaultBrowser", false); // Disable default browser button lockPref("pref.general.disable_button.default_browser", true); } catch(e) { displayError("lockedPref", e); } Thanks in advance Chris

被采纳的解决方案

hi, chris - you'll probably want to set "browser.usedOnWindows10" to "true" in your config file.

定位到答案原位置 👍 2

所有回复 (2)

more options

选择的解决方案

hi, chris - you'll probably want to set "browser.usedOnWindows10" to "true" in your config file.

more options

Hi Philipp

Thats correct, thank you. I thought I already tried that but perhaps it didn't apply or I made mistake. However, my question has been answered.

best regards Chris