home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 February / macformat-126-disc-2.iso / pc / Resources (classic) / Mozilla 1.1 / Installer Modules / browser.xpi / viewer / defaults / pref / all.js next >
Encoding:
Text File  |  2002-08-26  |  35.0 KB  |  755 lines

  1. /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* ***** BEGIN LICENSE BLOCK *****
  3.  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
  4.  *
  5.  * The contents of this file are subject to the Netscape Public License
  6.  * Version 1.1 (the "License"); you may not use this file except in
  7.  * compliance with the License. You may obtain a copy of the License at
  8.  * http://www.mozilla.org/NPL/
  9.  *
  10.  * Software distributed under the License is distributed on an "AS IS" basis,
  11.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.  * for the specific language governing rights and limitations under the
  13.  * License.
  14.  *
  15.  * The Original Code is mozilla.org code.
  16.  *
  17.  * The Initial Developer of the Original Code is 
  18.  * Netscape Communications Corporation.
  19.  * Portions created by the Initial Developer are Copyright (C) 1998
  20.  * the Initial Developer. All Rights Reserved.
  21.  *
  22.  * Contributor(s):
  23.  *
  24.  * Alternatively, the contents of this file may be used under the terms of
  25.  * either the GNU General Public License Version 2 or later (the "GPL"), or 
  26.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27.  * in which case the provisions of the GPL or the LGPL are applicable instead
  28.  * of those above. If you wish to allow use of your version of this file only
  29.  * under the terms of either the GPL or the LGPL, and not to allow others to
  30.  * use your version of this file under the terms of the NPL, indicate your
  31.  * decision by deleting the provisions above and replace them with the notice
  32.  * and other provisions required by the GPL or the LGPL. If you do not delete
  33.  * the provisions above, a recipient may use your version of this file under
  34.  * the terms of any one of the NPL, the GPL or the LGPL.
  35.  *
  36.  * ***** END LICENSE BLOCK ***** */
  37.  
  38. // SYNTAX HINTS:  dashes are delimiters.  Use underscores instead.
  39. //  The first character after a period must be alphabetic.
  40.  
  41. pref("startup.homepage_override_url","chrome://navigator-region/locale/region.properties");
  42. pref("browser.chromeURL","chrome://navigator/content/navigator.xul");
  43.  
  44. pref("network.search.url","http://cgi.netscape.com/cgi-bin/url_search.cgi?search=");
  45.  
  46. pref("keyword.URL", "http://keyword.netscape.com/keyword/");
  47. pref("keyword.enabled", false);
  48. pref("general.useragent.locale", "chrome://navigator/locale/navigator.properties");
  49. pref("general.useragent.contentlocale", "chrome://navigator-region/locale/region.properties");
  50. pref("general.useragent.misc", "rv:1.1");
  51.  
  52. pref("general.startup.browser",             true);
  53. pref("general.startup.mail",                false);
  54. pref("general.startup.news",                false);
  55. pref("general.startup.editor",              false);
  56. pref("general.startup.compose",             false);
  57. pref("general.startup.addressbook",         false);
  58.  
  59. pref("general.open_location.last_url",      "");
  60. pref("general.open_location.last_window_choice", 0);
  61.  
  62. pref("backups.number_of_prefs_copies", 1);
  63.  
  64. // 0 = blank, 1 = home (browser.startup.homepage), 2 = last
  65. pref("browser.startup.page",                1);
  66. pref("browser.startup.homepage",       "chrome://navigator-region/locale/region.properties");
  67. // "browser.startup.homepage_override" was for 4.x
  68. pref("browser.startup.homepage_override.1", true);
  69. pref("browser.startup.autoload_homepage",   true);
  70.  
  71. pref("browser.cache.enable",                true); // see also network.http.use-cache
  72. pref("browser.cache.disk.enable",           true);
  73. pref("browser.cache.disk.capacity",         50000);
  74. pref("browser.cache.memory.enable",         true);
  75. pref("browser.cache.memory.capacity",       4096);
  76. pref("browser.cache.disk_cache_ssl",        false);
  77. // 0 = once-per-session, 1 = each-time, 2 = never, 3 = when-appropriate/automatically
  78. pref("browser.cache.check_doc_frequency",   3);
  79.  
  80. pref("browser.display.use_document_fonts",  1);  // 0 = never, 1 = quick, 2 = always
  81. pref("browser.display.use_document_colors", true);
  82. pref("browser.display.use_system_colors",   false);
  83. pref("browser.display.foreground_color",    "#000000");
  84. pref("browser.display.background_color",    "#FFFFFF");
  85. pref("browser.display.force_inline_alttext", false); // true = force ALT text for missing images to be layed out inline
  86. // 0 = no external leading, 
  87. // 1 = use external leading only when font provides, 
  88. // 2 = add extra leading both internal leading and external leading are zero
  89. pref("browser.display.normal_lineheight_calc_control", 2);
  90. pref("browser.display.show_image_placeholders", true); // true = show image placeholders while image is loaded and when image is broken
  91. pref("browser.anchor_color",                "#0000EE");
  92. pref("browser.visited_color",               "#551A8B");
  93. pref("browser.underline_anchors",           true);
  94. pref("browser.blink_allowed",               true);
  95.  
  96. pref("browser.display.use_focus_colors",    false);
  97. pref("browser.display.focus_background_color", "#117722");
  98. pref("browser.display.focus_text_color",     "#ffffff");
  99. pref("browser.display.focus_ring_width",     1);
  100. pref("browser.display.focus_ring_on_anything", false);
  101.  
  102. pref("browser.urlbar.autoFill", false);
  103. pref("browser.urlbar.showPopup", true);
  104. pref("browser.urlbar.showSearch", true);
  105. pref("browser.urlbar.matchOnlyTyped", false);
  106.  
  107. pref("browser.chrome.site_icons", true);
  108. pref("browser.chrome.favicons", false);
  109.  
  110. pref("browser.chrome.toolbar_tips",         true);
  111. pref("browser.chrome.toolbar_style",        2);
  112.  
  113. pref("browser.toolbars.showbutton.bookmarks", true);
  114. pref("browser.toolbars.showbutton.go",      false);
  115. pref("browser.toolbars.showbutton.home",    true);
  116. pref("browser.toolbars.showbutton.mynetscape", true);
  117. pref("browser.toolbars.showbutton.net2phone", true);
  118. pref("browser.toolbars.showbutton.print",   true);
  119. pref("browser.toolbars.showbutton.search",  true);
  120.  
  121. pref("browser.turbo.enabled", false);
  122.  
  123. pref("browser.helperApps.alwaysAsk.force",  false);
  124. pref("browser.helperApps.neverAsk.saveToDisk", "");
  125. pref("browser.helperApps.neverAsk.openFile", "");
  126.  
  127. pref("accessibility.browsewithcaret", false);
  128. pref("accessibility.warn_on_browsewithcaret", true);
  129. pref("accessibility.usetexttospeech", "");
  130. pref("accessibility.usebrailledisplay", "");
  131. pref("accessibility.accesskeycausesactivation", true);
  132.  
  133. // Dialog modality issues
  134. pref("browser.prefWindowModal", true);
  135. pref("browser.show_about_as_stupid_modal_window", false);
  136.  
  137. pref("browser.download.progressDnldDialog.keepAlive", true); // keep the dnload progress dialog up after dnload is complete
  138. pref("browser.download.progressDnldDialog.enable_launch_reveal_buttons", true);
  139.  
  140. // various default search settings
  141. pref("browser.search.defaulturl", "chrome://navigator-region/locale/region.properties");
  142. pref("browser.search.opensidebarsearchpanel", true);
  143. pref("browser.search.last_search_category", "NC:SearchCategory?category=urn:search:category:1");
  144. pref("browser.search.mode", 0);
  145. pref("browser.search.powermode", 0);
  146. // basic search popup constraint: minimum sherlock plugin version displayed
  147. // (note: must be a string representation of a float or it'll default to 0.0)
  148. pref("browser.search.basic.min_ver", "0.0");
  149. pref("browser.urlbar.autocomplete.enabled", true);
  150. pref("browser.urlbar.clickSelectsAll", true);
  151.  
  152. pref("browser.history.last_page_visited", "");
  153. pref("browser.history_expire_days", 9);
  154. pref("browser.history.grouping", "day");
  155. pref("browser.sessionhistory.max_entries", 50);
  156.  
  157. // Translation service
  158. pref("browser.translation.service", "http://www.teletranslator.com:8120/?AlisUI=frames_ex/moz_home&alis_info=moz&AlisTargetURI=");
  159. pref("browser.translation.serviceDomain", "teletranslator.com");
  160.   
  161. // Platform for Internet Content Selection
  162. pref("browser.PICS.ratings_enabled", false);
  163. pref("browser.PICS.pages_must_be_rated", false);
  164. pref("browser.PICS.disable_for_this_session", false);
  165. pref("browser.PICS.reenable_for_this_session", false);
  166. pref("browser.PICS.service.http___home_netscape_com_default_rating.service_enabled", true);
  167. pref("browser.PICS.service.http___home_netscape_com_default_rating.s", 0);
  168.  
  169. // loading and rendering of framesets and iframes
  170. pref("browser.frames.enabled", true);
  171.  
  172. // form submission
  173. pref("browser.forms.submit.backwards_compatible", true);
  174.  
  175. // Tab browser preferences.
  176. pref("browser.tabs.autoHide", true);
  177. pref("browser.tabs.forceHide", false);
  178. pref("browser.tabs.loadInBackground", false);
  179. pref("browser.tabs.opentabfor.middleclick", false);
  180. pref("browser.tabs.opentabfor.urlbar", false);
  181. pref("browser.tabs.opentabfor.windowopen", false);
  182. pref("browser.tabs.opentabfor.bookmarks", false);
  183.  
  184. // view source
  185. pref("view_source.syntax_highlight", true);
  186. pref("view_source.wrap_long_lines", false);
  187.  
  188. // gfx widgets
  189. pref("nglayout.widget.mode", 2);
  190. pref("nglayout.widget.gfxscrollbars", true);
  191.  
  192. // css2 hover pref
  193. pref("nglayout.events.showHierarchicalHover", false);
  194.  
  195. // dispatch left clicks only to content in browser (still allows clicks to chrome/xul)
  196. pref("nglayout.events.dispatchLeftClickOnly", true);
  197.  
  198. // whether or not to use xbl form controls
  199. pref("nglayout.debug.enable_xbl_forms", false);
  200.  
  201. // size of scrollbar snapping region
  202. pref("slider.snapMultiplier", 6);
  203.  
  204. // option to choose plug-in finder
  205. pref("application.use_ns_plugin_finder", false);
  206.  
  207. // Smart Browsing prefs
  208. pref("browser.related.enabled", true);
  209. pref("browser.related.autoload", 1);  // 0 = Always, 1 = After first use, 2 = Never
  210. pref("browser.related.provider", "http://www-rl.netscape.com/wtgn?");
  211. pref("browser.related.disabledForDomains", "");
  212. pref("browser.goBrowsing.enabled", true);
  213.  
  214. // URI fixup prefs
  215. pref("browser.fixup.alternate.enabled", true);
  216. pref("browser.fixup.alternate.prefix", "www.");
  217. pref("browser.fixup.alternate.suffix", ".com");
  218.  
  219. //Internet Search
  220. pref("browser.search.defaultenginename", "chrome://communicator-region/locale/region.properties");
  221.  
  222. // Print header customization
  223. // Use the following codes:
  224. // &T - Title
  225. // &U - Document URL
  226. // &D - Date/Time
  227. // &P - Page Number
  228. // &PT - Page Number "of" Page total
  229. // Set each header to a string containing zero or one of these codes
  230. // and the code will be replaced in that string by the corresponding data
  231. pref("print.print_headerleft", "&T");
  232. pref("print.print_headercenter", "");
  233. pref("print.print_headerright", "&U");
  234. pref("print.print_footerleft", "&PT");
  235. pref("print.print_footercenter", "");
  236. pref("print.print_footerright", "&D");
  237. pref("print.show_print_progress", true);
  238.  
  239. // When this is set to false it means each window has its PrintSettings
  240. // and a change in one browser window does not effect the others
  241. pref("print.use_global_printsettings", true);
  242.  
  243. // This indicates whether it should use the native dialog or the XP Dialog50
  244. pref("print.use_native_print_dialog", false);
  245.  
  246. // Save the Printings after each print job
  247. pref("print.save_print_settings", true);
  248.  
  249. pref("print.whileInPrintPreview", true);
  250.  
  251. // Cache old Presentation when going into Print Preview
  252. pref("print.always_cache_old_pres", false);
  253.  
  254. // Enables you to specify the gap from the edge of the paper to the margin
  255. // this is used by both Printing and Print Preview
  256. pref("print.print_edge_top", 0); // 1/100 of an inch
  257. pref("print.print_edge_left", 0); // 1/100 of an inch
  258. pref("print.print_edge_right", 0); // 1/100 of an inch
  259. pref("print.print_edge_bottom", 0); // 1/100 of an inch
  260.  
  261. // Default Capability Preferences: Security-Critical! 
  262. // Editing these may create a security risk - be sure you know what you're doing
  263. //pref("capability.policy.default.barprop.visible.set", "UniversalBrowserWrite");
  264.  
  265. pref("capability.policy.default_policynames", "mailnews");
  266. pref("capability.policy.policynames", "");
  267.  
  268. pref("capability.policy.default.DOMException.code", "allAccess");
  269. pref("capability.policy.default.DOMException.message", "allAccess");
  270. pref("capability.policy.default.DOMException.name", "allAccess");
  271. pref("capability.policy.default.DOMException.result", "allAccess");
  272. pref("capability.policy.default.DOMException.toString", "allAccess");
  273.  
  274. pref("capability.policy.default.History.back", "allAccess");
  275. pref("capability.policy.default.History.current", "UniversalBrowserRead");
  276. pref("capability.policy.default.History.forward", "allAccess");
  277. pref("capability.policy.default.History.go", "allAccess");
  278. pref("capability.policy.default.History.item", "UniversalBrowserRead");
  279. pref("capability.policy.default.History.next", "UniversalBrowserRead");
  280. pref("capability.policy.default.History.previous", "UniversalBrowserRead");
  281. pref("capability.policy.default.History.toString", "UniversalBrowserRead");
  282.  
  283. pref("capability.policy.default.HTMLDocument.close", "allAccess");
  284. pref("capability.policy.default.HTMLDocument.open", "allAccess");
  285. pref("capability.policy.default.HTMLDocument.write", "allAccess");
  286. pref("capability.policy.default.HTMLDocument.writeln", "allAccess");
  287.  
  288. pref("capability.policy.default.Location.hash.set", "allAccess");
  289. pref("capability.policy.default.Location.href.set", "allAccess");
  290. pref("capability.policy.default.Location.reload", "allAccess");
  291. pref("capability.policy.default.Location.replace", "allAccess");
  292.  
  293. pref("capability.policy.default.Navigator.preference", "allAccess");
  294. pref("capability.policy.default.Navigator.preferenceinternal.get", "UniversalPreferencesRead");
  295. pref("capability.policy.default.Navigator.preferenceinternal.set", "UniversalPreferencesWrite");
  296.  
  297. pref("capability.policy.default.Window.blur", "allAccess");
  298. pref("capability.policy.default.Window.close", "allAccess");
  299. pref("capability.policy.default.Window.closed", "allAccess");
  300. pref("capability.policy.default.Window.Components", "allAccess");
  301. pref("capability.policy.default.Window.document", "allAccess");
  302. pref("capability.policy.default.Window.focus", "allAccess");
  303. pref("capability.policy.default.Window.frames", "allAccess");
  304. pref("capability.policy.default.Window.fullScreen", "noAccess");
  305. pref("capability.policy.default.Window.history", "allAccess");
  306. pref("capability.policy.default.Window.length", "allAccess");
  307. pref("capability.policy.default.Window.location", "allAccess");
  308. pref("capability.policy.default.Window.opener", "allAccess");
  309. pref("capability.policy.default.Window.parent", "allAccess");
  310. pref("capability.policy.default.Window.self", "allAccess");
  311. pref("capability.policy.default.Window.top", "allAccess");
  312. pref("capability.policy.default.Window.window", "allAccess");
  313.  
  314. // Restrictions on the DOM for mail/news - see bugs 66938 and 84545
  315. pref("capability.policy.mailnews.sites", "mailbox: imap: news:");
  316.  
  317. pref("capability.policy.mailnews.*.attributes.get", "noAccess");
  318. pref("capability.policy.mailnews.*.baseURI.get", "noAccess");
  319. pref("capability.policy.mailnews.*.data.get", "noAccess");
  320. pref("capability.policy.mailnews.*.getAttribute", "noAccess");
  321. pref("capability.policy.mailnews.*.getNamedItem", "noAccess");
  322. pref("capability.policy.mailnews.*.host.get", "noAccess");
  323. pref("capability.policy.mailnews.*.hostname.get", "noAccess");
  324. pref("capability.policy.mailnews.*.href.get", "noAccess");
  325. pref("capability.policy.mailnews.*.innerHTML.get", "noAccess");
  326. pref("capability.policy.mailnews.*.lowSrc.get", "noAccess");
  327. pref("capability.policy.mailnews.*.nodeValue.get", "noAccess");
  328. pref("capability.policy.mailnews.*.pathname.get", "noAccess");
  329. pref("capability.policy.mailnews.*.protocol.get", "noAccess");
  330. pref("capability.policy.mailnews.*.src.get", "noAccess");
  331. pref("capability.policy.mailnews.*.substringData.get", "noAccess");
  332. pref("capability.policy.mailnews.*.text.get", "noAccess");
  333. pref("capability.policy.mailnews.*.title.get", "noAccess");
  334. pref("capability.policy.mailnews.DOMException.toString", "noAccess");
  335. pref("capability.policy.mailnews.HTMLAnchorElement.toString", "noAccess");
  336. pref("capability.policy.mailnews.HTMLDocument.domain", "noAccess");
  337. pref("capability.policy.mailnews.HTMLDocument.URL", "noAccess");
  338. pref("capability.policy.mailnews.Location.toString", "noAccess");
  339. pref("capability.policy.mailnews.Range.toString", "noAccess");
  340. pref("capability.policy.mailnews.Window.blur", "noAccess");
  341. pref("capability.policy.mailnews.Window.focus", "noAccess");
  342. pref("capability.policy.mailnews.Window.innerWidth.set", "noAccess");
  343. pref("capability.policy.mailnews.Window.innerHeight.set", "noAccess");
  344. pref("capability.policy.mailnews.Window.moveBy", "noAccess");
  345. pref("capability.policy.mailnews.Window.moveTo", "noAccess");
  346. pref("capability.policy.mailnews.Window.name.set", "noAccess");
  347. pref("capability.policy.mailnews.Window.outerHeight.set", "noAccess");
  348. pref("capability.policy.mailnews.Window.outerWidth.set", "noAccess");
  349. pref("capability.policy.mailnews.Window.resizeBy", "noAccess");
  350. pref("capability.policy.mailnews.Window.resizeTo", "noAccess");
  351. pref("capability.policy.mailnews.Window.screenX.set", "noAccess");
  352. pref("capability.policy.mailnews.Window.screenY.set", "noAccess");
  353. pref("capability.policy.mailnews.Window.sizeToContent", "noAccess");
  354.  
  355. // Scripts & Windows prefs
  356. pref("browser.block.target_new_window",     false);
  357. pref("dom.disable_cookie_get",              false);
  358. pref("dom.disable_cookie_set",              false);
  359. pref("dom.disable_image_src_set",           false);
  360. pref("dom.disable_open_during_load",        false);
  361. pref("dom.disable_window_flip",             false);
  362. pref("dom.disable_window_move_resize",      false);
  363. pref("dom.disable_window_status_change",    false);
  364.  
  365. pref("dom.disable_window_open_feature.titlebar",    false);
  366. pref("dom.disable_window_open_feature.close",       false);
  367. pref("dom.disable_window_open_feature.toolbar",     false);
  368. pref("dom.disable_window_open_feature.location",    false);
  369. pref("dom.disable_window_open_feature.directories", false);
  370. pref("dom.disable_window_open_feature.personalbar", false);
  371. pref("dom.disable_window_open_feature.menubar",     false);
  372. pref("dom.disable_window_open_feature.scrollbars",  false);
  373. pref("dom.disable_window_open_feature.resizable",   false);
  374. pref("dom.disable_window_open_feature.minimizable", false);
  375. pref("dom.disable_window_open_feature.status",      false);
  376.  
  377. pref("javascript.enabled",                  true);
  378. pref("javascript.allow.mailnews",           false);
  379. pref("javascript.options.strict",           false);
  380. pref("javascript.options.showInConsole",    true);
  381.  
  382. // advanced prefs
  383. pref("advanced.always_load_images",         true);
  384. pref("security.enable_java",                true);
  385. pref("css.allow",                           true);
  386. pref("advanced.mailftp",                    false);
  387. pref("image.animation_mode",                "normal");
  388.  
  389. pref("offline.startup_state",            0);
  390. pref("offline.send.unsent_messages",            0);
  391. pref("offline.download.download_messages",  0);
  392. pref("offline.prompt_synch_on_exit",            true);
  393. pref("offline.news.download.use_days",          0);
  394.  
  395. // If there is ever a security firedrill that requires
  396. // us to block certian ports global, this is the pref 
  397. // to use.  Is is a comma delimited list of port numbers
  398. // for example:
  399. //   pref("network.security.ports.banned", "1,2,3,4,5");
  400. // prevents necko connecting to ports 1-5 unless the protocol
  401. // overrides.
  402.  
  403. pref("network.hosts.smtp_server",           "mail");
  404. pref("network.hosts.pop_server",            "mail");
  405. pref("network.protocols.useSystemDefaults",   false); // set to true if user links should use system default handlers
  406.  
  407. // <http>
  408. pref("network.http.version", "1.1");      // default
  409. // pref("network.http.version", "1.0");   // uncomment this out in case of problems
  410. // pref("network.http.version", "0.9");   // it'll work too if you're crazy
  411. // keep-alive option is effectively obsolete. Nevertheless it'll work with
  412. // some older 1.0 servers:
  413.  
  414. pref("network.http.proxy.version", "1.1");    // default
  415. // pref("network.http.proxy.version", "1.0"); // uncomment this out in case of problems
  416.                                               // (required if using junkbuster proxy)
  417.  
  418. // enable caching of http documents
  419. pref("network.http.use-cache", true);
  420.  
  421. pref("network.http.keep-alive", true); // set it to false in case of problems
  422. pref("network.http.proxy.keep-alive", true);
  423. pref("network.http.keep-alive.timeout", 300);
  424.  
  425. // limit the absolute number of http connections.
  426. pref("network.http.max-connections", 24);
  427.  
  428. // limit the absolute number of http connections that can be established per
  429. // host.  if a http proxy server is enabled, then the "server" is the proxy
  430. // server.  Otherwise, "server" is the http origin server.
  431. pref("network.http.max-connections-per-server", 8);
  432.  
  433. // if network.http.keep-alive is true, and if NOT connecting via a proxy, then
  434. // a new connection will only be attempted if the number of active persistent
  435. // connections to the server is less then max-persistent-connections-per-server.
  436. pref("network.http.max-persistent-connections-per-server", 2);
  437.  
  438. // if network.http.keep-alive is true, and if connecting via a proxy, then a
  439. // new connection will only be attempted if the number of active persistent
  440. // connections to the proxy is less then max-persistent-connections-per-proxy.
  441. pref("network.http.max-persistent-connections-per-proxy", 4);
  442.  
  443. // amount of time (in seconds) to suspend pending requests, before spawning a
  444. // new connection, once the limit on the number of persistent connections per
  445. // host has been reached.  however, a new connection will not be created if
  446. // max-connections or max-connections-per-server has also been reached.
  447. pref("network.http.request.max-start-delay", 10);
  448.  
  449. // http specific network timeouts (XXX currently unused)
  450. pref("network.http.connect.timeout",  30);    // in seconds
  451. pref("network.http.request.timeout", 120);    // in seconds
  452.  
  453. // Headers
  454. 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,text/css,*/*;q=0.1");
  455.  
  456. pref("network.http.sendRefererHeader",      2); // 0=don't send any, 1=send only on clicks, 2=send on image requests as well
  457.  
  458. // Maximum number of consecutive redirects before aborting.
  459. pref("network.http.redirection-limit", 10);
  460.  
  461. // Enable http compression: comment this out in case of problems with 1.1
  462. pref("network.http.accept-encoding" ,"gzip, deflate, compress;q=0.9");
  463.  
  464. pref("network.http.pipelining"      , false);
  465. pref("network.http.proxy.pipelining", false);
  466.  
  467. // Always pipeling the very first request:  this will only work when you are
  468. // absolutely sure the the site or proxy you are browsing to/through support
  469. // pipelining; the default behavior will be that the browser will first make
  470. // a normal, non-pipelined request, then  examine  and remember the responce
  471. // and only the subsequent requests to that site will be pipeline
  472. pref("network.http.pipelining.firstrequest", false);
  473.  
  474. // Max number of requests in the pipeline
  475. pref("network.http.pipelining.maxrequests" , 4);
  476.  
  477. pref("network.http.proxy.ssl.connect",true);
  478. // </http>
  479.  
  480. // This preference controls whether or not internationalized domain names (IDN)
  481. // are handled.  IDN requires a nsIIDNService implementation.
  482. pref("network.enableIDN", true);
  483.  
  484. // This preference controls whether or not URLs with UTF-8 characters are
  485. // escaped.  Set this preference to TRUE for strict RFC2396 conformance.
  486. pref("network.standard-url.escape-utf8", true);
  487.  
  488. // Idle timeout for ftp control connections - 5 minute default
  489. pref("network.ftp.idleConnectionTimeout", 300);
  490.  
  491. // directory listing format - constants are defined in nsIDirectoryListing.idl
  492. // Do not set this to 0...
  493. pref("network.dir.format", 2);
  494.  
  495. // sspitzer:  change this back to "news" when we get to beta.
  496. // for now, set this to news.mozilla.org because you can only
  497. // post to the server specified by this pref.
  498. pref("network.hosts.nntp_server",           "news.mozilla.org");
  499.  
  500. pref("network.hosts.socks_server",          "");
  501. pref("network.hosts.socks_serverport",      1080);
  502. pref("network.hosts.socks_conf",            "");
  503. pref("network.image.imageBehavior",         0); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
  504. pref("network.image.warnAboutImages",       false);
  505. pref("network.proxy.autoconfig_url",        "");
  506. pref("network.proxy.type",                  0);
  507. pref("network.proxy.ftp",                   "");
  508. pref("network.proxy.ftp_port",              0);
  509. pref("network.proxy.gopher",                "");
  510. pref("network.proxy.gopher_port",           0);
  511. pref("network.proxy.news",                  "");
  512. pref("network.proxy.news_port",             0);
  513. pref("network.proxy.http",                  "");
  514. pref("network.proxy.http_port",             0);
  515. pref("network.proxy.wais",                  "");
  516. pref("network.proxy.wais_port",             0);
  517. pref("network.proxy.ssl",                   "");
  518. pref("network.proxy.ssl_port",              0);
  519. pref("network.proxy.socks",                 "");
  520. pref("network.proxy.socks_port",            0);
  521. pref("network.proxy.socks_version",         5);
  522. pref("network.proxy.no_proxies_on",         "");
  523. pref("network.online",                      true); //online/offline
  524. pref("network.accept_cookies",              0);     // 0 = Always, 1 = warn, 2 = never
  525. pref("network.foreign_cookies",             0); // 0 = Accept, 1 = Don't accept
  526. pref("network.cookie.cookieBehavior",       3); // 0-Accept, 1-dontAcceptForeign, 2-dontUse, 3-p3p
  527. pref("network.cookie.disableCookieForMailNews", true); // disable all cookies for mail
  528. pref("network.cookie.warnAboutCookies",     false);
  529. pref("network.cookie.lifetime.enabled",     false);
  530. pref("network.cookie.lifetime.behavior",    0);
  531. pref("network.cookie.lifetime.days",        90);
  532.  
  533. // The following default value is for p3p medium mode.
  534. // See extensions/cookie/resources/content/p3p.xul for the definitions of low/medium/hi
  535. pref("network.cookie.p3p",                  "ffffaaaa");
  536. pref("network.cookie.p3plevel",             1); // 0=low, 1=medium, 2=high, 3=custom
  537.  
  538. pref("signon.rememberSignons",              true);
  539. pref("signon.expireMasterPassword",         false);
  540. pref("network.enablePad",                   false); // Allow client to do proxy autodiscovery
  541. pref("network.enableIDN",                   false); // Turn on/off IDN (Internationalized Domain Name) resolution
  542. pref("converter.html2txt.structs",          true); // Output structured phrases (strong, em, code, sub, sup, b, i, u)
  543. pref("converter.html2txt.header_strategy",  1); // 0 = no indention; 1 = indention, increased with header level; 2 = numbering and slight indention
  544. pref("wallet.captureForms",                 true);
  545. pref("wallet.notified",                     false);
  546. pref("wallet.TutorialFromMenu",             "chrome://navigator/locale/navigator.properties");
  547. pref("wallet.Server",                       "chrome://navigator/locale/navigator.properties");
  548. pref("wallet.Samples",                      "chrome://navigator/locale/navigator.properties");
  549. pref("wallet.version",                      "1");
  550. pref("wallet.enabled",                      true);
  551. pref("wallet.crypto",                       false);
  552. pref("wallet.crypto.autocompleteoverride",  false); // Ignore 'autocomplete=off' - available only when wallet.crypto is enabled. 
  553. pref("wallet.namePanel.hide",               false);
  554. pref("wallet.addressPanel.hide",            false);
  555. pref("wallet.phonePanel.hide",              false);
  556. pref("wallet.creditPanel.hide",             false);
  557. pref("wallet.employPanel.hide",             false);
  558. pref("wallet.miscPanel.hide",               false);
  559. pref("imageblocker.enabled",                true);
  560. pref("intl.accept_languages",               "chrome://navigator/locale/navigator.properties");
  561. pref("intl.accept_charsets",                "iso-8859-1,*,utf-8");
  562. pref("intl.collationOption",                "chrome://navigator-platform/locale/navigator.properties");
  563. pref("intl.menuitems.alwaysappendacceskeys","chrome://navigator/locale/navigator.properties");
  564. pref("intl.charsetmenu.browser.static",     "chrome://navigator/locale/navigator.properties");
  565. pref("intl.charsetmenu.browser.more1",      "chrome://navigator/locale/navigator.properties");
  566. pref("intl.charsetmenu.browser.more2",      "chrome://navigator/locale/navigator.properties");
  567. pref("intl.charsetmenu.browser.more3",      "chrome://navigator/locale/navigator.properties");
  568. pref("intl.charsetmenu.browser.more4",      "chrome://navigator/locale/navigator.properties");
  569. pref("intl.charsetmenu.browser.more5",      "chrome://navigator/locale/navigator.properties");
  570. pref("intl.charsetmenu.mailedit",           "chrome://navigator/locale/navigator.properties");
  571. pref("intl.charsetmenu.browser.cache",      "");
  572. pref("intl.charsetmenu.mailview.cache",     "");
  573. pref("intl.charsetmenu.composer.cache",     "");
  574. pref("intl.charsetmenu.browser.cache.size", 5);
  575. pref("intl.charset.detector",               "chrome://navigator/locale/navigator.properties");
  576. pref("intl.charset.default",                "chrome://navigator-platform/locale/navigator.properties");
  577. pref("intl.content.langcode",               "chrome://communicator-region/locale/region.properties");
  578. pref("intl.locale.matchOS",                 false);
  579. // fallback charset list for Unicode conversion (converting from Unicode)
  580. // currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes)
  581. // for ISO-8859-1
  582. pref("intl.fallbackCharsetList.ISO-8859-1", "windows-1252");
  583. pref("font.language.group",                 "chrome://navigator/locale/navigator.properties");
  584.  
  585. // -- folders (Mac: these are binary aliases.)
  586. pref("mail.signature_file",             "");
  587. pref("mail.directory",                  "");
  588.  
  589. pref("images.dither", "auto");
  590. pref("news.directory",                  "");
  591. pref("security.directory",              "");
  592.  
  593. pref("autoupdate.enabled",              true);
  594.  
  595. pref("browser.editor.disabled", false);
  596.  
  597. pref("spellchecker.dictionary", "");
  598.  
  599. pref("signed.applets.codebase_principal_support", false);
  600. pref("security.checkloaduri", true);
  601. pref("security.xpconnect.plugin.unrestricted", true);
  602.  
  603. // Modifier key prefs: default to Windows settings,
  604. // menu access key = alt, accelerator key = control.
  605. // Use 17 for Ctrl, 18 for Alt, 224 for Meta, 0 for none. Mac settings in macprefs.js
  606. pref("ui.key.accelKey", 17);
  607. pref("ui.key.generalAccessKey", 18);
  608. pref("ui.key.menuAccessKey", 18);
  609. pref("ui.key.menuAccessKeyFocuses", false);
  610. pref("ui.key.saveLink.shift", true); // true = shift, false = meta
  611.  
  612. // Middle-mouse handling
  613. pref("middlemouse.paste", false);
  614. pref("middlemouse.openNewWindow", true);
  615. pref("middlemouse.contentLoadURL", false);
  616. pref("middlemouse.scrollbarPosition", false);
  617.  
  618. // Clipboard behavior
  619. pref("clipboard.autocopy", false);
  620.  
  621. // 0=lines, 1=pages, 2=history , 3=text size
  622. pref("mousewheel.withnokey.action",0);
  623. pref("mousewheel.withnokey.numlines",1);    
  624. pref("mousewheel.withnokey.sysnumlines",true);
  625. pref("mousewheel.withcontrolkey.action",0);
  626. pref("mousewheel.withcontrolkey.numlines",1);
  627. pref("mousewheel.withcontrolkey.sysnumlines",true);
  628. pref("mousewheel.withshiftkey.action",0);
  629. pref("mousewheel.withshiftkey.numlines",1);
  630. pref("mousewheel.withshiftkey.sysnumlines",false);
  631. pref("mousewheel.withaltkey.action",2);
  632. pref("mousewheel.withaltkey.numlines",1);
  633. pref("mousewheel.withaltkey.sysnumlines",false);
  634.  
  635. pref("profile.confirm_automigration",true);
  636.  
  637. // the amount of time (in seconds) that must elapse
  638. // before we think your mozilla profile is defunct
  639. // and you'd benefit from re-migrating from 4.x
  640. // see bug #137886 for more details
  641. //
  642. // if -1, we never think your profile is defunct
  643. // and users will never see the remigrate UI.
  644. pref("profile.seconds_until_defunct", -1);
  645.  
  646. // Customizable toolbar stuff
  647. pref("custtoolbar.personal_toolbar_folder", "");
  648.  
  649. pref("sidebar.customize.all_panels.url", "http://sidebar-rdf.netscape.com/%LOCALE%/sidebar-rdf/%SIDEBAR_VERSION%/all-panels.rdf");
  650. pref("sidebar.customize.directory.url", "http://dmoz.org/Netscape/Sidebar/");
  651. pref("sidebar.customize.more_panels.url", "http://dmoz.org/Netscape/Sidebar/");
  652. pref("sidebar.num_tabs_in_view", 8);
  653.  
  654. pref("prefs.converted-to-utf8",false);
  655. // --------------------------------------------------
  656. // IBMBIDI 
  657. // --------------------------------------------------
  658. //
  659. // ------------------
  660. //  Text Direction
  661. // ------------------
  662. // 1 = directionLTRBidi *
  663. // 2 = directionRTLBidi
  664. pref("bidi.direction", 1);
  665. // ------------------
  666. //  Text Type
  667. // ------------------
  668. // 1 = charsettexttypeBidi *
  669. // 2 = logicaltexttypeBidi
  670. // 3 = visualtexttypeBidi
  671. pref("bidi.texttype", 1);
  672. // ------------------
  673. //  Controls Text Mode
  674. // ------------------
  675. // 1 = logicalcontrolstextmodeBidiCmd
  676. // 2 = visualcontrolstextmodeBidi <-- NO LONGER SUPPORTED
  677. // 3 = containercontrolstextmodeBidi *
  678. pref("bidi.controlstextmode", 1);
  679. // ------------------
  680. //  Clipboard Text Mode
  681. // ------------------
  682. //  1 = logicalclipboardtextmodeBidi
  683. // 2 = visiualclipboardtextmodeBidi
  684. // 3 = sourceclipboardtextmodeBidi *
  685. pref("bidi.clipboardtextmode", 3);
  686. // ------------------
  687. //  Numeral Style
  688. // ------------------
  689. // 1 = regularcontextnumeralBidi *
  690. // 2 = hindicontextnumeralBidi
  691. // 3 = arabicnumeralBidi
  692. // 4 = hindinumeralBidi
  693. pref("bidi.numeral", 1);
  694. // ------------------
  695. //  Support Mode
  696. // ------------------
  697. // 1 = mozillaBidisupport *
  698. // 2 = OsBidisupport
  699. // 3 = disableBidisupport
  700. pref("bidi.support", 1);
  701. // ------------------
  702. //  Charset Mode
  703. // ------------------
  704. // 1 = doccharactersetBidi *
  705. // 2 = defaultcharactersetBidi
  706. pref("bidi.characterset", 1);
  707.  
  708.  
  709. pref("browser.throbber.url","chrome://navigator-region/locale/region.properties");
  710.  
  711. // used for double-click word selection behavior. Win will override.
  712. pref("layout.word_select.eat_space_to_next_word", false);
  713. pref("layout.word_select.stop_at_punctuation", true);
  714.  
  715. // pref to force frames to be resizable
  716. pref("layout.frames.force_resizability", false);
  717.  
  718. // pref to permit users to make verified SOAP calls by default
  719. pref("capability.policy.default.SOAPCall.invokeVerifySourceHeader", "allAccess");
  720.  
  721. // pref to control the alert notification 
  722. pref("alerts.slideIncrement", 1);
  723. pref("alerts.slideIncrementTime", 10);
  724. pref("alerts.totalOpenTime", 4000);
  725. pref("alerts.height", 50);
  726.  
  727. // update notifications prefs
  728. pref("update_notifications.enabled", true);
  729. pref("update_notifications.provider.0.frequency", 7); // number of days
  730. pref("update_notifications.provider.0.datasource", "chrome://communicator-region/locale/region.properties");
  731.  
  732. // 0 opens the download manager
  733. // 1 opens a progress dialog
  734. // 2 and other values, no download manager, no progress dialog. 
  735. pref("browser.downloadmanager.behavior", 0);
  736.  
  737. // if true, allow plug-ins to override internal imglib decoder mime types in full-page mode
  738. pref("plugin.override_internal_types", false);
  739. pref("plugin.expose_full_path", false); // if true navigator.plugins reveals full path
  740.  
  741. // See bug 136985.  Gives embedders a pref to hook into to show
  742. // a popup blocker if they choose.
  743. pref("browser.popups.showPopupBlocker", true);
  744.  
  745. // Help Windows NT, 2000, and XP dialup a RAS connection
  746. // when a network address is unreachable.
  747. pref("network.autodial-helper.enabled", true);
  748.  
  749. // Pref to control whether we set ddeexec subkeys for the http
  750. // Internet shortcut protocol if we are handling it.  These
  751. // subkeys will be set only while we are running (to avoid the
  752. // problem of Windows showing an alert when it tries to use DDE
  753. // and we're not already running).
  754. pref("advanced.system.supportDDEExec", true);
  755.