2002-09-29 22:11:09 +04:00
|
|
|
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* ***** BEGIN LICENSE BLOCK *****
|
2004-01-19 01:10:15 +03:00
|
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
2002-09-29 22:11:09 +04:00
|
|
|
*
|
2004-01-19 01:10:15 +03:00
|
|
|
* 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/
|
2002-09-29 22:11:09 +04:00
|
|
|
*
|
|
|
|
* 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
|
2004-01-19 01:10:15 +03:00
|
|
|
* use your version of this file under the terms of the MPL, indicate your
|
2002-09-29 22:11:09 +04:00
|
|
|
* 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
|
2004-01-19 01:10:15 +03:00
|
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
2002-09-29 22:11:09 +04:00
|
|
|
*
|
|
|
|
* ***** END LICENSE BLOCK ***** */
|
|
|
|
|
2005-06-10 04:07:47 +04:00
|
|
|
// XXX Toolkit-specific preferences should be moved into toolkit.js
|
|
|
|
|
2004-09-24 22:39:33 +04:00
|
|
|
#filter substitution
|
|
|
|
|
|
|
|
# SYNTAX HINTS: dashes are delimiters. Use underscores instead.
|
|
|
|
# The first character after a period must be alphabetic.
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2005-08-09 01:05:37 +04:00
|
|
|
#ifdef XP_UNIX
|
|
|
|
#ifndef XP_MACOSX
|
|
|
|
#define UNIX_BUT_NOT_MAC
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2005-06-30 05:35:45 +04:00
|
|
|
pref("startup.homepage_override_url","chrome://browser-region/locale/region.properties");
|
2004-01-15 02:41:12 +03:00
|
|
|
pref("general.startup.browser", true);
|
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.chromeURL","chrome://browser/content/");
|
2003-08-11 10:54:55 +04:00
|
|
|
pref("browser.hiddenWindowChromeURL", "chrome://browser/content/hiddenWindow.xul");
|
2003-12-08 11:05:15 +03:00
|
|
|
pref("xpinstall.dialog.confirm", "chrome://mozapps/content/xpinstall/xpinstallConfirm.xul");
|
2006-04-27 07:05:10 +04:00
|
|
|
pref("xpinstall.dialog.progress.skin", "chrome://mozapps/content/extensions/extensions.xul?view=installs");
|
|
|
|
pref("xpinstall.dialog.progress.chrome", "chrome://mozapps/content/extensions/extensions.xul?view=installs");
|
|
|
|
pref("xpinstall.dialog.progress.type.skin", "Extension:Manager");
|
|
|
|
pref("xpinstall.dialog.progress.type.chrome", "Extension:Manager");
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2005-04-23 05:39:51 +04:00
|
|
|
// 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);
|
2004-04-25 14:37:18 +04:00
|
|
|
|
2006-03-09 00:54:27 +03:00
|
|
|
// 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/");
|
|
|
|
|
2004-11-30 11:23:02 +03:00
|
|
|
// App-specific update preferences
|
2005-06-07 01:37:18 +04:00
|
|
|
|
2005-06-28 22:56:40 +04:00
|
|
|
// Whether or not app updates are enabled
|
2005-08-04 00:34:17 +04:00
|
|
|
pref("app.update.enabled", true);
|
2005-06-28 22:56:40 +04:00
|
|
|
|
2005-06-29 05:34:36 +04:00
|
|
|
// This preference turns on app.update.mode and allows automatic download and
|
|
|
|
// install to take place. We use a separate boolean toggle for this to make
|
|
|
|
// the UI easier to construct.
|
|
|
|
pref("app.update.auto", true);
|
|
|
|
|
2005-06-28 22:56:40 +04:00
|
|
|
// Defines how the Application Update Service notifies the user about updates:
|
|
|
|
//
|
|
|
|
// AUM Set to: Minor Releases: Major Releases:
|
|
|
|
// 0 download no prompt download no prompt
|
|
|
|
// 1 download no prompt download no prompt if no incompatibilities
|
|
|
|
// 2 download no prompt prompt
|
|
|
|
//
|
|
|
|
// See chart in nsUpdateService.js.in for more details
|
|
|
|
//
|
|
|
|
pref("app.update.mode", 1);
|
|
|
|
|
|
|
|
// If set to true, the Update Service will present no UI for any event.
|
|
|
|
pref("app.update.silent", false);
|
2005-06-07 01:37:18 +04:00
|
|
|
|
2005-08-25 06:16:35 +04:00
|
|
|
// Update service URL:
|
2005-08-25 07:49:07 +04:00
|
|
|
pref("app.update.url", "https://aus2.mozilla.org/update/1/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/update.xml");
|
2005-06-22 04:59:50 +04:00
|
|
|
// URL user can browse to manually if for some reason all update installation
|
2005-08-25 06:16:35 +04:00
|
|
|
// attempts fail. TODO: Change this URL
|
2005-09-28 03:35:00 +04:00
|
|
|
pref("app.update.url.manual", "http://www.mozilla.org/products/firefox/");
|
2005-10-03 20:34:49 +04:00
|
|
|
// A default value for the "More information about this update" link
|
|
|
|
// supplied in the "An update is available" page of the update wizard.
|
|
|
|
pref("app.update.url.details", "chrome://browser-region/locale/region.properties");
|
|
|
|
|
2005-08-25 06:16:35 +04:00
|
|
|
// User-settable override to app.update.url for testing purposes.
|
|
|
|
//pref("app.update.url.override", "");
|
2005-06-22 04:59:50 +04:00
|
|
|
|
|
|
|
// Interval: Time between checks for a new version (in seconds)
|
|
|
|
// default=1 day
|
|
|
|
pref("app.update.interval", 86400);
|
|
|
|
// Interval: Time before prompting the user to download a new version that
|
|
|
|
// is available (in seconds) default=1 day
|
|
|
|
pref("app.update.nagTimer.download", 86400);
|
|
|
|
// Interval: Time before prompting the user to restart to install the latest
|
|
|
|
// download (in seconds) default=30 minutes
|
|
|
|
pref("app.update.nagTimer.restart", 1800);
|
|
|
|
// Interval: When all registered timers should be checked (in milliseconds)
|
|
|
|
// default=5 seconds
|
2005-08-26 23:40:55 +04:00
|
|
|
pref("app.update.timer", 600000);
|
2005-06-07 01:37:18 +04:00
|
|
|
|
2005-06-30 05:35:45 +04:00
|
|
|
// Whether or not we show a dialog box informing the user that the update was
|
|
|
|
// successfully applied. This is off in Firefox by default since we show a
|
|
|
|
// upgrade start page instead! Other apps may wish to show this UI, and supply
|
|
|
|
// a whatsNewURL field in their brand.properties that contains a link to a page
|
|
|
|
// which tells users what's new in this new update.
|
|
|
|
pref("app.update.showInstalledUI", false);
|
|
|
|
|
2005-08-04 00:32:51 +04:00
|
|
|
// 0 = suppress prompting for incompatibilities if there are updates available
|
|
|
|
// to newer versions of installed addons that resolve them.
|
|
|
|
// 1 = suppress prompting for incompatibilities only if there are VersionInfo
|
|
|
|
// updates available to installed addons that resolve them, not newer
|
|
|
|
// versions.
|
|
|
|
pref("app.update.incompatible.mode", 0);
|
|
|
|
|
2004-11-30 11:23:02 +03:00
|
|
|
// 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", true);
|
|
|
|
pref("extensions.update.url", "chrome://mozapps/locale/extensions/extensions.properties");
|
2005-07-25 21:25:04 +04:00
|
|
|
pref("extensions.update.interval", 86400); // Check for updates to Extensions and
|
|
|
|
// Themes every week
|
2004-11-30 11:23:02 +03:00
|
|
|
// 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.
|
|
|
|
|
2005-04-07 00:13:32 +04:00
|
|
|
pref("xpinstall.whitelist.add", "update.mozilla.org");
|
|
|
|
pref("xpinstall.whitelist.add.103", "addons.mozilla.org");
|
2004-04-21 08:35:27 +04:00
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("keyword.enabled", true);
|
2004-08-29 12:17:38 +04:00
|
|
|
pref("keyword.URL", "http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=");
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2004-09-24 22:39:33 +04:00
|
|
|
pref("general.useragent.locale", "@AB_CD@");
|
2004-09-22 00:19:48 +04:00
|
|
|
pref("general.skins.selectedSkin", "classic/1.0");
|
2006-04-20 07:31:37 +04:00
|
|
|
pref("general.useragent.extra.firefox", "@APP_UA_NAME@/@APP_VERSION@");
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2003-05-21 05:35:57 +04:00
|
|
|
pref("general.smoothScroll", false);
|
2005-08-09 01:05:37 +04:00
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
2004-01-14 02:08:01 +03:00
|
|
|
pref("general.autoScroll", false);
|
|
|
|
#else
|
2003-08-08 12:01:24 +04:00
|
|
|
pref("general.autoScroll", true);
|
2003-12-18 11:12:58 +03:00
|
|
|
#endif
|
2003-04-22 07:08:23 +04:00
|
|
|
|
2004-03-08 12:56:16 +03:00
|
|
|
// Whether or not the application should check at startup each time if it
|
|
|
|
// is the default browser.
|
|
|
|
pref("browser.shell.checkDefaultBrowser", true);
|
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
// 0 = blank, 1 = home (browser.startup.homepage), 2 = last
|
|
|
|
// XXXBlake Remove this stupid pref
|
|
|
|
pref("browser.startup.page", 1);
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("browser.startup.homepage", "resource:/browserconfig.properties");
|
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.cache.disk.capacity", 50000);
|
2003-03-13 11:11:20 +03:00
|
|
|
pref("browser.enable_automatic_image_resizing", true);
|
2006-04-21 20:51:43 +04:00
|
|
|
pref("browser.urlbar.autoFill", false);
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.urlbar.matchOnlyTyped", false);
|
|
|
|
pref("browser.chrome.site_icons", true);
|
|
|
|
pref("browser.chrome.favicons", true);
|
2003-02-01 12:13:51 +03:00
|
|
|
pref("browser.formfill.enable", true);
|
|
|
|
|
2003-10-24 11:41:43 +04:00
|
|
|
pref("browser.download.useDownloadDir", true);
|
|
|
|
pref("browser.download.folderList", 0);
|
2005-09-16 15:52:56 +04:00
|
|
|
#ifdef XP_WIN
|
2003-12-01 06:48:13 +03:00
|
|
|
pref("browser.download.manager.showAlertOnComplete", true);
|
2005-09-16 15:52:56 +04:00
|
|
|
#else
|
|
|
|
pref("browser.download.manager.showAlertOnComplete", false);
|
|
|
|
#endif
|
2003-12-01 06:48:13 +03:00
|
|
|
pref("browser.download.manager.showAlertInterval", 2000);
|
2003-11-30 02:57:52 +03:00
|
|
|
pref("browser.download.manager.retention", 2);
|
|
|
|
pref("browser.download.manager.showWhenStarting", true);
|
2003-12-01 04:54:41 +03:00
|
|
|
pref("browser.download.manager.useWindow", true);
|
2004-09-29 12:12:52 +04:00
|
|
|
pref("browser.download.manager.closeWhenDone", false);
|
2004-03-04 04:13:25 +03:00
|
|
|
pref("browser.download.manager.openDelay", 0);
|
2004-02-11 06:48:02 +03:00
|
|
|
pref("browser.download.manager.focusWhenStarting", false);
|
|
|
|
pref("browser.download.manager.flashCount", 2);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2003-10-22 12:45:54 +04:00
|
|
|
// pointer to the default engine name
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("browser.search.defaultenginename", "chrome://browser-region/locale/region.properties");
|
2006-03-17 10:16:00 +03:00
|
|
|
|
|
|
|
// disable logging for the search service by default
|
|
|
|
pref("browser.search.log", false);
|
|
|
|
|
2004-11-30 11:23:02 +03:00
|
|
|
// Ordering of Search Engines in the Engine list.
|
|
|
|
pref("browser.search.order.1", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.search.order.2", "chrome://browser-region/locale/region.properties");
|
|
|
|
|
2005-03-10 07:38:35 +03:00
|
|
|
pref("browser.search.param.Google.1.default", "chrome://branding/content/searchconfig.properties");
|
|
|
|
pref("browser.search.param.Google.1.custom", "chrome://branding/content/searchconfig.properties");
|
|
|
|
pref("browser.search.order.Yahoo.1", "chrome://branding/content/searchconfig.properties");
|
|
|
|
pref("browser.search.order.Yahoo.2", "chrome://branding/content/searchconfig.properties");
|
|
|
|
pref("browser.search.order.Yahoo", "chrome://branding/content/searchconfig.properties");
|
2004-08-29 12:17:38 +04:00
|
|
|
|
2005-09-17 23:51:21 +04:00
|
|
|
// search bar results always open in a new tab
|
|
|
|
pref("browser.search.openintab", false);
|
|
|
|
|
2005-08-12 07:06:39 +04:00
|
|
|
// send ping to the server to update
|
|
|
|
pref("browser.search.update", true);
|
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.history.grouping", "day");
|
|
|
|
pref("browser.sessionhistory.max_entries", 50);
|
2005-03-22 03:38:35 +03:00
|
|
|
|
|
|
|
// handle external links
|
|
|
|
// 0=default window, 1=current window/tab, 2=new window, 3=new tab in most recent window
|
|
|
|
pref("browser.link.open_external", 3);
|
|
|
|
|
|
|
|
// handle links targeting new windows
|
2006-03-03 23:19:49 +03:00
|
|
|
pref("browser.link.open_newwindow", 3);
|
2005-03-22 03:38:35 +03:00
|
|
|
|
|
|
|
// 0: no restrictions - divert everything
|
|
|
|
// 1: don't divert window.open at all
|
|
|
|
// 2: don't divert window.open with features
|
2005-10-22 03:33:53 +04:00
|
|
|
pref("browser.link.open_newwindow.restriction", 2);
|
2005-03-22 03:38:35 +03:00
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
// Tab browser preferences.
|
|
|
|
pref("browser.tabs.loadInBackground", true);
|
2002-10-12 01:03:28 +04:00
|
|
|
pref("browser.tabs.loadFolderAndReplace", true);
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.tabs.opentabfor.middleclick", true);
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("browser.tabs.loadDivertedInBackground", false);
|
2004-05-28 21:18:13 +04:00
|
|
|
pref("browser.tabs.loadBookmarksInBackground", false);
|
2006-01-21 02:04:26 +03:00
|
|
|
pref("browser.tabs.tabClipWidth", 140);
|
|
|
|
pref("browser.tabs.disableBackgroundClose", false);
|
|
|
|
|
|
|
|
// When tabs opened by links in other tabs via a combination of
|
|
|
|
// browser.link.open_newwindow being set to 3 and target="_blank" etc are
|
|
|
|
// closed:
|
|
|
|
// true return to the tab that opened this tab (its owner)
|
|
|
|
// false return to the adjacent tab (old default)
|
|
|
|
pref("browser.tabs.selectOwnerOnClose", true);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
|
|
|
// Default bookmark sorting
|
|
|
|
pref("browser.bookmarks.sort.direction", "descending");
|
|
|
|
pref("browser.bookmarks.sort.resource", "rdf:http://home.netscape.com/NC-rdf#Name");
|
|
|
|
|
|
|
|
// Scripts & Windows prefs
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("dom.disable_open_during_load", true);
|
|
|
|
pref("javascript.options.showInConsole", false);
|
2004-12-01 10:09:48 +03:00
|
|
|
// Make the status bar reliably present and unaffected by pages
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("dom.disable_window_open_feature.status", true);
|
|
|
|
// This is the pref to control the location bar, change this to true to
|
|
|
|
// force this instead of or in addition to the status bar - this makes
|
|
|
|
// the origin of popup windows more obvious to avoid spoofing but we
|
|
|
|
// cannot do it by default because it affects UE for web applications.
|
|
|
|
pref("dom.disable_window_open_feature.location", false);
|
2004-09-07 03:23:54 +04:00
|
|
|
pref("dom.disable_window_status_change", true);
|
2006-02-24 21:24:04 +03:00
|
|
|
// allow JS to move and resize existing windows
|
|
|
|
pref("dom.disable_window_move_resize", false);
|
2005-08-10 09:50:54 +04:00
|
|
|
// prevent JS from monkeying with window focus, etc
|
|
|
|
pref("dom.disable_window_flip", true);
|
2006-03-03 23:34:56 +03:00
|
|
|
|
2002-10-08 04:11:15 +04:00
|
|
|
// popups.policy 1=allow,2=reject
|
2002-10-08 05:44:42 +04:00
|
|
|
pref("privacy.popups.policy", 1);
|
2002-10-09 03:24:03 +04:00
|
|
|
pref("privacy.popups.usecustom", true);
|
2002-10-09 05:16:21 +04:00
|
|
|
pref("privacy.popups.firstTime", true);
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("privacy.popups.showBrowserMessage", true);
|
|
|
|
|
2005-02-25 12:07:58 +03:00
|
|
|
pref("privacy.item.history", true);
|
|
|
|
pref("privacy.item.formdata", true);
|
|
|
|
pref("privacy.item.passwords", false);
|
|
|
|
pref("privacy.item.downloads", true);
|
|
|
|
pref("privacy.item.cookies", false);
|
|
|
|
pref("privacy.item.cache", true);
|
|
|
|
pref("privacy.item.siteprefs", false);
|
2005-07-27 01:38:23 +04:00
|
|
|
pref("privacy.item.sessions", true);
|
2005-02-25 12:07:58 +03:00
|
|
|
|
|
|
|
pref("privacy.sanitize.sanitizeOnShutdown", false);
|
|
|
|
pref("privacy.sanitize.promptOnSanitize", true);
|
|
|
|
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("network.proxy.share_proxy_settings", false); // use the same proxy settings for all protocols
|
2002-10-08 04:11:15 +04:00
|
|
|
|
2003-10-17 19:21:48 +04:00
|
|
|
pref("network.cookie.cookieBehavior", 0); // cookies enabled
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("network.cookie.enableForCurrentSessionOnly", false);
|
|
|
|
|
2003-11-15 11:26:10 +03:00
|
|
|
// 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");
|
2004-03-06 09:11:48 +03:00
|
|
|
pref("intl.charsetmenu.browser.unicode", "chrome://global/locale/intl.properties");
|
2003-11-15 11:26:10 +03:00
|
|
|
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");
|
2005-07-20 12:40:13 +04:00
|
|
|
pref("intl.menuitems.insertseparatorbeforeaccesskeys","chrome://global/locale/intl.properties");
|
2002-09-29 22:11:09 +04:00
|
|
|
|
|
|
|
// 0=lines, 1=pages, 2=history , 3=text size
|
2005-09-26 07:40:18 +04:00
|
|
|
#ifdef XP_MACOSX
|
|
|
|
// On OS X, if the wheel has one axis only, shift+wheel comes through as a
|
|
|
|
// horizontal scroll event. Thus, we can't assign anything other than normal
|
|
|
|
// scrolling to shift+wheel.
|
2005-11-17 21:50:50 +03:00
|
|
|
pref("mousewheel.withshiftkey.action",0);
|
|
|
|
pref("mousewheel.withshiftkey.sysnumlines",true);
|
|
|
|
pref("mousewheel.withshiftkey.numlines",1);
|
|
|
|
pref("mousewheel.withaltkey.action",2);
|
|
|
|
pref("mousewheel.withaltkey.sysnumlines",false);
|
|
|
|
pref("mousewheel.withaltkey.numlines",1);
|
|
|
|
pref("mousewheel.withmetakey.action",0);
|
2005-10-10 23:29:47 +04:00
|
|
|
pref("mousewheel.withmetakey.sysnumlines",false);
|
2005-11-17 21:50:50 +03:00
|
|
|
pref("mousewheel.withmetakey.numlines",1);
|
2005-09-26 07:40:18 +04:00
|
|
|
#else
|
2003-07-06 06:40:23 +04:00
|
|
|
pref("mousewheel.withshiftkey.action",2);
|
2005-10-10 23:29:47 +04:00
|
|
|
pref("mousewheel.withshiftkey.sysnumlines",false);
|
2005-11-17 21:50:50 +03:00
|
|
|
pref("mousewheel.withshiftkey.numlines",1);
|
2003-07-06 06:40:23 +04:00
|
|
|
pref("mousewheel.withaltkey.action",0);
|
2005-10-10 23:29:47 +04:00
|
|
|
pref("mousewheel.withaltkey.sysnumlines",false);
|
2005-11-17 21:50:50 +03:00
|
|
|
pref("mousewheel.withaltkey.numlines",1);
|
|
|
|
pref("mousewheel.withmetakey.action",0);
|
|
|
|
pref("mousewheel.withmetakey.sysnumlines",true);
|
|
|
|
pref("mousewheel.withmetakey.numlines",1);
|
|
|
|
#endif
|
|
|
|
pref("mousewheel.withcontrolkey.action",3);
|
|
|
|
pref("mousewheel.withcontrolkey.sysnumlines",false);
|
|
|
|
pref("mousewheel.withcontrolkey.numlines",1);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2003-10-22 03:36:47 +04:00
|
|
|
pref("profile.allow_automigration", false); // setting to false bypasses automigration in the profile code
|
2002-09-29 22:11:09 +04:00
|
|
|
|
|
|
|
// Customizable toolbar stuff
|
|
|
|
pref("custtoolbar.personal_toolbar_folder", "");
|
2003-07-20 08:04:37 +04:00
|
|
|
pref("browser.throbber.url","chrome://browser-region/locale/region.properties");
|
2002-09-29 22:11:09 +04:00
|
|
|
|
|
|
|
// pref to control the alert notification
|
|
|
|
pref("alerts.slideIncrement", 1);
|
|
|
|
pref("alerts.slideIncrementTime", 10);
|
|
|
|
pref("alerts.totalOpenTime", 4000);
|
|
|
|
pref("alerts.height", 50);
|
|
|
|
|
2005-06-28 19:49:37 +04:00
|
|
|
pref("browser.xul.error_pages.enabled", true);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
|
|
|
pref("signon.rememberSignons", true);
|
|
|
|
pref("signon.expireMasterPassword", false);
|
2003-08-12 09:22:10 +04:00
|
|
|
pref("signon.SignonFileName", "signons.txt");
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2004-10-25 11:46:01 +04:00
|
|
|
// We want to make sure mail URLs are handled externally...
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("network.protocol-handler.external.mailto", true); // for mail
|
2004-10-25 11:46:01 +04:00
|
|
|
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.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);
|
2003-05-19 08:23:22 +04:00
|
|
|
|
2003-11-21 03:09:50 +03:00
|
|
|
// By default, all protocol handlers are exposed. This means that
|
|
|
|
// the browser will respond to openURL commands for all URL types.
|
|
|
|
// It will also try to open link clicks inside the browser before
|
|
|
|
// failing over to the system handlers.
|
|
|
|
pref("network.protocol-handler.expose-all", true);
|
2004-03-17 03:22:20 +03:00
|
|
|
pref("network.protocol-handler.expose.mailto", false);
|
2004-10-25 11:46:01 +04:00
|
|
|
pref("network.protocol-handler.expose.news", false);
|
|
|
|
pref("network.protocol-handler.expose.snews", false);
|
|
|
|
pref("network.protocol-handler.expose.nntp", false);
|
2003-11-21 03:09:50 +03:00
|
|
|
|
2004-01-01 02:03:08 +03:00
|
|
|
// 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);
|
2004-06-02 01:31:54 +04:00
|
|
|
|
|
|
|
#ifdef XP_UNIX
|
|
|
|
pref("browser.urlbar.clickSelectsAll", false);
|
2005-07-20 01:13:03 +04:00
|
|
|
#else
|
|
|
|
pref("browser.urlbar.clickSelectsAll", true);
|
2004-06-02 01:31:54 +04:00
|
|
|
#endif
|
|
|
|
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("accessibility.typeaheadfind", false);
|
|
|
|
pref("accessibility.typeaheadfind.timeout", 5000);
|
|
|
|
pref("accessibility.typeaheadfind.linksonly", false);
|
|
|
|
pref("accessibility.typeaheadfind.flashBar", 1);
|
|
|
|
|
|
|
|
// Disable the default plugin for firefox
|
|
|
|
pref("plugin.default_plugin_disabled", true);
|
|
|
|
|
2005-06-16 22:24:34 +04:00
|
|
|
// plugin finder service url
|
|
|
|
pref("pfs.datasource.url", "https://pfs.mozilla.org/plugins/PluginFinderService.php?mimetype=%PLUGIN_MIMETYPE%&appID=%APP_ID%&appVersion=%APP_VERSION%&clientOS=%CLIENT_OS%&chromeLocale=%CHROME_LOCALE%");
|
2005-02-25 12:07:58 +03:00
|
|
|
|
|
|
|
#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
|
|
|
|
|
|
|
|
pref("browser.download.show_plugins_in_list", true);
|
|
|
|
pref("browser.download.hide_plugins_without_extensions", true);
|
2005-08-02 07:29:11 +04:00
|
|
|
|
2005-08-06 11:34:17 +04:00
|
|
|
// Setting this pref to |true| forces BiDi UI menu items and keyboard shortcuts
|
|
|
|
// to be exposed. By default, only expose it for bidi-associated system locales.
|
|
|
|
pref("bidi.browser.ui", false);
|
2005-10-20 19:16:27 +04:00
|
|
|
|
|
|
|
// Backspace and Shift+Backspace behavior
|
|
|
|
// 0 goes Back/Forward
|
|
|
|
// 1 act like PgUp/PgDown
|
|
|
|
// 2 and other values, nothing
|
2006-04-13 11:11:35 +04:00
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
|
|
|
pref("browser.backspace_action", 1);
|
|
|
|
#else
|
2005-10-20 19:16:27 +04:00
|
|
|
pref("browser.backspace_action", 0);
|
2006-04-13 11:11:35 +04:00
|
|
|
#endif
|
2005-11-22 08:36:48 +03:00
|
|
|
|
2005-12-05 21:18:11 +03:00
|
|
|
// this will automatically enable inline spellchecking (if it is available) for
|
|
|
|
// multi-line text entry controls <textarea>s in HTML
|
2006-02-09 06:50:53 +03:00
|
|
|
// 0 = spellcheck nothing, 1 = check multi-line controls, 2 = check multi/single line controls
|
|
|
|
pref("layout.spellcheckDefault", 1);
|
2005-12-05 21:18:11 +03:00
|
|
|
|
2005-11-22 08:36:48 +03:00
|
|
|
pref("view_source.editor.path", "");
|
|
|
|
pref("view_source.editor.external", false);
|
2006-02-07 21:20:03 +03:00
|
|
|
|
|
|
|
pref("browser.send_pings", true);
|
2006-05-03 07:56:20 +04:00
|
|
|
|
|
|
|
#ifdef MOZ_FEEDS
|
|
|
|
// XXXben This is just here for demo purposes until web registration works!
|
|
|
|
// XXXben Needs Localization!
|
|
|
|
pref("browser.contentHandlers.types.title0", "Netvibes");
|
|
|
|
pref("browser.contentHandlers.types.uri0", "http://www.netvibes.com/subscribe.php?url=%s");
|
|
|
|
pref("browser.contentHandlers.types.type0", "application/vnd.mozilla.maybe.feed");
|
|
|
|
pref("browser.contentHandlers.types.title1", "My Yahoo");
|
|
|
|
pref("browser.contentHandlers.types.uri1", "http://add.my.yahoo.com/rss?url=%s");
|
|
|
|
pref("browser.contentHandlers.types.type1", "application/vnd.mozilla.maybe.feed");
|
|
|
|
pref("browser.contentHandlers.types.title2", "Bloglines");
|
|
|
|
pref("browser.contentHandlers.types.uri2", "http://www.bloglines.com/login?r=/sub/%s");
|
|
|
|
pref("browser.contentHandlers.types.type2", "application/vnd.mozilla.maybe.feed");
|
|
|
|
pref("browser.contentHandlers.types.title3", "iGoogle/Google Reader");
|
|
|
|
pref("browser.contentHandlers.types.uri3", "http://fusion.google.com/add?feedurl=%s");
|
|
|
|
pref("browser.contentHandlers.types.type3", "application/vnd.mozilla.maybe.feed");
|
|
|
|
#endif
|