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