зеркало из https://github.com/mozilla/gecko-dev.git
193 строки
9.0 KiB
JavaScript
193 строки
9.0 KiB
JavaScript
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* ***** BEGIN LICENSE BLOCK *****
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
*
|
|
* The contents of this file are subject to the Mozilla Public License Version
|
|
* 1.1 (the "License"); you may not use this file except in compliance with
|
|
* the License. You may obtain a copy of the License at
|
|
* http://www.mozilla.org/MPL/
|
|
*
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
* for the specific language governing rights and limitations under the
|
|
* License.
|
|
*
|
|
* The Original Code is mozilla.org code.
|
|
*
|
|
* The Initial Developer of the Original Code is
|
|
* Netscape Communications Corporation.
|
|
* Portions created by the Initial Developer are Copyright (C) 1998
|
|
* the Initial Developer. All Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
*
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
|
* use your version of this file under the terms of the MPL, indicate your
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
* the provisions above, a recipient may use your version of this file under
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
|
*
|
|
* ***** END LICENSE BLOCK ***** */
|
|
|
|
#filter substitution
|
|
|
|
// SYNTAX HINTS: dashes are delimiters. Use underscores instead.
|
|
// The first character after a period must be alphabetic.
|
|
|
|
pref("calendar.alarms.show", true);
|
|
pref("calendar.alarms.showmissed", true);
|
|
pref("calendar.alarms.playsound", true);
|
|
pref("calendar.alarms.soundURL", "chrome://calendar/content/sound.wav");
|
|
pref("calendar.alarms.onforevents", 0); //XXX this should be a bool
|
|
pref("calendar.alarms.onfortodos", 0); //XXX this should be a bool
|
|
pref("calendar.alarms.eventalarmlen", 15);
|
|
pref("calendar.alarms.todoalarmlen", 15);
|
|
pref("calendar.alarms.eventalarmunit", "minutes");
|
|
pref("calendar.alarms.todoalarmunit", "minutes");
|
|
pref("calendar.alarms.defaultsnoozelength", 60);
|
|
pref("calendar.date.format", 0);
|
|
pref("calendar.event.defaultlength", 60);
|
|
// Do NOT set this. If it is unset, we guess the timezone from the system
|
|
//pref("calendar.timezone.local", "America/New_York);
|
|
pref("calendar.view.defaultstarthour", 8);
|
|
pref("calendar.view.defaultendhour", 17);
|
|
pref("calendar.weeks.inview", 4);
|
|
pref("calendar.previousweeks.inview", 0);
|
|
|
|
// pref("startup.homepage_override_url","chrome://browser-region/locale/region.properties");
|
|
pref("general.startup.calendar", true);
|
|
|
|
pref("toolkit.defaultChromeURI","chrome://calendar/content/");
|
|
pref("browser.hiddenWindowChromeURL", "chrome://calendar/content/hiddenWindow.xul");
|
|
|
|
pref("xpinstall.dialog.confirm", "chrome://mozapps/content/xpinstall/xpinstallConfirm.xul");
|
|
pref("xpinstall.dialog.progress", "chrome://mozapps/content/downloads/downloads.xul");
|
|
pref("xpinstall.dialog.progress.skin", "chrome://mozapps/content/extensions/extensions.xul");
|
|
pref("xpinstall.dialog.progress.chrome", "chrome://mozapps/content/extensions/extensions.xul");
|
|
pref("xpinstall.dialog.progress.type.skin", "Extension:Manager");
|
|
pref("xpinstall.dialog.progress.type.chrome", "Extension:Manager");
|
|
pref("xpinstall.whitelist.add", "update.mozilla.org");
|
|
pref("xpinstall.whitelist.add.103", "addons.mozilla.org");
|
|
|
|
// App-specific update preferences
|
|
|
|
pref("app.update.enabled", false);
|
|
|
|
// Symmetric (can be overridden by individual extensions) update preferences.
|
|
// e.g.
|
|
// extensions.{GUID}.update.enabled
|
|
// extensions.{GUID}.update.url
|
|
// extensions.{GUID}.update.interval
|
|
// .. etc ..
|
|
//
|
|
pref("extensions.update.enabled", false);
|
|
pref("extensions.update.url", "chrome://mozapps/locale/extensions/extensions.properties");
|
|
pref("extensions.update.interval", 86400);
|
|
|
|
// Non-symmetric (not shared by extensions) extension-specific [update] preferences
|
|
pref("extensions.getMoreExtensionsURL", "chrome://mozapps/locale/extensions/extensions.properties");
|
|
pref("extensions.getMoreThemesURL", "chrome://mozapps/locale/extensions/extensions.properties");
|
|
pref("extensions.dss.enabled", false); // Dynamic Skin Switching
|
|
pref("extensions.dss.switchPending", false); // Non-dynamic switch pending after next
|
|
// restart.
|
|
|
|
// Developers can set this to |true| if they are constantly changing files in their
|
|
// extensions directory so that the extension system does not constantly think that
|
|
// their extensions are being updated and thus reregistered every time the app is
|
|
// started.
|
|
pref("extensions.ignoreMTimeChanges", false);
|
|
|
|
// Enables some extra Extension System Logging (can reduce performance)
|
|
pref("extensions.logging.enabled", false);
|
|
|
|
// Extension blocklist preferences
|
|
pref("extensions.blocklist.enabled", true);
|
|
pref("extensions.blocklist.interval", 86400);
|
|
pref("extensions.blocklist.url", "https://addons.mozilla.org/blocklist/1/%APP_ID%/%APP_VERSION%/");
|
|
pref("extensions.blocklist.detailsURL", "http://www.mozilla.com/blocklist/");
|
|
|
|
pref("general.useragent.locale", "@AB_CD@");
|
|
pref("general.skins.selectedSkin", "classic/1.0");
|
|
pref("general.useragent.extra.sunbird", "@APP_UA_NAME@/@APP_VERSION@");
|
|
|
|
// Scripts & Windows prefs
|
|
pref("dom.disable_open_during_load", true);
|
|
pref("javascript.options.showInConsole", true);
|
|
|
|
// l12n and i18n
|
|
pref("intl.accept_languages", "chrome://global/locale/intl.properties");
|
|
// collationOption is only set on linux for japanese. see bug 18338 and 62015
|
|
// we need to check if this pref is still useful.
|
|
pref("intl.collationOption", "chrome://global-platform/locale/intl.properties");
|
|
pref("intl.charsetmenu.browser.static", "chrome://global/locale/intl.properties");
|
|
pref("intl.charsetmenu.browser.more1", "chrome://global/locale/intl.properties");
|
|
pref("intl.charsetmenu.browser.more2", "chrome://global/locale/intl.properties");
|
|
pref("intl.charsetmenu.browser.more3", "chrome://global/locale/intl.properties");
|
|
pref("intl.charsetmenu.browser.more4", "chrome://global/locale/intl.properties");
|
|
pref("intl.charsetmenu.browser.more5", "chrome://global/locale/intl.properties");
|
|
pref("intl.charsetmenu.browser.unicode", "chrome://global/locale/intl.properties");
|
|
pref("intl.charset.detector", "chrome://global/locale/intl.properties");
|
|
pref("intl.charset.default", "chrome://global-platform/locale/intl.properties");
|
|
pref("font.language.group", "chrome://global/locale/intl.properties");
|
|
pref("intl.menuitems.alwaysappendaccesskeys","chrome://global/locale/intl.properties");
|
|
pref("intl.menuitems.insertseparatorbeforeaccesskeys","chrome://global/locale/intl.properties");
|
|
|
|
// 0=lines, 1=pages, 2=history , 3=text size
|
|
pref("mousewheel.withcontrolkey.action",3);
|
|
pref("mousewheel.withshiftkey.action",2);
|
|
pref("mousewheel.withaltkey.action",0);
|
|
|
|
pref("profile.allow_automigration", false); // setting to false bypasses automigration in the profile code
|
|
|
|
// pref to control the alert notification
|
|
pref("alerts.slideIncrement", 1);
|
|
pref("alerts.slideIncrementTime", 10);
|
|
pref("alerts.totalOpenTime", 4000);
|
|
|
|
pref("signon.rememberSignons", true);
|
|
pref("signon.expireMasterPassword", false);
|
|
pref("signon.SignonFileName", "signons.txt");
|
|
|
|
// We want to make sure mail URLs are handled externally...
|
|
pref("network.protocol-handler.external.mailto", true); // for mail
|
|
pref("network.protocol-handler.external.news", true); // for news
|
|
pref("network.protocol-handler.external.snews", true); // for secure news
|
|
pref("network.protocol-handler.external.nntp", true); // also news
|
|
// ...without warning dialogs
|
|
pref("network.protocol-handler.warn-external.http", false);
|
|
pref("network.protocol-handler.warn-external.https", false);
|
|
pref("network.protocol-handler.warn-external.ftp", false);
|
|
pref("network.protocol-handler.warn-external.mailto", false);
|
|
pref("network.protocol-handler.warn-external.news", false);
|
|
pref("network.protocol-handler.warn-external.snews", false);
|
|
pref("network.protocol-handler.warn-external.nntp", false);
|
|
|
|
pref("network.protocol-handler.expose-all", false);
|
|
pref("network.protocol-handler.expose.webcal", true);
|
|
|
|
// Default security warning dialogs to show once.
|
|
pref("security.warn_entering_secure.show_once", true);
|
|
pref("security.warn_entering_weak.show_once", true);
|
|
pref("security.warn_leaving_secure.show_once", true);
|
|
pref("security.warn_viewing_mixed.show_once", true);
|
|
pref("security.warn_submit_insecure.show_once", true);
|
|
|
|
// Preference viewer
|
|
#ifdef XP_WIN
|
|
pref("browser.preferences.instantApply", false);
|
|
#else
|
|
pref("browser.preferences.instantApply", true);
|
|
#endif
|
|
#ifdef XP_MACOSX
|
|
pref("browser.preferences.animateFadeIn", true);
|
|
#else
|
|
pref("browser.preferences.animateFadeIn", false);
|
|
#endif
|
|
|