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 ***** */
|
|
|
|
|
|
|
|
// SYNTAX HINTS: dashes are delimiters. Use underscores instead.
|
|
|
|
// The first character after a period must be alphabetic.
|
|
|
|
|
2003-11-16 06:53:39 +03: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");
|
|
|
|
pref("xpinstall.dialog.progress", "chrome://mozapps/content/downloads/downloads.xul");
|
|
|
|
pref("xpinstall.dialog.progress.type", "Download:Manager");
|
2002-09-29 22:11:09 +04:00
|
|
|
|
|
|
|
pref("keyword.enabled", true);
|
2003-07-05 11:33:09 +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
|
|
|
|
2003-11-15 11:26:10 +03:00
|
|
|
pref("general.useragent.locale", "chrome://global/locale/intl.properties");
|
2003-11-16 06:59:29 +03:00
|
|
|
pref("general.useragent.contentlocale", "chrome://browser-region/locale/region.properties");
|
2004-02-16 10:49:28 +03:00
|
|
|
pref("general.useragent.vendor", "Firefox");
|
2004-01-08 10:23:49 +03:00
|
|
|
pref("general.useragent.vendorSub",
|
|
|
|
#expand __APP_VERSION__
|
|
|
|
);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2003-05-21 05:35:57 +04:00
|
|
|
pref("general.smoothScroll", false);
|
2004-01-14 02:08:01 +03:00
|
|
|
#ifdef XP_UNIX
|
|
|
|
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
|
|
|
|
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-01-19 01:10:15 +03:00
|
|
|
pref("browser.startup.homepage", "chrome://browser-region/locale/region.properties");
|
2002-09-29 22:11:09 +04:00
|
|
|
// "browser.startup.homepage_override" was for 4.x
|
2003-07-20 08:04:37 +04:00
|
|
|
pref("browser.startup.homepage_override.1", false);
|
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);
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.urlbar.matchOnlyTyped", false);
|
|
|
|
pref("browser.chrome.site_icons", true);
|
|
|
|
pref("browser.chrome.favicons", true);
|
|
|
|
pref("browser.turbo.enabled", false);
|
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);
|
2003-12-01 06:48:13 +03:00
|
|
|
pref("browser.download.manager.showAlertOnComplete", true);
|
|
|
|
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);
|
2003-11-30 02:57:52 +03:00
|
|
|
pref("browser.download.manager.closeWhenDone", true);
|
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
|
|
|
|
pref("browser.search.defaultenginename", "chrome://browser-region/locale/region.properties");
|
|
|
|
// pointer to the Web Search url (content area context menu)
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.search.defaulturl", "chrome://browser-region/locale/region.properties");
|
2003-10-22 12:45:54 +04:00
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
// basic search popup constraint: minimum sherlock plugin version displayed
|
|
|
|
// (note: must be a string representation of a float or it'll default to 0.0)
|
|
|
|
pref("browser.search.basic.min_ver", "0.0");
|
|
|
|
|
|
|
|
pref("browser.history.grouping", "day");
|
|
|
|
pref("browser.sessionhistory.max_entries", 50);
|
|
|
|
|
|
|
|
// 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);
|
|
|
|
pref("browser.tabs.opentabfor.urlbar", true);
|
|
|
|
|
|
|
|
// Smart Browsing prefs
|
|
|
|
pref("browser.related.enabled", true);
|
|
|
|
pref("browser.related.autoload", 1); // 0 = Always, 1 = After first use, 2 = Never
|
|
|
|
pref("browser.related.provider", "http://www-rl.netscape.com/wtgn?");
|
|
|
|
pref("browser.related.disabledForDomains", "");
|
|
|
|
pref("browser.goBrowsing.enabled", true);
|
|
|
|
|
|
|
|
// 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
|
|
|
|
pref("dom.disable_open_during_load", true);
|
2002-10-03 09:04:01 +04:00
|
|
|
pref("javascript.options.showInConsole", false);
|
2002-09-29 22:11:09 +04: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);
|
2002-10-08 04:11:15 +04:00
|
|
|
|
2004-01-19 01:10:15 +03:00
|
|
|
pref("network.protocols.useSystemDefaults", false); // set to true if user links should use system default handlers
|
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");
|
|
|
|
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");
|
2002-09-29 22:11:09 +04:00
|
|
|
|
|
|
|
// 0=lines, 1=pages, 2=history , 3=text size
|
2002-10-01 05:41:31 +04:00
|
|
|
pref("mousewheel.withcontrolkey.action",3);
|
2003-07-06 06:40:23 +04:00
|
|
|
pref("mousewheel.withshiftkey.action",2);
|
|
|
|
pref("mousewheel.withaltkey.action",0);
|
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);
|
|
|
|
|
|
|
|
// update notifications prefs
|
|
|
|
pref("update_notifications.enabled", true);
|
|
|
|
pref("update_notifications.provider.0.frequency", 7); // number of days
|
2003-11-16 07:01:31 +03:00
|
|
|
pref("update_notifications.provider.0.datasource", "chrome://browser-region/locale/region.properties");
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2002-09-30 03:49:56 +04:00
|
|
|
pref("browser.xul.error_pages.enabled", false);
|
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
|
|
|
|
|
|
|
pref("network.protocol-handler.external.mailto", true); // for mail
|
|
|
|
pref("network.protocol-handler.external.news" , true); // for news
|
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-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);
|