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