2002-09-29 22:11:09 +04:00
|
|
|
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* ***** BEGIN LICENSE BLOCK *****
|
|
|
|
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Netscape 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/NPL/
|
|
|
|
*
|
|
|
|
* 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 NPL, 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 NPL, the GPL or the LGPL.
|
|
|
|
*
|
|
|
|
* ***** END LICENSE BLOCK ***** */
|
|
|
|
|
|
|
|
// SYNTAX HINTS: dashes are delimiters. Use underscores instead.
|
|
|
|
// The first character after a period must be alphabetic.
|
|
|
|
|
|
|
|
pref("startup.homepage_override_url","chrome://navigator-region/locale/region.properties");
|
|
|
|
pref("browser.chromeURL","chrome://browser/content/");
|
|
|
|
|
|
|
|
pref("keyword.enabled", true);
|
2002-10-19 00:45:04 +04:00
|
|
|
pref("keyword.URL", "http://www.google.com/search?btnI=I%27m+Feeling+Lucky&q=");
|
2002-09-29 22:11:09 +04:00
|
|
|
|
|
|
|
pref("general.useragent.locale", "chrome://navigator/locale/navigator.properties");
|
|
|
|
pref("general.useragent.contentlocale", "chrome://navigator-region/locale/region.properties");
|
2002-11-08 04:46:33 +03:00
|
|
|
pref("general.useragent.misc", "rv:1.3a");
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("general.useragent.vendor", "Phoenix");
|
2002-12-07 07:22:15 +03:00
|
|
|
pref("general.useragent.vendorSub", "0.5");
|
2002-09-29 22:11:09 +04:00
|
|
|
|
|
|
|
pref("backups.number_of_prefs_copies", 1);
|
|
|
|
|
|
|
|
// 0 = blank, 1 = home (browser.startup.homepage), 2 = last
|
|
|
|
// XXXBlake Remove this stupid pref
|
|
|
|
pref("browser.startup.page", 1);
|
2002-12-07 07:22:15 +03:00
|
|
|
pref("browser.startup.homepage", "chrome://navigator-region/locale/region.properties");
|
2002-09-29 22:11:09 +04:00
|
|
|
// "browser.startup.homepage_override" was for 4.x
|
2002-12-07 07:22:15 +03:00
|
|
|
pref("browser.startup.homepage_override.1", true);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
|
|
|
pref("browser.cache.enable", true); // see also network.http.use-cache
|
|
|
|
pref("browser.cache.disk.enable", true);
|
|
|
|
pref("browser.cache.disk.capacity", 50000);
|
|
|
|
pref("browser.cache.memory.enable", true);
|
|
|
|
pref("browser.cache.memory.capacity", 4096);
|
|
|
|
// 0 = once-per-session, 1 = each-time, 2 = never, 3 = when-appropriate/automatically
|
|
|
|
pref("browser.cache.check_doc_frequency", 3);
|
|
|
|
|
|
|
|
pref("browser.display.use_document_fonts", 1); // 0 = never, 1 = quick, 2 = always
|
|
|
|
pref("browser.display.use_document_colors", true);
|
|
|
|
pref("browser.display.use_system_colors", false);
|
|
|
|
pref("browser.display.foreground_color", "#000000");
|
|
|
|
pref("browser.display.background_color", "#FFFFFF");
|
|
|
|
pref("browser.display.force_inline_alttext", false); // true = force ALT text for missing images to be layed out inline
|
|
|
|
// 0 = no external leading,
|
|
|
|
// 1 = use external leading only when font provides,
|
|
|
|
// 2 = add extra leading both internal leading and external leading are zero
|
|
|
|
pref("browser.display.normal_lineheight_calc_control", 2);
|
|
|
|
pref("browser.display.show_image_placeholders", true); // true = show image placeholders while image is loaded and when image is broken
|
2002-10-22 23:10:34 +04:00
|
|
|
pref("browser.display.enable_marquee", true);
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.anchor_color", "#0000EE");
|
|
|
|
pref("browser.visited_color", "#551A8B");
|
|
|
|
pref("browser.underline_anchors", true);
|
|
|
|
pref("browser.blink_allowed", true);
|
|
|
|
|
|
|
|
pref("browser.display.use_focus_colors", false);
|
|
|
|
pref("browser.display.focus_background_color", "#117722");
|
|
|
|
pref("browser.display.focus_text_color", "#ffffff");
|
|
|
|
pref("browser.display.focus_ring_width", 1);
|
|
|
|
pref("browser.display.focus_ring_on_anything", false);
|
|
|
|
|
|
|
|
pref("browser.urlbar.matchOnlyTyped", false);
|
|
|
|
|
|
|
|
pref("browser.chrome.site_icons", true);
|
|
|
|
pref("browser.chrome.favicons", true);
|
|
|
|
|
|
|
|
pref("browser.chrome.toolbar_tips", true);
|
|
|
|
|
|
|
|
pref("browser.turbo.enabled", false);
|
|
|
|
|
|
|
|
pref("browser.helperApps.alwaysAsk.force", false);
|
|
|
|
pref("browser.helperApps.neverAsk.saveToDisk", "");
|
|
|
|
pref("browser.helperApps.neverAsk.openFile", "");
|
|
|
|
|
|
|
|
pref("accessibility.browsewithcaret", false);
|
|
|
|
pref("accessibility.warn_on_browsewithcaret", true);
|
|
|
|
pref("accessibility.usetexttospeech", "");
|
|
|
|
pref("accessibility.usebrailledisplay", "");
|
|
|
|
pref("accessibility.accesskeycausesactivation", true);
|
2002-10-18 23:44:48 +04:00
|
|
|
pref("accessibility.typeaheadfind", true);
|
|
|
|
pref("accessibility.typeaheadfind.linksonly", true);
|
|
|
|
pref("accessibility.typeaheadfind.startlinksonly", false);
|
2002-12-07 07:22:15 +03:00
|
|
|
pref("accessibility.typeaheadfind.timeout", 4000);
|
|
|
|
pref("accessibility.typeaheadfind.soundURL", "default");
|
2002-09-29 22:11:09 +04:00
|
|
|
|
|
|
|
pref("browser.download.progressDnldDialog.keepAlive", true); // keep the dnload progress dialog up after dnload is complete
|
|
|
|
pref("browser.download.progressDnldDialog.enable_launch_reveal_buttons", true);
|
2002-11-02 03:28:30 +03:00
|
|
|
pref("browser.download.useProgressDialogs", true);
|
|
|
|
pref("browser.download.openSidebar", false);
|
2002-11-09 16:53:22 +03:00
|
|
|
pref("browser.download.useDownloadDir", false);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
|
|
|
// various default search settings
|
|
|
|
pref("browser.search.defaulturl", "chrome://browser-region/locale/region.properties");
|
|
|
|
// 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.last_page_visited", "");
|
|
|
|
pref("browser.history_expire_days", 9);
|
|
|
|
pref("browser.history.grouping", "day");
|
|
|
|
pref("browser.sessionhistory.max_entries", 50);
|
|
|
|
|
|
|
|
// loading and rendering of framesets and iframes
|
|
|
|
pref("browser.frames.enabled", true);
|
|
|
|
|
|
|
|
// form submission
|
|
|
|
pref("browser.forms.submit.backwards_compatible", true);
|
|
|
|
|
|
|
|
// Tab browser preferences.
|
|
|
|
pref("browser.tabs.autoHide", true);
|
|
|
|
pref("browser.tabs.forceHide", false);
|
|
|
|
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);
|
|
|
|
|
|
|
|
// view source
|
|
|
|
pref("view_source.syntax_highlight", true);
|
|
|
|
pref("view_source.wrap_long_lines", false);
|
|
|
|
|
|
|
|
// gfx widgets
|
|
|
|
pref("nglayout.widget.mode", 2);
|
|
|
|
pref("nglayout.widget.gfxscrollbars", true);
|
2002-10-20 04:38:04 +04:00
|
|
|
pref("nglayout.initialpaint.delay", 250);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
|
|
|
// css2 hover pref
|
|
|
|
pref("nglayout.events.showHierarchicalHover", false);
|
|
|
|
|
|
|
|
// dispatch left clicks only to content in browser (still allows clicks to chrome/xul)
|
|
|
|
pref("nglayout.events.dispatchLeftClickOnly", true);
|
|
|
|
|
|
|
|
// whether or not to use xbl form controls
|
|
|
|
pref("nglayout.debug.enable_xbl_forms", false);
|
|
|
|
|
|
|
|
// size of scrollbar snapping region
|
|
|
|
pref("slider.snapMultiplier", 6);
|
|
|
|
|
|
|
|
// option to choose plug-in finder
|
|
|
|
pref("application.use_ns_plugin_finder", false);
|
|
|
|
|
|
|
|
// 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);
|
|
|
|
|
|
|
|
// URI fixup prefs
|
|
|
|
pref("browser.fixup.alternate.enabled", true);
|
|
|
|
pref("browser.fixup.alternate.prefix", "www.");
|
|
|
|
pref("browser.fixup.alternate.suffix", ".com");
|
|
|
|
|
|
|
|
// Default bookmark sorting
|
|
|
|
pref("browser.bookmarks.sort.direction", "descending");
|
|
|
|
pref("browser.bookmarks.sort.resource", "rdf:http://home.netscape.com/NC-rdf#Name");
|
|
|
|
|
|
|
|
//Internet Search
|
|
|
|
pref("browser.search.defaultenginename", "chrome://browser-region/locale/region.properties");
|
|
|
|
|
|
|
|
// Print header customization
|
|
|
|
// Use the following codes:
|
|
|
|
// &T - Title
|
|
|
|
// &U - Document URL
|
|
|
|
// &D - Date/Time
|
|
|
|
// &P - Page Number
|
|
|
|
// &PT - Page Number "of" Page total
|
|
|
|
// Set each header to a string containing zero or one of these codes
|
|
|
|
// and the code will be replaced in that string by the corresponding data
|
|
|
|
pref("print.print_headerleft", "&T");
|
|
|
|
pref("print.print_headercenter", "");
|
|
|
|
pref("print.print_headerright", "&U");
|
|
|
|
pref("print.print_footerleft", "&PT");
|
|
|
|
pref("print.print_footercenter", "");
|
|
|
|
pref("print.print_footerright", "&D");
|
|
|
|
pref("print.show_print_progress", true);
|
|
|
|
|
|
|
|
// When this is set to false it means each window has its PrintSettings
|
|
|
|
// and a change in one browser window does not effect the others
|
|
|
|
pref("print.use_global_printsettings", true);
|
|
|
|
|
|
|
|
// This indicates whether it should use the native dialog or the XP Dialog50
|
|
|
|
pref("print.use_native_print_dialog", false);
|
|
|
|
|
|
|
|
// Save the Printings after each print job
|
|
|
|
pref("print.save_print_settings", true);
|
|
|
|
|
|
|
|
pref("print.whileInPrintPreview", true);
|
|
|
|
|
|
|
|
// Cache old Presentation when going into Print Preview
|
|
|
|
pref("print.always_cache_old_pres", false);
|
|
|
|
|
|
|
|
// Enables you to specify the gap from the edge of the paper to the margin
|
|
|
|
// this is used by both Printing and Print Preview
|
|
|
|
pref("print.print_edge_top", 0); // 1/100 of an inch
|
|
|
|
pref("print.print_edge_left", 0); // 1/100 of an inch
|
|
|
|
pref("print.print_edge_right", 0); // 1/100 of an inch
|
|
|
|
pref("print.print_edge_bottom", 0); // 1/100 of an inch
|
|
|
|
|
|
|
|
// Default Capability Preferences: Security-Critical!
|
|
|
|
// Editing these may create a security risk - be sure you know what you're doing
|
|
|
|
//pref("capability.policy.default.barprop.visible.set", "UniversalBrowserWrite");
|
|
|
|
|
|
|
|
pref("capability.policy.default_policynames", "mailnews");
|
|
|
|
pref("capability.policy.policynames", "");
|
|
|
|
|
|
|
|
pref("capability.policy.default.DOMException.code", "allAccess");
|
|
|
|
pref("capability.policy.default.DOMException.message", "allAccess");
|
|
|
|
pref("capability.policy.default.DOMException.name", "allAccess");
|
|
|
|
pref("capability.policy.default.DOMException.result", "allAccess");
|
|
|
|
pref("capability.policy.default.DOMException.toString", "allAccess");
|
|
|
|
|
|
|
|
pref("capability.policy.default.History.back", "allAccess");
|
|
|
|
pref("capability.policy.default.History.current", "UniversalBrowserRead");
|
|
|
|
pref("capability.policy.default.History.forward", "allAccess");
|
|
|
|
pref("capability.policy.default.History.go", "allAccess");
|
|
|
|
pref("capability.policy.default.History.item", "UniversalBrowserRead");
|
|
|
|
pref("capability.policy.default.History.next", "UniversalBrowserRead");
|
|
|
|
pref("capability.policy.default.History.previous", "UniversalBrowserRead");
|
|
|
|
pref("capability.policy.default.History.toString", "UniversalBrowserRead");
|
|
|
|
|
|
|
|
pref("capability.policy.default.HTMLDocument.close", "allAccess");
|
|
|
|
pref("capability.policy.default.HTMLDocument.open", "allAccess");
|
|
|
|
|
|
|
|
pref("capability.policy.default.Location.hash.set", "allAccess");
|
|
|
|
pref("capability.policy.default.Location.href.set", "allAccess");
|
|
|
|
pref("capability.policy.default.Location.reload", "allAccess");
|
|
|
|
pref("capability.policy.default.Location.replace", "allAccess");
|
|
|
|
|
|
|
|
pref("capability.policy.default.Navigator.preference", "allAccess");
|
|
|
|
pref("capability.policy.default.Navigator.preferenceinternal.get", "UniversalPreferencesRead");
|
|
|
|
pref("capability.policy.default.Navigator.preferenceinternal.set", "UniversalPreferencesWrite");
|
|
|
|
|
|
|
|
pref("capability.policy.default.Window.blur", "allAccess");
|
|
|
|
pref("capability.policy.default.Window.close", "allAccess");
|
|
|
|
pref("capability.policy.default.Window.closed", "allAccess");
|
|
|
|
pref("capability.policy.default.Window.Components", "allAccess");
|
|
|
|
pref("capability.policy.default.Window.document", "allAccess");
|
|
|
|
pref("capability.policy.default.Window.focus", "allAccess");
|
|
|
|
pref("capability.policy.default.Window.frames", "allAccess");
|
|
|
|
pref("capability.policy.default.Window.history", "allAccess");
|
|
|
|
pref("capability.policy.default.Window.length", "allAccess");
|
|
|
|
pref("capability.policy.default.Window.location", "allAccess");
|
|
|
|
pref("capability.policy.default.Window.opener", "allAccess");
|
|
|
|
pref("capability.policy.default.Window.parent", "allAccess");
|
|
|
|
pref("capability.policy.default.Window.self", "allAccess");
|
|
|
|
pref("capability.policy.default.Window.top", "allAccess");
|
|
|
|
pref("capability.policy.default.Window.window", "allAccess");
|
|
|
|
|
|
|
|
// Scripts & Windows prefs
|
|
|
|
pref("browser.block.target_new_window", false);
|
|
|
|
pref("dom.disable_cookie_get", false);
|
|
|
|
pref("dom.disable_cookie_set", false);
|
|
|
|
pref("dom.disable_image_src_set", false);
|
|
|
|
pref("dom.disable_open_during_load", true);
|
|
|
|
pref("dom.disable_window_flip", false);
|
|
|
|
pref("dom.disable_window_move_resize", false);
|
|
|
|
pref("dom.disable_window_status_change", false);
|
|
|
|
|
|
|
|
pref("dom.disable_window_open_feature.titlebar", false);
|
|
|
|
pref("dom.disable_window_open_feature.close", false);
|
|
|
|
pref("dom.disable_window_open_feature.toolbar", false);
|
|
|
|
pref("dom.disable_window_open_feature.location", false);
|
|
|
|
pref("dom.disable_window_open_feature.directories", false);
|
|
|
|
pref("dom.disable_window_open_feature.personalbar", false);
|
|
|
|
pref("dom.disable_window_open_feature.menubar", false);
|
|
|
|
pref("dom.disable_window_open_feature.scrollbars", false);
|
|
|
|
pref("dom.disable_window_open_feature.resizable", false);
|
|
|
|
pref("dom.disable_window_open_feature.minimizable", false);
|
|
|
|
pref("dom.disable_window_open_feature.status", false);
|
|
|
|
|
2002-12-07 07:22:15 +03:00
|
|
|
pref("dom.allow_scripts_to_close_windows", false);
|
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("javascript.enabled", true);
|
|
|
|
pref("javascript.options.strict", false);
|
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
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
// advanced prefs
|
|
|
|
pref("advanced.always_load_images", true);
|
|
|
|
pref("security.enable_java", true);
|
|
|
|
pref("advanced.mailftp", false);
|
|
|
|
pref("image.animation_mode", "normal");
|
|
|
|
|
|
|
|
// If there is ever a security firedrill that requires
|
|
|
|
// us to block certian ports global, this is the pref
|
|
|
|
// to use. Is is a comma delimited list of port numbers
|
|
|
|
// for example:
|
|
|
|
// pref("network.security.ports.banned", "1,2,3,4,5");
|
|
|
|
// prevents necko connecting to ports 1-5 unless the protocol
|
|
|
|
// overrides.
|
|
|
|
|
|
|
|
pref("network.hosts.smtp_server", "mail");
|
|
|
|
pref("network.hosts.pop_server", "mail");
|
|
|
|
pref("network.protocols.useSystemDefaults", false); // set to true if user links should use system default handlers
|
|
|
|
|
|
|
|
// <http>
|
|
|
|
pref("network.http.version", "1.1"); // default
|
|
|
|
// pref("network.http.version", "1.0"); // uncomment this out in case of problems
|
|
|
|
// pref("network.http.version", "0.9"); // it'll work too if you're crazy
|
|
|
|
// keep-alive option is effectively obsolete. Nevertheless it'll work with
|
|
|
|
// some older 1.0 servers:
|
|
|
|
|
|
|
|
pref("network.http.proxy.version", "1.1"); // default
|
|
|
|
// pref("network.http.proxy.version", "1.0"); // uncomment this out in case of problems
|
|
|
|
// (required if using junkbuster proxy)
|
|
|
|
|
|
|
|
// enable caching of http documents
|
|
|
|
pref("network.http.use-cache", true);
|
|
|
|
|
|
|
|
pref("network.http.keep-alive", true); // set it to false in case of problems
|
|
|
|
pref("network.http.proxy.keep-alive", true);
|
|
|
|
pref("network.http.keep-alive.timeout", 300);
|
|
|
|
|
|
|
|
// limit the absolute number of http connections.
|
|
|
|
pref("network.http.max-connections", 24);
|
|
|
|
|
|
|
|
// limit the absolute number of http connections that can be established per
|
|
|
|
// host. if a http proxy server is enabled, then the "server" is the proxy
|
|
|
|
// server. Otherwise, "server" is the http origin server.
|
|
|
|
pref("network.http.max-connections-per-server", 8);
|
|
|
|
|
|
|
|
// if network.http.keep-alive is true, and if NOT connecting via a proxy, then
|
|
|
|
// a new connection will only be attempted if the number of active persistent
|
|
|
|
// connections to the server is less then max-persistent-connections-per-server.
|
|
|
|
pref("network.http.max-persistent-connections-per-server", 2);
|
|
|
|
|
|
|
|
// if network.http.keep-alive is true, and if connecting via a proxy, then a
|
|
|
|
// new connection will only be attempted if the number of active persistent
|
|
|
|
// connections to the proxy is less then max-persistent-connections-per-proxy.
|
|
|
|
pref("network.http.max-persistent-connections-per-proxy", 4);
|
|
|
|
|
|
|
|
// amount of time (in seconds) to suspend pending requests, before spawning a
|
|
|
|
// new connection, once the limit on the number of persistent connections per
|
|
|
|
// host has been reached. however, a new connection will not be created if
|
|
|
|
// max-connections or max-connections-per-server has also been reached.
|
|
|
|
pref("network.http.request.max-start-delay", 10);
|
|
|
|
|
|
|
|
// http specific network timeouts (XXX currently unused)
|
|
|
|
pref("network.http.connect.timeout", 30); // in seconds
|
|
|
|
pref("network.http.request.timeout", 120); // in seconds
|
|
|
|
|
|
|
|
// Headers
|
2002-12-07 07:22:15 +03:00
|
|
|
pref("network.http.accept.default", "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1");
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("network.http.sendRefererHeader", 2); // 0=don't send any, 1=send only on clicks, 2=send on image requests as well
|
|
|
|
|
|
|
|
// Maximum number of consecutive redirects before aborting.
|
|
|
|
pref("network.http.redirection-limit", 10);
|
|
|
|
|
|
|
|
// Enable http compression: comment this out in case of problems with 1.1
|
2002-12-07 07:22:15 +03:00
|
|
|
pref("network.http.accept-encoding" ,"gzip,deflate,compress;q=0.9");
|
2002-09-29 22:11:09 +04:00
|
|
|
|
|
|
|
pref("network.http.pipelining" , false);
|
|
|
|
pref("network.http.proxy.pipelining", false);
|
|
|
|
|
|
|
|
// Always pipeling the very first request: this will only work when you are
|
|
|
|
// absolutely sure the the site or proxy you are browsing to/through support
|
|
|
|
// pipelining; the default behavior will be that the browser will first make
|
|
|
|
// a normal, non-pipelined request, then examine and remember the responce
|
|
|
|
// and only the subsequent requests to that site will be pipeline
|
|
|
|
pref("network.http.pipelining.firstrequest", false);
|
|
|
|
|
|
|
|
// Max number of requests in the pipeline
|
|
|
|
pref("network.http.pipelining.maxrequests" , 4);
|
|
|
|
|
|
|
|
pref("network.http.proxy.ssl.connect",true);
|
|
|
|
// </http>
|
|
|
|
|
|
|
|
// This preference controls whether or not URLs with UTF-8 characters are
|
|
|
|
// escaped. Set this preference to TRUE for strict RFC2396 conformance.
|
|
|
|
pref("network.standard-url.escape-utf8", true);
|
|
|
|
|
|
|
|
// Idle timeout for ftp control connections - 5 minute default
|
|
|
|
pref("network.ftp.idleConnectionTimeout", 300);
|
|
|
|
|
|
|
|
// directory listing format - constants are defined in nsIDirectoryListing.idl
|
|
|
|
// Do not set this to 0...
|
|
|
|
pref("network.dir.format", 2);
|
|
|
|
|
2002-10-17 22:50:57 +04:00
|
|
|
// enables the prefetch service (i.e., prefetching of <link rel="next"> URLs).
|
|
|
|
pref("network.prefetch-next", true);
|
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
// sspitzer: change this back to "news" when we get to beta.
|
|
|
|
// for now, set this to news.mozilla.org because you can only
|
|
|
|
// post to the server specified by this pref.
|
|
|
|
pref("network.hosts.nntp_server", "news.mozilla.org");
|
|
|
|
|
|
|
|
pref("network.image.enable", true); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
|
|
|
|
pref("network.image.enableForOriginatingWebsiteOnly", false);
|
|
|
|
pref("network.image.warnAboutImages", false);
|
|
|
|
pref("network.proxy.autoconfig_url", "");
|
|
|
|
pref("network.proxy.type", 0);
|
|
|
|
pref("network.proxy.ftp", "");
|
|
|
|
pref("network.proxy.ftp_port", 0);
|
|
|
|
pref("network.proxy.gopher", "");
|
|
|
|
pref("network.proxy.gopher_port", 0);
|
|
|
|
pref("network.proxy.news", "");
|
|
|
|
pref("network.proxy.news_port", 0);
|
|
|
|
pref("network.proxy.http", "");
|
|
|
|
pref("network.proxy.http_port", 0);
|
|
|
|
pref("network.proxy.wais", "");
|
|
|
|
pref("network.proxy.wais_port", 0);
|
|
|
|
pref("network.proxy.ssl", "");
|
|
|
|
pref("network.proxy.ssl_port", 0);
|
|
|
|
pref("network.proxy.socks", "");
|
|
|
|
pref("network.proxy.socks_port", 0);
|
|
|
|
pref("network.proxy.socks_version", 5);
|
2002-10-10 00:02:41 +04:00
|
|
|
pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("network.online", true); //online/offline
|
2002-10-19 23:38:57 +04:00
|
|
|
pref("network.cookie.enable", true);
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("network.cookie.warnAboutCookies", false);
|
|
|
|
pref("network.cookie.enableForCurrentSessionOnly", false);
|
|
|
|
pref("network.cookie.enableForOriginatingWebsiteOnly", false);
|
|
|
|
pref("network.cookie.lifetime.days", 90);
|
|
|
|
|
|
|
|
// The following default value is for p3p medium mode.
|
|
|
|
// See extensions/cookie/resources/content/p3p.xul for the definitions of low/medium/hi
|
|
|
|
pref("network.cookie.p3p", "ffffaaaa");
|
|
|
|
pref("network.cookie.p3plevel", 1); // 0=low, 1=medium, 2=high, 3=custom
|
|
|
|
|
|
|
|
pref("network.enablePad", false); // Allow client to do proxy autodiscovery
|
|
|
|
pref("network.enableIDN", false); // Turn on/off IDN (Internationalized Domain Name) resolution
|
|
|
|
pref("converter.html2txt.structs", true); // Output structured phrases (strong, em, code, sub, sup, b, i, u)
|
|
|
|
pref("converter.html2txt.header_strategy", 1); // 0 = no indention; 1 = indention, increased with header level; 2 = numbering and slight indention
|
|
|
|
pref("imageblocker.enabled", true);
|
|
|
|
pref("intl.accept_languages", "chrome://navigator/locale/navigator.properties");
|
|
|
|
pref("intl.accept_charsets", "iso-8859-1,*,utf-8");
|
|
|
|
pref("intl.collationOption", "chrome://navigator-platform/locale/navigator.properties");
|
|
|
|
pref("intl.menuitems.alwaysappendacceskeys","chrome://navigator/locale/navigator.properties");
|
|
|
|
pref("intl.charsetmenu.browser.static", "chrome://navigator/locale/navigator.properties");
|
|
|
|
pref("intl.charsetmenu.browser.more1", "chrome://navigator/locale/navigator.properties");
|
|
|
|
pref("intl.charsetmenu.browser.more2", "chrome://navigator/locale/navigator.properties");
|
|
|
|
pref("intl.charsetmenu.browser.more3", "chrome://navigator/locale/navigator.properties");
|
|
|
|
pref("intl.charsetmenu.browser.more4", "chrome://navigator/locale/navigator.properties");
|
|
|
|
pref("intl.charsetmenu.browser.more5", "chrome://navigator/locale/navigator.properties");
|
|
|
|
pref("intl.charsetmenu.browser.cache.size", 5);
|
|
|
|
pref("intl.charset.detector", "chrome://navigator/locale/navigator.properties");
|
|
|
|
pref("intl.charset.default", "chrome://navigator-platform/locale/navigator.properties");
|
|
|
|
pref("intl.content.langcode", "chrome://communicator-region/locale/region.properties");
|
|
|
|
pref("intl.locale.matchOS", false);
|
|
|
|
// fallback charset list for Unicode conversion (converting from Unicode)
|
|
|
|
// currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes)
|
|
|
|
// for ISO-8859-1
|
|
|
|
pref("intl.fallbackCharsetList.ISO-8859-1", "windows-1252");
|
|
|
|
pref("font.language.group", "chrome://navigator/locale/navigator.properties");
|
|
|
|
|
|
|
|
// -- folders (Mac: these are binary aliases.)
|
|
|
|
pref("security.directory", "");
|
|
|
|
|
|
|
|
pref("signed.applets.codebase_principal_support", false);
|
|
|
|
pref("security.checkloaduri", true);
|
|
|
|
pref("security.xpconnect.plugin.unrestricted", true);
|
|
|
|
|
|
|
|
// Modifier key prefs: default to Windows settings,
|
|
|
|
// menu access key = alt, accelerator key = control.
|
|
|
|
// Use 17 for Ctrl, 18 for Alt, 224 for Meta, 0 for none. Mac settings in macprefs.js
|
|
|
|
pref("ui.key.accelKey", 17);
|
|
|
|
pref("ui.key.generalAccessKey", 18);
|
|
|
|
pref("ui.key.menuAccessKey", 18);
|
|
|
|
pref("ui.key.menuAccessKeyFocuses", false);
|
|
|
|
|
|
|
|
// Middle-mouse handling
|
|
|
|
pref("middlemouse.paste", false);
|
|
|
|
pref("middlemouse.contentLoadURL", false);
|
|
|
|
pref("middlemouse.scrollbarPosition", false);
|
|
|
|
|
|
|
|
// Clipboard behavior
|
|
|
|
pref("clipboard.autocopy", false);
|
|
|
|
|
|
|
|
// 0=lines, 1=pages, 2=history , 3=text size
|
|
|
|
pref("mousewheel.withnokey.action",0);
|
|
|
|
pref("mousewheel.withnokey.numlines",1);
|
|
|
|
pref("mousewheel.withnokey.sysnumlines",true);
|
2002-10-01 05:41:31 +04:00
|
|
|
pref("mousewheel.withcontrolkey.action",3);
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("mousewheel.withcontrolkey.numlines",1);
|
|
|
|
pref("mousewheel.withcontrolkey.sysnumlines",true);
|
|
|
|
pref("mousewheel.withshiftkey.action",0);
|
|
|
|
pref("mousewheel.withshiftkey.numlines",1);
|
|
|
|
pref("mousewheel.withshiftkey.sysnumlines",false);
|
|
|
|
pref("mousewheel.withaltkey.action",2);
|
|
|
|
pref("mousewheel.withaltkey.numlines",1);
|
|
|
|
pref("mousewheel.withaltkey.sysnumlines",false);
|
|
|
|
|
|
|
|
pref("profile.confirm_automigration",true);
|
|
|
|
|
|
|
|
// the amount of time (in seconds) that must elapse
|
|
|
|
// before we think your mozilla profile is defunct
|
|
|
|
// and you'd benefit from re-migrating from 4.x
|
|
|
|
// see bug #137886 for more details
|
|
|
|
//
|
|
|
|
// if -1, we never think your profile is defunct
|
|
|
|
// and users will never see the remigrate UI.
|
|
|
|
pref("profile.seconds_until_defunct", -1);
|
|
|
|
|
|
|
|
// Customizable toolbar stuff
|
|
|
|
pref("custtoolbar.personal_toolbar_folder", "");
|
|
|
|
|
|
|
|
pref("prefs.converted-to-utf8",false);
|
|
|
|
// --------------------------------------------------
|
|
|
|
// IBMBIDI
|
|
|
|
// --------------------------------------------------
|
|
|
|
//
|
|
|
|
// ------------------
|
|
|
|
// Text Direction
|
|
|
|
// ------------------
|
|
|
|
// 1 = directionLTRBidi *
|
|
|
|
// 2 = directionRTLBidi
|
|
|
|
pref("bidi.direction", 1);
|
|
|
|
// ------------------
|
|
|
|
// Text Type
|
|
|
|
// ------------------
|
|
|
|
// 1 = charsettexttypeBidi *
|
|
|
|
// 2 = logicaltexttypeBidi
|
|
|
|
// 3 = visualtexttypeBidi
|
|
|
|
pref("bidi.texttype", 1);
|
|
|
|
// ------------------
|
|
|
|
// Controls Text Mode
|
|
|
|
// ------------------
|
|
|
|
// 1 = logicalcontrolstextmodeBidiCmd
|
|
|
|
// 2 = visualcontrolstextmodeBidi <-- NO LONGER SUPPORTED
|
|
|
|
// 3 = containercontrolstextmodeBidi *
|
|
|
|
pref("bidi.controlstextmode", 1);
|
|
|
|
// ------------------
|
|
|
|
// Clipboard Text Mode
|
|
|
|
// ------------------
|
|
|
|
// 1 = logicalclipboardtextmodeBidi
|
|
|
|
// 2 = visiualclipboardtextmodeBidi
|
|
|
|
// 3 = sourceclipboardtextmodeBidi *
|
|
|
|
pref("bidi.clipboardtextmode", 3);
|
|
|
|
// ------------------
|
|
|
|
// Numeral Style
|
|
|
|
// ------------------
|
|
|
|
// 1 = regularcontextnumeralBidi *
|
|
|
|
// 2 = hindicontextnumeralBidi
|
|
|
|
// 3 = arabicnumeralBidi
|
|
|
|
// 4 = hindinumeralBidi
|
|
|
|
pref("bidi.numeral", 1);
|
|
|
|
// ------------------
|
|
|
|
// Support Mode
|
|
|
|
// ------------------
|
|
|
|
// 1 = mozillaBidisupport *
|
|
|
|
// 2 = OsBidisupport
|
|
|
|
// 3 = disableBidisupport
|
|
|
|
pref("bidi.support", 1);
|
|
|
|
// ------------------
|
|
|
|
// Charset Mode
|
|
|
|
// ------------------
|
|
|
|
// 1 = doccharactersetBidi *
|
|
|
|
// 2 = defaultcharactersetBidi
|
|
|
|
pref("bidi.characterset", 1);
|
|
|
|
|
|
|
|
pref("browser.throbber.url","chrome://navigator-region/locale/region.properties");
|
|
|
|
|
|
|
|
// used for double-click word selection behavior. Win will override.
|
|
|
|
pref("layout.word_select.eat_space_to_next_word", false);
|
|
|
|
pref("layout.word_select.stop_at_punctuation", true);
|
|
|
|
|
|
|
|
// pref to force frames to be resizable
|
|
|
|
pref("layout.frames.force_resizability", false);
|
|
|
|
|
|
|
|
// pref to permit users to make verified SOAP calls by default
|
|
|
|
pref("capability.policy.default.SOAPCall.invokeVerifySourceHeader", "allAccess");
|
|
|
|
|
|
|
|
// 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
|
|
|
|
pref("update_notifications.provider.0.datasource", "chrome://communicator-region/locale/region.properties");
|
|
|
|
|
|
|
|
// if true, allow plug-ins to override internal imglib decoder mime types in full-page mode
|
|
|
|
pref("plugin.override_internal_types", false);
|
|
|
|
pref("plugin.expose_full_path", false); // if true navigator.plugins reveals full path
|
|
|
|
|
|
|
|
// Help Windows NT, 2000, and XP dialup a RAS connection
|
|
|
|
// when a network address is unreachable.
|
|
|
|
pref("network.autodial-helper.enabled", true);
|
|
|
|
|
|
|
|
// Pref to control whether we set ddeexec subkeys for the http
|
|
|
|
// Internet shortcut protocol if we are handling it. These
|
|
|
|
// subkeys will be set only while we are running (to avoid the
|
|
|
|
// problem of Windows showing an alert when it tries to use DDE
|
|
|
|
// and we're not already running).
|
|
|
|
pref("advanced.system.supportDDEExec", true);
|
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);
|
|
|
|
|
|
|
|
pref("network.protocol-handler.external.mailto", true); // for mail
|
|
|
|
pref("network.protocol-handler.external.news" , true); // for news
|