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