home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / lib / sunbird / greprefs / all.js next >
Encoding:
Text File  |  2007-05-23  |  62.6 KB  |  1,405 lines

  1. /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* ***** BEGIN LICENSE BLOCK *****
  3.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.  *
  5.  * The contents of this file are subject to the Mozilla Public License Version
  6.  * 1.1 (the "License"); you may not use this file except in compliance with
  7.  * the License. You may obtain a copy of the License at
  8.  * http://www.mozilla.org/MPL/
  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.  *   Benjamin Smedberg <bsmedberg@covad.net>
  24.  *
  25.  * Alternatively, the contents of this file may be used under the terms of
  26.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  27.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28.  * in which case the provisions of the GPL or the LGPL are applicable instead
  29.  * of those above. If you wish to allow use of your version of this file only
  30.  * under the terms of either the GPL or the LGPL, and not to allow others to
  31.  * use your version of this file under the terms of the MPL, indicate your
  32.  * decision by deleting the provisions above and replace them with the notice
  33.  * and other provisions required by the GPL or the LGPL. If you do not delete
  34.  * the provisions above, a recipient may use your version of this file under
  35.  * the terms of any one of the MPL, the GPL or the LGPL.
  36.  *
  37.  * ***** END LICENSE BLOCK ***** */
  38.  
  39. /* The prefs in this file are shipped with the GRE and should apply to all
  40.  * embedding situations. Application-specific preferences belong somewhere else,
  41.  * for example xpfe/bootstrap/browser-prefs.js
  42.  *
  43.  * Platform-specific #ifdefs at the end of this file override the generic
  44.  * entries at the top.
  45.  */
  46.  
  47. // SYNTAX HINTS:  dashes are delimiters.  Use underscores instead.
  48. //  The first character after a period must be alphabetic.
  49.  
  50. pref("keyword.URL", "http://www.google.com/search?ie=UTF-8&oe=utf-8&q=");
  51. pref("keyword.enabled", false);
  52. pref("general.useragent.locale", "chrome://navigator/locale/navigator.properties");
  53. pref("general.useragent.contentlocale", "chrome://navigator-region/locale/region.properties");
  54.  
  55. pref("general.config.obscure_value", 13); // for MCD .cfg files
  56.  
  57. pref("general.warnOnAboutConfig", true);
  58.  
  59. // maximum number of dated backups to keep at any time
  60. pref("browser.bookmarks.max_backups",       5);
  61.  
  62. pref("browser.cache.disk.enable",           true);
  63. pref("browser.cache.disk.capacity",         51200);
  64. pref("browser.cache.memory.enable",         true);
  65. //pref("browser.cache.memory.capacity",     -1);
  66. // -1 = determine dynamically, 0 = none, n = memory capacity in kilobytes
  67. pref("browser.cache.disk_cache_ssl",        false);
  68. // 0 = once-per-session, 1 = each-time, 2 = never, 3 = when-appropriate/automatically
  69. pref("browser.cache.check_doc_frequency",   3);
  70.  
  71. pref("browser.cache.offline.enable",           true);
  72. // offline cache capacity in kilobytes
  73. pref("browser.cache.offline.capacity",         10240);
  74.  
  75. // Fastback caching - if this pref is negative, then we calculate the number
  76. // of content viewers to cache based on the amount of available memory.
  77. pref("browser.sessionhistory.max_total_viewers", -1);
  78.  
  79. pref("browser.display.use_document_fonts",  1);  // 0 = never, 1 = quick, 2 = always
  80. pref("browser.display.use_document_colors", true);
  81. pref("browser.display.use_system_colors",   false);
  82. pref("browser.display.foreground_color",    "#000000");
  83. pref("browser.display.background_color",    "#FFFFFF");
  84. pref("browser.display.force_inline_alttext", false); // true = force ALT text for missing images to be layed out inline
  85. // 0 = no external leading, 
  86. // 1 = use external leading only when font provides, 
  87. // 2 = add extra leading both internal leading and external leading are zero
  88. pref("browser.display.normal_lineheight_calc_control", 2);
  89. pref("browser.display.show_image_placeholders", true); // true = show image placeholders while image is loaded and when image is broken
  90. pref("browser.anchor_color",                "#0000EE");
  91. pref("browser.active_color",                "#EE0000");
  92. pref("browser.visited_color",               "#551A8B");
  93. pref("browser.underline_anchors",           true);
  94. pref("browser.blink_allowed",               true);
  95. pref("browser.enable_automatic_image_resizing", false);
  96.  
  97. // See http://whatwg.org/specs/web-apps/current-work/#ping
  98. pref("browser.send_pings", false);
  99. pref("browser.send_pings.max_per_link", 1);           // limit the number of pings that are sent per link click
  100. pref("browser.send_pings.require_same_host", false);  // only send pings to the same host if this is true
  101.  
  102. pref("browser.display.use_focus_colors",    false);
  103. pref("browser.display.focus_background_color", "#117722");
  104. pref("browser.display.focus_text_color",     "#ffffff");
  105. pref("browser.display.focus_ring_width",     1);
  106. pref("browser.display.focus_ring_on_anything", false);
  107.  
  108. pref("browser.helperApps.alwaysAsk.force",  false);
  109. pref("browser.helperApps.neverAsk.saveToDisk", "");
  110. pref("browser.helperApps.neverAsk.openFile", "");
  111.  
  112. // xxxbsmedberg: where should prefs for the toolkit go?
  113. pref("browser.chrome.toolbar_tips",         true);
  114. // 0 = Pictures Only, 1 = Text Only, 2 = Pictures and Text
  115. pref("browser.chrome.toolbar_style",        2);
  116. // max image size for which it is placed in the tab icon for tabbrowser.
  117. // if 0, no images are used for tab icons for image documents.
  118. pref("browser.chrome.image_icons.max_size", 1024);
  119.  
  120. pref("browser.triple_click_selects_paragraph", true);
  121.  
  122. pref("accessibility.browsewithcaret", false);
  123. pref("accessibility.warn_on_browsewithcaret", true);
  124.  
  125. //@line 126 "/builds/tinderbox/Sb-Trunk/Linux_2.6.9-42.ELsmp_Depend/mozilla/modules/libpref/src/init/all.js"
  126. // Tab focus model bit field:
  127. // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
  128. // Most users will want 1, 3, or 7.
  129. // On OS X, we use Full Keyboard Access system preference,
  130. // unless accessibility.tabfocus is set by the user.
  131. pref("accessibility.tabfocus", 7);
  132. pref("accessibility.tabfocus_applies_to_xul", false);
  133.  
  134. // On OS X, we follow the "Click in the scrollbar to:" system preference
  135. // unless this preference was set manually
  136. pref("ui.scrollToClick", 0);
  137.  
  138. //@line 142 "/builds/tinderbox/Sb-Trunk/Linux_2.6.9-42.ELsmp_Depend/mozilla/modules/libpref/src/init/all.js"
  139.  
  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. // casesensitive: controls the find bar's case-sensitivity
  148. //     0 - "never"  (case-insensitive)
  149. //     1 - "always" (case-sensitive)
  150. // other - "auto"   (case-sensitive for mixed-case input, insensitive otherwise)
  151. pref("accessibility.typeaheadfind.casesensitive", 0);
  152. pref("accessibility.typeaheadfind.linksonly", true);
  153. pref("accessibility.typeaheadfind.startlinksonly", false);
  154. pref("accessibility.typeaheadfind.timeout", 4000);
  155. pref("accessibility.typeaheadfind.enabletimeout", true);
  156. pref("accessibility.typeaheadfind.soundURL", "beep");
  157. pref("accessibility.typeaheadfind.enablesound", true);
  158. pref("accessibility.typeaheadfind.prefillwithselection", true);
  159.  
  160. pref("browser.history_expire_days", 9);
  161.  
  162. // loading and rendering of framesets and iframes
  163. pref("browser.frames.enabled", true);
  164.  
  165. // form submission
  166. pref("browser.forms.submit.backwards_compatible", true);
  167.  
  168. // xxxbsmedberg more toolkit prefs?
  169. // Tab browser preferences.
  170. pref("browser.tabs.autoHide", true);
  171. pref("browser.tabs.forceHide", false);
  172. pref("browser.tabs.warnOnClose", true);
  173. pref("browser.tabs.warnOnCloseOther", true);
  174. pref("browser.tabs.warnOnOpen", true);
  175. pref("browser.tabs.maxOpenBeforeWarn", 15);
  176. // 0 = append, 1 = replace
  177. pref("browser.tabs.loadGroup", 1);
  178.  
  179. pref("toolkit.scrollbox.scrollIncrement", 20);
  180. pref("toolkit.scrollbox.clickToScroll.scrollDelay", 150);
  181.  
  182. // lets new tab/window load something different than first window
  183. // -1 - use navigator startup preference
  184. //  0 - loads blank page
  185. //  1 - loads home page
  186. //  2 - loads last page visited
  187. pref("browser.tabs.loadOnNewTab", 0);
  188. pref("browser.windows.loadOnNewWindow", 1);
  189.  
  190. // view source
  191. pref("view_source.syntax_highlight", true);
  192. pref("view_source.wrap_long_lines", false);
  193.  
  194. // dispatch left clicks only to content in browser (still allows clicks to chrome/xul)
  195. pref("nglayout.events.dispatchLeftClickOnly", true);
  196.  
  197. // whether or not to use xbl form controls
  198. pref("nglayout.debug.enable_xbl_forms", false);
  199.  
  200. // scrollbar snapping region
  201. // 0 - off
  202. // 1 and higher - slider thickness multiple
  203. pref("slider.snapMultiplier", 0);
  204.  
  205. // option to choose plug-in finder
  206. pref("application.use_ns_plugin_finder", false);
  207.  
  208. // URI fixup prefs
  209. pref("browser.fixup.alternate.enabled", true);
  210. pref("browser.fixup.alternate.prefix", "www.");
  211. pref("browser.fixup.alternate.suffix", ".com");
  212. pref("browser.fixup.hide_user_pass", true);
  213.  
  214. // Print header customization
  215. // Use the following codes:
  216. // &T - Title
  217. // &U - Document URL
  218. // &D - Date/Time
  219. // &P - Page Number
  220. // &PT - Page Number "of" Page total
  221. // Set each header to a string containing zero or one of these codes
  222. // and the code will be replaced in that string by the corresponding data
  223. pref("print.print_headerleft", "&T");
  224. pref("print.print_headercenter", "");
  225. pref("print.print_headerright", "&U");
  226. pref("print.print_footerleft", "&PT");
  227. pref("print.print_footercenter", "");
  228. pref("print.print_footerright", "&D");
  229. pref("print.show_print_progress", true);
  230.  
  231. // xxxbsmedberg: more toolkit prefs
  232.  
  233. // When this is set to false each window has its own PrintSettings
  234. // and a change in one window does not affect the others
  235. pref("print.use_global_printsettings", true);
  236.  
  237. // Use the native dialog or the XP dialog?
  238. pref("print.use_native_print_dialog", false);
  239.  
  240. // Save the Printings after each print job
  241. pref("print.save_print_settings", true);
  242.  
  243. pref("print.whileInPrintPreview", true);
  244.  
  245. // Cache old Presentation when going into Print Preview
  246. pref("print.always_cache_old_pres", false);
  247.  
  248. // Enables you to specify the gap from the edge of the paper to the margin
  249. // this is used by both Printing and Print Preview
  250. pref("print.print_edge_top", 0); // 1/100 of an inch
  251. pref("print.print_edge_left", 0); // 1/100 of an inch
  252. pref("print.print_edge_right", 0); // 1/100 of an inch
  253. pref("print.print_edge_bottom", 0); // 1/100 of an inch
  254.  
  255. // Pref used by the spellchecker extension to control the 
  256. // maximum number of misspelled words that will be underlined
  257. // in a document.
  258. pref("extensions.spellcheck.inline.max-misspellings", 500);
  259.  
  260. // Prefs used by libeditor. Prefs specific to seamonkey composer
  261. // belong in mozilla/editor/ui/composer.js
  262.  
  263. pref("editor.use_custom_colors", false);
  264. pref("editor.htmlWrapColumn", 72);
  265. pref("editor.singleLine.pasteNewlines",     1);
  266. pref("editor.quotesPreformatted",            false);
  267. pref("editor.use_css",                       true);
  268. pref("editor.css.default_length_unit",       "px");
  269. pref("editor.resizing.preserve_ratio",       true);
  270. pref("editor.positioning.offset",            0);
  271.  
  272.  
  273. // Default Capability Preferences: Security-Critical! 
  274. // Editing these may create a security risk - be sure you know what you're doing
  275. //pref("capability.policy.default.barprop.visible.set", "UniversalBrowserWrite");
  276.  
  277. pref("capability.policy.default_policynames", "mailnews");
  278.  
  279. pref("capability.policy.default.DOMException.code", "allAccess");
  280. pref("capability.policy.default.DOMException.message", "allAccess");
  281. pref("capability.policy.default.DOMException.name", "allAccess");
  282. pref("capability.policy.default.DOMException.result", "allAccess");
  283. pref("capability.policy.default.DOMException.toString.get", "allAccess");
  284.  
  285. pref("capability.policy.default.History.back.get", "allAccess");
  286. pref("capability.policy.default.History.current", "UniversalBrowserRead");
  287. pref("capability.policy.default.History.forward.get", "allAccess");
  288. pref("capability.policy.default.History.go.get", "allAccess");
  289. pref("capability.policy.default.History.item", "UniversalBrowserRead");
  290. pref("capability.policy.default.History.next", "UniversalBrowserRead");
  291. pref("capability.policy.default.History.previous", "UniversalBrowserRead");
  292. pref("capability.policy.default.History.toString", "UniversalBrowserRead");
  293.  
  294. pref("capability.policy.default.HTMLDocument.open.get", "allAccess");
  295.  
  296. pref("capability.policy.default.Location.hash.set", "allAccess");
  297. pref("capability.policy.default.Location.href.set", "allAccess");
  298. pref("capability.policy.default.Location.replace.get", "allAccess");
  299.  
  300. pref("capability.policy.default.Navigator.preference", "allAccess");
  301. pref("capability.policy.default.Navigator.preferenceinternal.get", "UniversalPreferencesRead");
  302. pref("capability.policy.default.Navigator.preferenceinternal.set", "UniversalPreferencesWrite");
  303.  
  304. pref("capability.policy.default.Window.blur.get", "allAccess");
  305. pref("capability.policy.default.Window.close.get", "allAccess");
  306. pref("capability.policy.default.Window.closed.get", "allAccess");
  307. pref("capability.policy.default.Window.document.get", "allAccess");
  308. pref("capability.policy.default.Window.focus.get", "allAccess");
  309. pref("capability.policy.default.Window.frames.get", "allAccess");
  310. pref("capability.policy.default.Window.history.get", "allAccess");
  311. pref("capability.policy.default.Window.length.get", "allAccess");
  312. pref("capability.policy.default.Window.location", "allAccess");
  313. pref("capability.policy.default.Window.opener.get", "allAccess");
  314. pref("capability.policy.default.Window.parent.get", "allAccess");
  315. pref("capability.policy.default.Window.self.get", "allAccess");
  316. pref("capability.policy.default.Window.top.get", "allAccess");
  317. pref("capability.policy.default.Window.window.get", "allAccess");
  318.  
  319. pref("capability.policy.default.Selection.addSelectionListener", "UniversalXPConnect");
  320. pref("capability.policy.default.Selection.removeSelectionListener", "UniversalXPConnect");
  321.  
  322. // Restrictions on the DOM for mail/news - see bugs 66938 and 84545
  323. pref("capability.policy.mailnews.sites", "mailbox: imap: news:");
  324.  
  325. pref("capability.policy.mailnews.*.attributes.get", "noAccess");
  326. pref("capability.policy.mailnews.*.baseURI.get", "noAccess");
  327. pref("capability.policy.mailnews.*.data.get", "noAccess");
  328. pref("capability.policy.mailnews.*.getAttribute", "noAccess");
  329. pref("capability.policy.mailnews.HTMLDivElement.getAttribute", "sameOrigin");
  330. pref("capability.policy.mailnews.*.getAttributeNS", "noAccess");
  331. pref("capability.policy.mailnews.*.getNamedItem", "noAccess");
  332. pref("capability.policy.mailnews.*.getNamedItemNS", "noAccess");
  333. pref("capability.policy.mailnews.*.host.get", "noAccess");
  334. pref("capability.policy.mailnews.*.hostname.get", "noAccess");
  335. pref("capability.policy.mailnews.*.href.get", "noAccess");
  336. pref("capability.policy.mailnews.*.innerHTML.get", "noAccess");
  337. pref("capability.policy.mailnews.*.lowSrc.get", "noAccess");
  338. pref("capability.policy.mailnews.*.nodeValue.get", "noAccess");
  339. pref("capability.policy.mailnews.*.pathname.get", "noAccess");
  340. pref("capability.policy.mailnews.*.protocol.get", "noAccess");
  341. pref("capability.policy.mailnews.*.src.get", "noAccess");
  342. pref("capability.policy.mailnews.*.substringData.get", "noAccess");
  343. pref("capability.policy.mailnews.*.text.get", "noAccess");
  344. pref("capability.policy.mailnews.*.title.get", "noAccess");
  345. pref("capability.policy.mailnews.DOMException.toString", "noAccess");
  346. pref("capability.policy.mailnews.HTMLAnchorElement.toString", "noAccess");
  347. pref("capability.policy.mailnews.HTMLDocument.domain", "noAccess");
  348. pref("capability.policy.mailnews.HTMLDocument.URL", "noAccess");
  349. pref("capability.policy.mailnews.Location.toString", "noAccess");
  350. pref("capability.policy.mailnews.Range.toString", "noAccess");
  351. pref("capability.policy.mailnews.Window.blur", "noAccess");
  352. pref("capability.policy.mailnews.Window.focus", "noAccess");
  353. pref("capability.policy.mailnews.Window.innerWidth.set", "noAccess");
  354. pref("capability.policy.mailnews.Window.innerHeight.set", "noAccess");
  355. pref("capability.policy.mailnews.Window.moveBy", "noAccess");
  356. pref("capability.policy.mailnews.Window.moveTo", "noAccess");
  357. pref("capability.policy.mailnews.Window.name.set", "noAccess");
  358. pref("capability.policy.mailnews.Window.outerHeight.set", "noAccess");
  359. pref("capability.policy.mailnews.Window.outerWidth.set", "noAccess");
  360. pref("capability.policy.mailnews.Window.resizeBy", "noAccess");
  361. pref("capability.policy.mailnews.Window.resizeTo", "noAccess");
  362. pref("capability.policy.mailnews.Window.screenX.set", "noAccess");
  363. pref("capability.policy.mailnews.Window.screenY.set", "noAccess");
  364. pref("capability.policy.mailnews.Window.sizeToContent", "noAccess");
  365. pref("capability.policy.mailnews.document.load", "noAccess");
  366. pref("capability.policy.mailnews.XMLHttpRequest.channel", "noAccess");
  367. pref("capability.policy.mailnews.XMLHttpRequest.getInterface", "noAccess");
  368. pref("capability.policy.mailnews.XMLHttpRequest.responseXML", "noAccess");
  369. pref("capability.policy.mailnews.XMLHttpRequest.responseText", "noAccess");
  370. pref("capability.policy.mailnews.XMLHttpRequest.status", "noAccess");
  371. pref("capability.policy.mailnews.XMLHttpRequest.statusText", "noAccess");
  372. pref("capability.policy.mailnews.XMLHttpRequest.abort", "noAccess");
  373. pref("capability.policy.mailnews.XMLHttpRequest.getAllResponseHeaders", "noAccess");
  374. pref("capability.policy.mailnews.XMLHttpRequest.getResponseHeader", "noAccess");
  375. pref("capability.policy.mailnews.XMLHttpRequest.open", "noAccess");
  376. pref("capability.policy.mailnews.XMLHttpRequest.send", "noAccess");
  377. pref("capability.policy.mailnews.XMLHttpRequest.setRequestHeader", "noAccess");
  378. pref("capability.policy.mailnews.XMLHttpRequest.readyState", "noAccess");
  379. pref("capability.policy.mailnews.XMLHttpRequest.overrideMimeType", "noAccess");
  380. pref("capability.policy.mailnews.XMLHttpRequest.onload", "noAccess");
  381. pref("capability.policy.mailnews.XMLHttpRequest.onerror", "noAccess");
  382. pref("capability.policy.mailnews.XMLHttpRequest.onreadystatechange", "noAccess");
  383. pref("capability.policy.mailnews.XMLSerializer.serializeToString", "noAccess");
  384. pref("capability.policy.mailnews.XMLSerializer.serializeToStream", "noAccess");
  385. pref("capability.policy.mailnews.DOMParser.parseFromString", "noAccess");
  386. pref("capability.policy.mailnews.DOMParser.parseFromStream", "noAccess");
  387. pref("capability.policy.mailnews.SOAPCall.transportURI", "noAccess");
  388. pref("capability.policy.mailnews.SOAPCall.verifySourceHeader", "noAccess");
  389. pref("capability.policy.mailnews.SOAPCall.invoke", "noAccess");
  390. pref("capability.policy.mailnews.SOAPCall.asyncInvoke", "noAccess");
  391. pref("capability.policy.mailnews.SOAPResponse.fault", "noAccess");
  392. pref("capability.policy.mailnews.SOAPEncoding.styleURI", "noAccess");
  393. pref("capability.policy.mailnews.SOAPEncoding.getAssociatedEncoding", "noAccess");
  394. pref("capability.policy.mailnews.SOAPEncoding.setEncoder", "noAccess");
  395. pref("capability.policy.mailnews.SOAPEncoding.getEncoder", "noAccess");
  396. pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
  397. pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
  398. pref("capability.policy.mailnews.SOAPEncoding.getDecoder", "noAccess");
  399. pref("capability.policy.mailnews.SOAPEncoding.defaultEncoder", "noAccess");
  400. pref("capability.policy.mailnews.SOAPEncoding.defaultDecoder", "noAccess");
  401. pref("capability.policy.mailnews.SOAPEncoding.schemaCollection", "noAccess");
  402. pref("capability.policy.mailnews.SOAPEncoding.encode", "noAccess");
  403. pref("capability.policy.mailnews.SOAPEncoding.decode", "noAccess");
  404. pref("capability.policy.mailnews.SOAPEncoding.mapSchemaURI", "noAccess");
  405. pref("capability.policy.mailnews.SOAPEncoding.unmapSchemaURI", "noAccess");
  406. pref("capability.policy.mailnews.SOAPEncoding.getInternalSchemaURI", "noAccess");
  407. pref("capability.policy.mailnews.SOAPEncoding.getExternalSchemaURI", "noAccess");
  408. pref("capability.policy.mailnews.SOAPFault.element", "noAccess");
  409. pref("capability.policy.mailnews.SOAPFault.faultNamespaceURI", "noAccess");
  410. pref("capability.policy.mailnews.SOAPFault.faultCode", "noAccess");
  411. pref("capability.policy.mailnews.SOAPFault.faultString", "noAccess");
  412. pref("capability.policy.mailnews.SOAPFault.faultActor", "noAccess");
  413. pref("capability.policy.mailnews.SOAPFault.detail", "noAccess");
  414. pref("capability.policy.mailnews.SOAPHeaderBlock.actorURI", "noAccess");
  415. pref("capability.policy.mailnews.SOAPHeaderBlock.mustUnderstand", "noAccess");
  416. pref("capability.policy.mailnews.SOAPParameter", "noAccess");
  417. pref("capability.policy.mailnews.SOAPPropertyBagMutator.propertyBag", "noAccess");
  418. pref("capability.policy.mailnews.SOAPPropertyBagMutator.addProperty", "noAccess");
  419. pref("capability.policy.mailnews.SchemaLoader.load", "noAccess");
  420. pref("capability.policy.mailnews.SchemaLoader.loadAsync", "noAccess");
  421. pref("capability.policy.mailnews.SchemaLoader.processSchemaElement", "noAccess");
  422. pref("capability.policy.mailnews.SchemaLoader.onLoad", "noAccess");
  423. pref("capability.policy.mailnews.SchemaLoader.onError", "noAccess");
  424. pref("capability.policy.mailnews.WSDLLoader.load", "noAccess");
  425. pref("capability.policy.mailnews.WSDLLoader.loadAsync", "noAccess");
  426. pref("capability.policy.mailnews.WSDLLoader.onLoad", "noAccess");
  427. pref("capability.policy.mailnews.WSDLLoader.onError", "noAccess");
  428. pref("capability.policy.mailnews.WebServiceProxyFactory.createProxy", "noAccess");
  429. pref("capability.policy.mailnews.WebServiceProxyFactory.createProxyAsync", "noAccess");
  430. pref("capability.policy.mailnews.WebServiceProxyFactory.onLoad", "noAccess");
  431. pref("capability.policy.mailnews.WebServiceProxyFactory.onError", "noAccess");
  432.  
  433. // XMLExtras
  434. pref("capability.policy.default.XMLHttpRequest.channel", "noAccess");
  435. pref("capability.policy.default.XMLHttpRequest.getInterface", "noAccess");
  436. pref("capability.policy.default.DOMParser.parseFromStream", "noAccess");
  437.  
  438. // Clipboard
  439. pref("capability.policy.default.Clipboard.cutcopy", "noAccess");
  440. pref("capability.policy.default.Clipboard.paste", "noAccess");
  441.  
  442. // Scripts & Windows prefs
  443. pref("dom.disable_image_src_set",           false);
  444. pref("dom.disable_window_flip",             false);
  445. pref("dom.disable_window_move_resize",      false);
  446. pref("dom.disable_window_status_change",    false);
  447.  
  448. pref("dom.disable_window_open_feature.titlebar",    false);
  449. pref("dom.disable_window_open_feature.close",       false);
  450. pref("dom.disable_window_open_feature.toolbar",     false);
  451. pref("dom.disable_window_open_feature.location",    false);
  452. pref("dom.disable_window_open_feature.directories", false);
  453. pref("dom.disable_window_open_feature.personalbar", false);
  454. pref("dom.disable_window_open_feature.menubar",     false);
  455. pref("dom.disable_window_open_feature.scrollbars",  false);
  456. pref("dom.disable_window_open_feature.resizable",   false);
  457. pref("dom.disable_window_open_feature.minimizable", false);
  458. pref("dom.disable_window_open_feature.status",      true);
  459.  
  460. pref("dom.allow_scripts_to_close_windows",          false);
  461.  
  462. pref("dom.disable_open_during_load",                false);
  463. pref("dom.popup_maximum",                           20);
  464. pref("dom.popup_allowed_events", "change click dblclick mouseup reset submit");
  465. pref("dom.disable_open_click_delay", 1000);
  466.  
  467. pref("dom.storage.enabled", true);
  468.  
  469. // Disable popups from plugins by default
  470. //   0 = openAllowed
  471. //   1 = openControlled
  472. //   2 = openAbused
  473. pref("privacy.popups.disable_from_plugins", 2);
  474.  
  475. pref("dom.event.contextmenu.enabled",       true);
  476.  
  477. pref("javascript.enabled",                  true);
  478. pref("javascript.allow.mailnews",           false);
  479. pref("javascript.options.strict",           false);
  480. pref("javascript.options.relimit",          false);
  481.  
  482. // advanced prefs
  483. pref("security.enable_java",                true);
  484. pref("advanced.mailftp",                    false);
  485. pref("image.animation_mode",                "normal");
  486.  
  487. // If there is ever a security firedrill that requires
  488. // us to block certian ports global, this is the pref 
  489. // to use.  Is is a comma delimited list of port numbers
  490. // for example:
  491. //   pref("network.security.ports.banned", "1,2,3,4,5");
  492. // prevents necko connecting to ports 1-5 unless the protocol
  493. // overrides.
  494.  
  495. // Default action for unlisted external protocol handlers
  496. pref("network.protocol-handler.external-default", true);      // OK to load
  497. pref("network.protocol-handler.warn-external-default", true); // warn before load
  498.  
  499. // Prevent using external protocol handlers for these schemes
  500. pref("network.protocol-handler.external.hcp", false);
  501. pref("network.protocol-handler.external.vbscript", false);
  502. pref("network.protocol-handler.external.javascript", false);
  503. pref("network.protocol-handler.external.data", false);
  504. pref("network.protocol-handler.external.ms-help", false);
  505. pref("network.protocol-handler.external.shell", false);
  506. pref("network.protocol-handler.external.vnd.ms.radio", false);
  507. //@line 513 "/builds/tinderbox/Sb-Trunk/Linux_2.6.9-42.ELsmp_Depend/mozilla/modules/libpref/src/init/all.js"
  508. pref("network.protocol-handler.external.disk", false);
  509. pref("network.protocol-handler.external.disks", false);
  510. pref("network.protocol-handler.external.afp", false);
  511.  
  512. // An exposed protocol handler is one that can be used in all contexts.  A
  513. // non-exposed protocol handler is one that can only be used internally by the
  514. // application.  For example, a non-exposed protocol would not be loaded by the
  515. // application in response to a link click or a X-remote openURL command.
  516. // Instead, it would be deferred to the system's external protocol handler.
  517. // Only internal/built-in protocol handlers can be marked as exposed.
  518.  
  519. // This pref controls the default settings.  Per protocol settings can be used
  520. // to override this value.
  521. pref("network.protocol-handler.expose-all", true);
  522.  
  523. // Example: make IMAP an exposed protocol
  524. // pref("network.protocol-handler.expose.imap", true);
  525.  
  526. pref("network.hosts.smtp_server",           "mail");
  527. pref("network.hosts.pop_server",            "mail");
  528.  
  529. // <http>
  530. pref("network.http.version", "1.1");      // default
  531. // pref("network.http.version", "1.0");   // uncomment this out in case of problems
  532. // pref("network.http.version", "0.9");   // it'll work too if you're crazy
  533. // keep-alive option is effectively obsolete. Nevertheless it'll work with
  534. // some older 1.0 servers:
  535.  
  536. pref("network.http.proxy.version", "1.1");    // default
  537. // pref("network.http.proxy.version", "1.0"); // uncomment this out in case of problems
  538.                                               // (required if using junkbuster proxy)
  539.  
  540. // enable caching of http documents
  541. pref("network.http.use-cache", true);
  542.  
  543. // this preference can be set to override the socket type used for normal
  544. // HTTP traffic.  an empty value indicates the normal TCP/IP socket type.
  545. pref("network.http.default-socket-type", "");
  546.  
  547. pref("network.http.keep-alive", true); // set it to false in case of problems
  548. pref("network.http.proxy.keep-alive", true);
  549. pref("network.http.keep-alive.timeout", 300);
  550.  
  551. // limit the absolute number of http connections.
  552. pref("network.http.max-connections", 24);
  553.  
  554. // limit the absolute number of http connections that can be established per
  555. // host.  if a http proxy server is enabled, then the "server" is the proxy
  556. // server.  Otherwise, "server" is the http origin server.
  557. pref("network.http.max-connections-per-server", 8);
  558.  
  559. // if network.http.keep-alive is true, and if NOT connecting via a proxy, then
  560. // a new connection will only be attempted if the number of active persistent
  561. // connections to the server is less then max-persistent-connections-per-server.
  562. pref("network.http.max-persistent-connections-per-server", 2);
  563.  
  564. // if network.http.keep-alive is true, and if connecting via a proxy, then a
  565. // new connection will only be attempted if the number of active persistent
  566. // connections to the proxy is less then max-persistent-connections-per-proxy.
  567. pref("network.http.max-persistent-connections-per-proxy", 4);
  568.  
  569. // amount of time (in seconds) to suspend pending requests, before spawning a
  570. // new connection, once the limit on the number of persistent connections per
  571. // host has been reached.  however, a new connection will not be created if
  572. // max-connections or max-connections-per-server has also been reached.
  573. pref("network.http.request.max-start-delay", 10);
  574.  
  575. // Headers
  576. pref("network.http.accept.default", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
  577. pref("network.http.sendRefererHeader",      2); // 0=don't send any, 1=send only on clicks, 2=send on image requests as well
  578.  
  579. // Controls whether we send HTTPS referres to other HTTPS sites.
  580. // By default this is enabled for compatibility (see bug 141641)
  581. pref("network.http.sendSecureXSiteReferrer", true);
  582.  
  583. // Maximum number of consecutive redirects before aborting.
  584. pref("network.http.redirection-limit", 20);
  585.  
  586. // Enable http compression: comment this out in case of problems with 1.1
  587. // NOTE: support for "compress" has been disabled per bug 196406.
  588. pref("network.http.accept-encoding" ,"gzip,deflate");
  589.  
  590. pref("network.http.pipelining"      , false);
  591. pref("network.http.proxy.pipelining", false);
  592.  
  593. // Max number of requests in the pipeline
  594. pref("network.http.pipelining.maxrequests" , 4);
  595.  
  596. // </http>
  597.  
  598. // This preference controls whether or not internationalized domain names (IDN)
  599. // are handled.  IDN requires a nsIIDNService implementation.
  600. pref("network.enableIDN", true);
  601.  
  602. // This preference, if true, causes all UTF-8 domain names to be normalized to
  603. // punycode.  The intention is to allow UTF-8 domain names as input, but never
  604. // generate them from punycode.
  605. pref("network.IDN_show_punycode", false);
  606.  
  607. // TLDs with "network.IDN.whitelist.tld" explicitly set to true are treated as 
  608. // IDN-safe. Otherwise, they're treated as unsafe and punycode will be used
  609. // for displaying them in the UI (e.g. URL bar). Note that these preferences
  610. // are referred to ONLY when "network.IDN_show_punycode" is false. In other
  611. // words, all IDNs will be shown in punycode if "network.IDN_show_punycode"
  612. // is true.
  613.  
  614. // ccTLDs
  615. pref("network.IDN.whitelist.ac", true);
  616. pref("network.IDN.whitelist.at", true);
  617. pref("network.IDN.whitelist.br", true);
  618. pref("network.IDN.whitelist.ch", true);
  619. pref("network.IDN.whitelist.cl", true);
  620. pref("network.IDN.whitelist.cn", true);
  621. pref("network.IDN.whitelist.de", true);
  622. pref("network.IDN.whitelist.dk", true);
  623. pref("network.IDN.whitelist.fi", true);
  624. pref("network.IDN.whitelist.gr", true);
  625. pref("network.IDN.whitelist.hu", true);
  626. pref("network.IDN.whitelist.io", true);
  627. pref("network.IDN.whitelist.is", true);
  628. pref("network.IDN.whitelist.jp", true);
  629. pref("network.IDN.whitelist.kr", true);
  630. pref("network.IDN.whitelist.li", true);
  631. pref("network.IDN.whitelist.lt", true);
  632. pref("network.IDN.whitelist.no", true);
  633. pref("network.IDN.whitelist.se", true);
  634. pref("network.IDN.whitelist.sh", true);
  635. pref("network.IDN.whitelist.th", true);
  636. pref("network.IDN.whitelist.tm", true);
  637. pref("network.IDN.whitelist.tw", true);
  638. pref("network.IDN.whitelist.vn", true);
  639.  
  640. // non-ccTLDs
  641. pref("network.IDN.whitelist.biz", true);
  642. pref("network.IDN.whitelist.cat", true);
  643. pref("network.IDN.whitelist.info", true);
  644. pref("network.IDN.whitelist.museum", true);
  645. pref("network.IDN.whitelist.org", true);
  646.  
  647. // If a domain includes any of the following characters, it may be a spoof 
  648. // attempt and so we always display the domain name as punycode. This would 
  649. // override the settings "network.IDN_show_punycode" and 
  650. // "network.IDN.whitelist.*".
  651. pref("network.IDN.blacklist_chars", "\u0020\u00A0\u00BC\u00BD\u01C3\u0337\u0338\u05C3\u05F4\u06D4\u0702\u115F\u1160\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u200B\u2024\u2027\u2028\u2029\u202F\u2039\u203A\u2044\u205F\u2154\u2155\u2156\u2159\u215A\u215B\u215F\u2215\u23AE\u29F6\u29F8\u2AFB\u2AFD\u2FF0\u2FF1\u2FF2\u2FF3\u2FF4\u2FF5\u2FF6\u2FF7\u2FF8\u2FF9\u2FFA\u2FFB\u3000\u3002\u3014\u3015\u3033\u3164\u321D\u321E\u33AE\u33AF\u33C6\u33DF\uFE14\uFE15\uFE3F\uFE5D\uFE5E\uFEFF\uFF0E\uFF0F\uFF61\uFFA0\uFFF9\uFFFA\uFFFB\uFFFC\uFFFD");
  652.  
  653. // This preference specifies a list of domains for which DNS lookups will be
  654. // IPv4 only. Works around broken DNS servers which can't handle IPv6 lookups
  655. // and/or allows the user to disable IPv6 on a per-domain basis. See bug 68796.
  656. pref("network.dns.ipv4OnlyDomains", ".doubleclick.net");
  657.  
  658. // This preference can be used to turn off IPv6 name lookups. See bug 68796.
  659. pref("network.dns.disableIPv6", false);
  660.  
  661. // This preference controls whether or not URLs with UTF-8 characters are
  662. // escaped.  Set this preference to TRUE for strict RFC2396 conformance.
  663. pref("network.standard-url.escape-utf8", true);
  664.  
  665. // This preference controls whether or not URLs are always encoded and sent as
  666. // UTF-8.
  667. pref("network.standard-url.encode-utf8", true);
  668.  
  669. // This preference controls whether or not queries are encoded and sent as
  670. // UTF-8.
  671. pref("network.standard-url.encode-query-utf8", false);
  672.  
  673. // Idle timeout for ftp control connections - 5 minute default
  674. pref("network.ftp.idleConnectionTimeout", 300);
  675.  
  676. // directory listing format
  677. // 2: HTML
  678. // 3: XUL directory viewer
  679. // all other values are treated like 2
  680. pref("network.dir.format", 2);
  681.  
  682. // enables the prefetch service (i.e., prefetching of <link rel="next"> URLs).
  683. pref("network.prefetch-next", true);
  684.  
  685.  
  686. // The following prefs pertain to the negotiate-auth extension (see bug 17578),
  687. // which provides transparent Kerberos or NTLM authentication using the SPNEGO
  688. // protocol.  Each pref is a comma-separated list of keys, where each key has
  689. // the format:
  690. //   [scheme "://"] [host [":" port]]
  691. // For example, "foo.com" would match "http://www.foo.com/bar", etc.
  692.  
  693. // This list controls which URIs can use the negotiate-auth protocol.  This
  694. // list should be limited to the servers you know you'll need to login to.
  695. pref("network.negotiate-auth.trusted-uris", "");
  696. // This list controls which URIs can support delegation.
  697. pref("network.negotiate-auth.delegation-uris", "");
  698.  
  699. // Allow SPNEGO by default when challenged by a proxy server.
  700. pref("network.negotiate-auth.allow-proxies", true);
  701.  
  702. // Path to a specific gssapi library
  703. pref("network.negotiate-auth.gsslib", "");
  704.  
  705. // Specify if the gss lib comes standard with the OS
  706. pref("network.negotiate-auth.using-native-gsslib", true);
  707.  
  708. //@line 719 "/builds/tinderbox/Sb-Trunk/Linux_2.6.9-42.ELsmp_Depend/mozilla/modules/libpref/src/init/all.js"
  709.  
  710. // The following prefs are used to enable automatic use of the operating
  711. // system's NTLM implementation to silently authenticate the user with their
  712. // Window's domain logon.  The trusted-uris pref follows the format of the
  713. // trusted-uris pref for negotiate authentication.
  714. pref("network.automatic-ntlm-auth.allow-proxies", true);
  715. pref("network.automatic-ntlm-auth.trusted-uris", "");
  716.  
  717. // This preference controls whether or not the LM hash will be included in
  718. // response to a NTLM challenge.  By default, this is disabled since servers
  719. // should almost never need the LM hash, and the LM hash is what makes NTLM
  720. // authentication less secure.  See bug 250691 for further details.
  721. // NOTE: automatic-ntlm-auth which leverages the OS-provided NTLM
  722. //       implementation will not be affected by this preference.
  723. pref("network.ntlm.send-lm-response", false);
  724.  
  725. // sspitzer:  change this back to "news" when we get to beta.
  726. // for now, set this to news.mozilla.org because you can only
  727. // post to the server specified by this pref.
  728. pref("network.hosts.nntp_server",           "news.mozilla.org");
  729.  
  730. pref("permissions.default.image",           1); // 1-Accept, 2-Deny, 3-dontAcceptForeign
  731. pref("network.proxy.type",                  0);
  732. pref("network.proxy.ftp",                   "");
  733. pref("network.proxy.ftp_port",              0);
  734. pref("network.proxy.gopher",                "");
  735. pref("network.proxy.gopher_port",           0);
  736. pref("network.proxy.http",                  "");
  737. pref("network.proxy.http_port",             0);
  738. pref("network.proxy.ssl",                   "");
  739. pref("network.proxy.ssl_port",              0);
  740. pref("network.proxy.socks",                 "");
  741. pref("network.proxy.socks_port",            0);
  742. pref("network.proxy.socks_version",         5);
  743. pref("network.proxy.socks_remote_dns",      false);
  744. pref("network.proxy.no_proxies_on",         "localhost, 127.0.0.1");
  745. pref("network.proxy.failover_timeout",      1800); // 30 minutes
  746. pref("network.online",                      true); //online/offline
  747. pref("network.cookie.cookieBehavior",       0); // 0-Accept, 1-dontAcceptForeign, 2-dontUse, 3-p3p
  748. pref("network.cookie.disableCookieForMailNews", true); // disable all cookies for mail
  749. pref("network.cookie.lifetimePolicy",       0); // accept normally, 1-askBeforeAccepting, 2-acceptForSession,3-acceptForNDays
  750. pref("network.cookie.alwaysAcceptSessionCookies", false);
  751. pref("network.cookie.prefsMigrated",        false);
  752. pref("network.cookie.lifetime.days",        90);
  753.  
  754. // The PAC file to load.  Ignored unless network.proxy.type is 2.
  755. pref("network.proxy.autoconfig_url", "");
  756.  
  757. // If we cannot load the PAC file, then try again (doubling from interval_min
  758. // until we reach interval_max or the PAC file is successfully loaded).
  759. pref("network.proxy.autoconfig_retry_interval_min", 5);    // 5 seconds
  760. pref("network.proxy.autoconfig_retry_interval_max", 300);  // 5 minutes
  761.  
  762. // The following default value is for p3p medium mode.
  763. // See xpfe/components/permissions/content/cookieP3P.xul for the definitions of low/medium/hi
  764. pref("network.cookie.p3p",                  "ffffaaaa");
  765. pref("network.cookie.p3plevel",             1); // 0=low, 1=medium, 2=high, 3=custom
  766.  
  767. pref("converter.html2txt.structs",          true); // Output structured phrases (strong, em, code, sub, sup, b, i, u)
  768. pref("converter.html2txt.header_strategy",  1); // 0 = no indention; 1 = indention, increased with header level; 2 = numbering and slight indention
  769.  
  770. pref("intl.accept_languages",               "chrome://navigator/locale/navigator.properties");
  771. pref("intl.accept_charsets",                "iso-8859-1,*,utf-8");
  772. pref("intl.collationOption",                "chrome://navigator-platform/locale/navigator.properties");
  773. pref("intl.menuitems.alwaysappendaccesskeys","chrome://navigator/locale/navigator.properties");
  774. pref("intl.menuitems.insertseparatorbeforeaccesskeys","chrome://navigator/locale/navigator.properties");
  775. pref("intl.charsetmenu.browser.static",     "chrome://navigator/locale/navigator.properties");
  776. pref("intl.charsetmenu.browser.more1",      "chrome://navigator/locale/navigator.properties");
  777. pref("intl.charsetmenu.browser.more2",      "chrome://navigator/locale/navigator.properties");
  778. pref("intl.charsetmenu.browser.more3",      "chrome://navigator/locale/navigator.properties");
  779. pref("intl.charsetmenu.browser.more4",      "chrome://navigator/locale/navigator.properties");
  780. pref("intl.charsetmenu.browser.more5",      "chrome://navigator/locale/navigator.properties");
  781. pref("intl.charsetmenu.browser.unicode",    "chrome://navigator/locale/navigator.properties");
  782. pref("intl.charsetmenu.mailedit",           "chrome://navigator/locale/navigator.properties");
  783. pref("intl.charsetmenu.browser.cache",      "");
  784. pref("intl.charsetmenu.mailview.cache",     "");
  785. pref("intl.charsetmenu.composer.cache",     "");
  786. pref("intl.charsetmenu.browser.cache.size", 5);
  787. pref("intl.charset.detector",               "chrome://navigator/locale/navigator.properties");
  788. pref("intl.charset.default",                "chrome://navigator-platform/locale/navigator.properties");
  789. pref("intl.content.langcode",               "chrome://communicator-region/locale/region.properties");
  790. pref("intl.locale.matchOS",                 false);
  791. // fallback charset list for Unicode conversion (converting from Unicode)
  792. // currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes)
  793. // for ISO-8859-1
  794. pref("intl.fallbackCharsetList.ISO-8859-1", "windows-1252");
  795. pref("font.language.group",                 "chrome://navigator/locale/navigator.properties");
  796.  
  797. pref("images.dither", "auto");
  798. pref("security.directory",              "");
  799.  
  800. pref("signed.applets.codebase_principal_support", false);
  801. pref("security.checkloaduri", true);
  802. pref("security.xpconnect.plugin.unrestricted", true);
  803. // security-sensitive dialogs should delay button enabling. In milliseconds.
  804. pref("security.dialog_enable_delay", 2000);
  805.  
  806. // Modifier key prefs: default to Windows settings,
  807. // menu access key = alt, accelerator key = control.
  808. // Use 17 for Ctrl, 18 for Alt, 224 for Meta, 0 for none. Mac settings in macprefs.js
  809. pref("ui.key.accelKey", 17);
  810. pref("ui.key.menuAccessKey", 18);
  811. pref("ui.key.generalAccessKey", -1);
  812.  
  813. // If generalAccessKey is -1, use the following two prefs instead.
  814. // Use 0 for disabled, 1 for Shift, 2 for Ctrl, 4 for Alt, 8 for Meta
  815. // (values can be combined, e.g. 5 for Alt+Shift)
  816. pref("ui.key.chromeAccess", 4);
  817. pref("ui.key.contentAccess", 5);
  818.  
  819. pref("ui.key.menuAccessKeyFocuses", false); // overridden below
  820. pref("ui.key.saveLink.shift", true); // true = shift, false = meta
  821.  
  822. // Middle-mouse handling
  823. pref("middlemouse.paste", false);
  824. pref("middlemouse.openNewWindow", true);
  825. pref("middlemouse.contentLoadURL", false);
  826. pref("middlemouse.scrollbarPosition", false);
  827.  
  828. // Clipboard behavior
  829. pref("clipboard.autocopy", false);
  830.  
  831. // mouse wheel scroll transaction period of time (in milliseconds)
  832. pref("mousewheel.transaction.timeout", 1500);
  833. // mouse wheel scroll transaction is held even if the mouse cursor is moved.
  834. pref("mousewheel.transaction.ignoremovedelay", 100);
  835.  
  836. // 0=lines, 1=pages, 2=history , 3=text size
  837. pref("mousewheel.withnokey.action",0);
  838. pref("mousewheel.withnokey.numlines",1);    
  839. pref("mousewheel.withnokey.sysnumlines",true);
  840. pref("mousewheel.withcontrolkey.action",0);
  841. pref("mousewheel.withcontrolkey.numlines",1);
  842. pref("mousewheel.withcontrolkey.sysnumlines",true);
  843. // mousewheel.withshiftkey, see the Mac note below.
  844. pref("mousewheel.withshiftkey.action",0);
  845. pref("mousewheel.withshiftkey.numlines",1);
  846. pref("mousewheel.withshiftkey.sysnumlines",true);
  847. pref("mousewheel.withaltkey.action",2);
  848. pref("mousewheel.withaltkey.numlines",1);
  849. pref("mousewheel.withaltkey.sysnumlines",false);
  850. pref("mousewheel.withmetakey.action",0);
  851. pref("mousewheel.withmetakey.numlines",1);
  852. pref("mousewheel.withmetakey.sysnumlines",true);
  853.  
  854. // on platforms where scroll messages differ between horizontal scroll
  855. // and back/forward button events we can activate them by default
  856. //@line 901 "/builds/tinderbox/Sb-Trunk/Linux_2.6.9-42.ELsmp_Depend/mozilla/modules/libpref/src/init/all.js"
  857. // disable horizontal scrolling to be able to use back/forward buttons
  858. pref("mousewheel.horizscroll.withnokey.action",2);
  859. pref("mousewheel.horizscroll.withnokey.numlines",-1);
  860. pref("mousewheel.horizscroll.withnokey.sysnumlines",false);
  861. pref("mousewheel.horizscroll.withcontrolkey.action",2);
  862. pref("mousewheel.horizscroll.withcontrolkey.numlines",-1);
  863. pref("mousewheel.horizscroll.withcontrolkey.sysnumlines",false);
  864. pref("mousewheel.horizscroll.withshiftkey.action",2);
  865. pref("mousewheel.horizscroll.withshiftkey.numlines",-1);
  866. pref("mousewheel.horizscroll.withshiftkey.sysnumlines",false);
  867. pref("mousewheel.horizscroll.withaltkey.action",2);
  868. pref("mousewheel.horizscroll.withaltkey.numlines",-1);
  869. pref("mousewheel.horizscroll.withaltkey.sysnumlines",false);
  870. pref("mousewheel.horizscroll.withmetakey.action",2);
  871. pref("mousewheel.horizscroll.withmetakey.numlines",-1);
  872. pref("mousewheel.horizscroll.withmetakey.sysnumlines",false);
  873. //@line 918 "/builds/tinderbox/Sb-Trunk/Linux_2.6.9-42.ELsmp_Depend/mozilla/modules/libpref/src/init/all.js"
  874.  
  875. pref("profile.confirm_automigration",true);
  876. // profile.migration_behavior determines how the profiles root is set
  877. // 0 - use NS_APP_USER_PROFILES_ROOT_DIR
  878. // 1 - create one based on the NS4.x profile root
  879. // 2 - use, if not empty, profile.migration_directory otherwise same as 0
  880. pref("profile.migration_behavior",0);
  881. pref("profile.migration_directory", "");
  882.  
  883. // the amount of time (in seconds) that must elapse
  884. // before we think your mozilla profile is defunct
  885. // and you'd benefit from re-migrating from 4.x
  886. // see bug #137886 for more details
  887. //
  888. // if -1, we never think your profile is defunct
  889. // and users will never see the remigrate UI.
  890. pref("profile.seconds_until_defunct", -1);
  891. // We can show it anytime from menus
  892. pref("profile.manage_only_at_launch", false);
  893.  
  894. pref("prefs.converted-to-utf8",false);
  895.  
  896. // --------------------------------------------------
  897. // IBMBIDI 
  898. // --------------------------------------------------
  899. //
  900. // ------------------
  901. //  Text Direction
  902. // ------------------
  903. // 1 = directionLTRBidi *
  904. // 2 = directionRTLBidi
  905. pref("bidi.direction", 1);
  906. // ------------------
  907. //  Text Type
  908. // ------------------
  909. // 1 = charsettexttypeBidi *
  910. // 2 = logicaltexttypeBidi
  911. // 3 = visualtexttypeBidi
  912. pref("bidi.texttype", 1);
  913. // ------------------
  914. //  Controls Text Mode
  915. // ------------------
  916. // 1 = logicalcontrolstextmodeBidiCmd
  917. // 2 = visualcontrolstextmodeBidi <-- NO LONGER SUPPORTED
  918. // 3 = containercontrolstextmodeBidi *
  919. pref("bidi.controlstextmode", 1);
  920. // ------------------
  921. //  Numeral Style
  922. // ------------------
  923. // 0 = nominalnumeralBidi *
  924. // 1 = regularcontextnumeralBidi
  925. // 2 = hindicontextnumeralBidi
  926. // 3 = arabicnumeralBidi
  927. // 4 = hindinumeralBidi
  928. pref("bidi.numeral", 0);
  929. // ------------------
  930. //  Support Mode
  931. // ------------------
  932. // 1 = mozillaBidisupport *
  933. // 2 = OsBidisupport
  934. // 3 = disableBidisupport
  935. pref("bidi.support", 1);
  936. // ------------------
  937. //  Charset Mode
  938. // ------------------
  939. // 1 = doccharactersetBidi *
  940. // 2 = defaultcharactersetBidi
  941. pref("bidi.characterset", 1);
  942. // Whether delete and backspace should immediately delete characters not
  943. // visually adjacent to the caret, or adjust the visual position of the caret
  944. // on the first keypress and delete the character on a second keypress
  945. pref("bidi.edit.delete_immediately", false);
  946.  
  947. // Bidi caret movement style:
  948. // 0 = logical
  949. // 1 = visual
  950. // 2 = visual, but logical during selection
  951. pref("bidi.edit.caret_movement_style", 2);
  952.  
  953. // used for double-click word selection behavior. Win will override.
  954. pref("layout.word_select.eat_space_to_next_word", false);
  955. pref("layout.word_select.stop_at_punctuation", true);
  956.  
  957. // controls caret style and word-delete during text selection
  958. // 0 = use platform default
  959. // 1 = caret moves and blinks as when there is no selection; word
  960. //     delete deselects the selection and then deletes word (Windows default)
  961. // 2 = caret moves to selection edge and is not visible during selection; 
  962. //     word delete deletes the selection (Mac default)
  963. // 3 = caret moves and blinks as when there is no selection; word delete
  964. //     deletes the selection (Unix default)
  965. pref("layout.selection.caret_style", 0);
  966.  
  967. // pref to control whether or not to replace backslashes with Yen signs
  968. // in documents encoded in one of Japanese legacy encodings (EUC-JP, 
  969. // Shift_JIS, ISO-2022-JP)
  970. pref("layout.enable_japanese_specific_transform", false);
  971.  
  972. // pref to force frames to be resizable
  973. pref("layout.frames.force_resizability", false);
  974.  
  975. // pref to report CSS errors to the error console
  976. pref("layout.css.report_errors", true);
  977.  
  978. // pref for which side vertical scrollbars should be on
  979. // 0 = end-side in UI direction
  980. // 1 = end-side in document/content direction
  981. // 2 = right
  982. // 3 = left
  983. pref("layout.scrollbar.side", 0);
  984.  
  985. // pref to permit users to make verified SOAP calls by default
  986. pref("capability.policy.default.SOAPCall.invokeVerifySourceHeader", "allAccess");
  987.  
  988. // if true, allow plug-ins to override internal imglib decoder mime types in full-page mode
  989. pref("plugin.override_internal_types", false);
  990. pref("plugin.expose_full_path", false); // if true navigator.plugins reveals full path
  991.  
  992. // See bug 136985.  Gives embedders a pref to hook into to show
  993. // a popup blocker if they choose.
  994. pref("browser.popups.showPopupBlocker", true);
  995.  
  996. // Pref to control whether the viewmanager code does double-buffering or not
  997. // See http://bugzilla.mozilla.org/show_bug.cgi?id=169483 for further details...
  998. pref("viewmanager.do_doublebuffering", true);
  999.  
  1000. // which files will be selected for roaming by default.
  1001. // See sroaming/content/prefs/all.js
  1002. pref("roaming.default.files", "bookmarks.html,abook.mab,cookies.txt");
  1003. // display some general warning to the user about making backups, security etc.
  1004. pref("roaming.showInitialWarning", true);
  1005.  
  1006. // whether use prefs from system
  1007. pref("config.use_system_prefs", false);
  1008.  
  1009. // if the system has enabled accessibility
  1010. pref("config.use_system_prefs.accessibility", false);
  1011.  
  1012. /*
  1013.  * What are the entities that you want Mozilla to save using mnemonic
  1014.  * names rather than numeric codes? E.g. If set, we'll output  
  1015.  * otherwise, we may output 0xa0 depending on the charset.
  1016.  *
  1017.  * "none"   : don't use any entity names; only use numeric codes.
  1018.  * "basic"  : use entity names just for   & < > " for 
  1019.  *            interoperability/exchange with products that don't support more
  1020.  *            than that.
  1021.  * "latin1" : use entity names for 8bit accented letters and other special
  1022.  *            symbols between 128 and 255.
  1023.  * "html"   : use entity names for 8bit accented letters, greek letters, and
  1024.  *            other special markup symbols as defined in HTML4.
  1025.  */
  1026. //pref("editor.encode_entity",                 "html");
  1027.  
  1028. pref("editor.resizing.preserve_ratio",       true);
  1029. pref("editor.positioning.offset",            0);
  1030.  
  1031. pref("dom.max_chrome_script_run_time", 20);
  1032. pref("dom.max_script_run_time", 10);
  1033.  
  1034. pref("svg.enabled", true);
  1035.  
  1036. //@line 1414 "/builds/tinderbox/Sb-Trunk/Linux_2.6.9-42.ELsmp_Depend/mozilla/modules/libpref/src/init/all.js"
  1037.  
  1038. //@line 1606 "/builds/tinderbox/Sb-Trunk/Linux_2.6.9-42.ELsmp_Depend/mozilla/modules/libpref/src/init/all.js"
  1039.  
  1040. //@line 1792 "/builds/tinderbox/Sb-Trunk/Linux_2.6.9-42.ELsmp_Depend/mozilla/modules/libpref/src/init/all.js"
  1041.  
  1042. //@line 1883 "/builds/tinderbox/Sb-Trunk/Linux_2.6.9-42.ELsmp_Depend/mozilla/modules/libpref/src/init/all.js"
  1043.  
  1044. //@line 1886 "/builds/tinderbox/Sb-Trunk/Linux_2.6.9-42.ELsmp_Depend/mozilla/modules/libpref/src/init/all.js"
  1045. // Handled differently under Mac/Windows
  1046. pref("network.hosts.smtp_server", "localhost");
  1047. pref("network.hosts.pop_server", "pop");
  1048. pref("network.protocol-handler.warn-external.file", false);
  1049. pref("layout.css.dpi", -1); // max(96dpi, System setting)
  1050. pref("browser.drag_out_of_frame_style", 1);
  1051. pref("editor.singleLine.pasteNewlines", 0);
  1052.  
  1053. // Middle-mouse handling
  1054. pref("middlemouse.paste", true);
  1055. pref("middlemouse.contentLoadURL", true);
  1056. pref("middlemouse.openNewWindow", true);
  1057. pref("middlemouse.scrollbarPosition", true);
  1058.  
  1059. // Clipboard behavior
  1060. pref("clipboard.autocopy", true);
  1061.  
  1062. pref("browser.urlbar.clickSelectsAll", false);
  1063.  
  1064. // Tab focus model bit field:
  1065. // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
  1066. // Leave this at the default, 7, to match mozilla1.0-era user expectations.
  1067. // pref("accessibility.tabfocus", 1);
  1068.  
  1069. // override double-click word selection behavior.
  1070. pref("layout.word_select.stop_at_punctuation", false);
  1071.  
  1072. // autocomplete keyboard grab workaround
  1073. pref("autocomplete.grab_during_popup", true);
  1074. pref("autocomplete.ungrab_during_mode_switch", true);
  1075.  
  1076. // Default to using the system filepicker if possible, but allow
  1077. // toggling to use the XUL filepicker
  1078. pref("ui.allow_platform_file_picker", true);
  1079.  
  1080. pref("helpers.global_mime_types_file", "/etc/mime.types");
  1081. pref("helpers.global_mailcap_file", "/etc/mailcap");
  1082. pref("helpers.private_mime_types_file", "~/.mime.types");
  1083. pref("helpers.private_mailcap_file", "~/.mailcap");
  1084. pref("java.global_java_version_file", "/etc/.java/versions");
  1085. pref("java.private_java_version_file", "~/.java/versions");
  1086. pref("java.default_java_location_solaris", "/usr/j2se");
  1087. pref("java.default_java_location_others", "/usr/java");
  1088. pref("java.java_plugin_library_name", "javaplugin_oji");
  1089. pref("applications.telnet", "xterm -e telnet %h %p");
  1090. pref("applications.tn3270", "xterm -e tn3270 %h");
  1091. pref("applications.rlogin", "xterm -e rlogin %h");
  1092. pref("applications.rlogin_with_user", "xterm -e rlogin %h -l %u");
  1093. pref("print.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
  1094. pref("print.printer_list", ""); // list of printers, separated by spaces
  1095. pref("print.print_reversed", false);
  1096. pref("print.print_color", true);
  1097. pref("print.print_landscape", false);
  1098. pref("print.print_paper_size", 0);
  1099.  
  1100. // Enables you to specify the gap from the edge of the paper to the margin
  1101. // this is used by both Printing and Print Preview
  1102. pref("print.print_edge_top", 4); // 1/100 of an inch
  1103. pref("print.print_edge_left", 4); // 1/100 of an inch
  1104. pref("print.print_edge_right", 4); // 1/100 of an inch
  1105. pref("print.print_edge_bottom", 4); // 1/100 of an inch
  1106.  
  1107. // print_extra_margin enables platforms to specify an extra gap or margin
  1108. // around the content of the page for Print Preview only
  1109. pref("print.print_extra_margin", 0); // twips
  1110.  
  1111. pref("print.whileInPrintPreview", false);
  1112.  
  1113. pref("font.allow_double_byte_special_chars", true);
  1114. // font names
  1115.  
  1116. pref("font.alias-list", "sans,sans-serif,serif,monospace");
  1117.  
  1118. // ar
  1119.  
  1120. //@line 1962 "/builds/tinderbox/Sb-Trunk/Linux_2.6.9-42.ELsmp_Depend/mozilla/modules/libpref/src/init/all.js"
  1121.  
  1122. pref("font.name.serif.el", "serif");
  1123. pref("font.name.sans-serif.el", "sans-serif");
  1124. pref("font.name.monospace.el", "monospace");
  1125.  
  1126. pref("font.name.serif.he", "serif");
  1127. pref("font.name.sans-serif.he", "sans-serif");
  1128. pref("font.name.monospace.he", "monospace");
  1129.  
  1130. pref("font.name.serif.ja", "serif");
  1131. pref("font.name.sans-serif.ja", "sans-serif");
  1132. pref("font.name.monospace.ja", "monospace");
  1133.  
  1134. pref("font.name.serif.ko", "serif");
  1135. pref("font.name.sans-serif.ko", "sans-serif");
  1136. pref("font.name.monospace.ko", "monospace");
  1137.  
  1138. // th
  1139.  
  1140. pref("font.name.serif.tr", "Times");
  1141. pref("font.name.sans-serif.tr", "Helvetica");
  1142. pref("font.name.monospace.tr", "Courier");
  1143.  
  1144. pref("font.name.serif.x-baltic", "serif");
  1145. pref("font.name.sans-serif.x-baltic", "sans-serif");
  1146. pref("font.name.monospace.x-baltic", "monospace");
  1147.  
  1148. pref("font.name.serif.x-central-euro", "Times");
  1149. pref("font.name.sans-serif.x-central-euro", "Helvetica");
  1150. pref("font.name.monospace.x-central-euro", "Courier");
  1151.  
  1152. pref("font.name.serif.x-cyrillic", "serif");
  1153. pref("font.name.sans-serif.x-cyrillic", "sans-serif");
  1154. pref("font.name.monospace.x-cyrillic", "monospace");
  1155.  
  1156. pref("font.name.serif.x-unicode", "Times");
  1157. pref("font.name.sans-serif.x-unicode", "Helvetica");
  1158. pref("font.name.monospace.x-unicode", "Courier");
  1159.  
  1160. pref("font.name.serif.x-user-def", "Times");
  1161. pref("font.name.sans-serif.x-user-def", "Helvetica");
  1162. pref("font.name.monospace.x-user-def", "Courier");
  1163.  
  1164. pref("font.name.serif.x-western", "Times");
  1165. pref("font.name.sans-serif.x-western", "Helvetica");
  1166. pref("font.name.monospace.x-western", "Courier");
  1167.  
  1168. pref("font.name.serif.zh-CN", "serif");
  1169. pref("font.name.sans-serif.zh-CN", "sans-serif");
  1170. pref("font.name.monospace.zh-CN", "monospace");
  1171.  
  1172. // ming_uni.ttf (HKSCS-2001) 
  1173. // http://www.info.gov.hk/digital21/eng/hkscs/download/uime.exe
  1174. pref("font.name.serif.zh-HK", "serif");
  1175. pref("font.name.sans-serif.zh-HK", "sans-serif");
  1176. pref("font.name.monospace.zh-HK", "monospace");
  1177.  
  1178. // zh-TW
  1179. //@line 2081 "/builds/tinderbox/Sb-Trunk/Linux_2.6.9-42.ELsmp_Depend/mozilla/modules/libpref/src/init/all.js"
  1180.  
  1181. pref("font.default.ar", "sans-serif");
  1182. pref("font.size.variable.ar", 16);
  1183. pref("font.size.fixed.ar", 12);
  1184.  
  1185. pref("font.default.el", "serif");
  1186. pref("font.size.variable.el", 16);
  1187. pref("font.size.fixed.el", 12);
  1188.  
  1189. pref("font.default.he", "sans-serif");
  1190. pref("font.size.variable.he", 16);
  1191. pref("font.size.fixed.he", 12);
  1192.  
  1193. pref("font.default.ja", "sans-serif");
  1194. pref("font.size.variable.ja", 16);
  1195. pref("font.size.fixed.ja", 16);
  1196.  
  1197. pref("font.default.ko", "sans-serif");
  1198. pref("font.size.variable.ko", 16);
  1199. pref("font.size.fixed.ko", 16);
  1200.  
  1201. pref("font.default.th", "serif");
  1202. pref("font.size.variable.th", 16);
  1203. pref("font.size.fixed.th", 12);
  1204.  
  1205. pref("font.default.tr", "serif");
  1206. pref("font.size.variable.tr", 16);
  1207. pref("font.size.fixed.tr", 12);
  1208.  
  1209. pref("font.default.x-baltic", "serif");
  1210. pref("font.size.variable.x-baltic", 16);
  1211. pref("font.size.fixed.x-baltic", 12);
  1212.  
  1213. pref("font.default.x-central-euro", "serif");
  1214. pref("font.size.variable.x-central-euro", 16);
  1215. pref("font.size.fixed.x-central-euro", 12);
  1216.  
  1217. pref("font.default.x-cyrillic", "serif");
  1218. pref("font.size.variable.x-cyrillic", 16);
  1219. pref("font.size.fixed.x-cyrillic", 12);
  1220.  
  1221. pref("font.default.x-unicode", "serif");
  1222. pref("font.size.variable.x-unicode", 16);
  1223. pref("font.size.fixed.x-unicode", 12);
  1224.  
  1225. pref("font.default.x-western", "serif");
  1226. pref("font.size.variable.x-western", 16);
  1227. pref("font.size.fixed.x-western", 12);
  1228.  
  1229. pref("font.default.zh-CN", "sans-serif");
  1230. pref("font.size.variable.zh-CN", 16);
  1231. pref("font.size.fixed.zh-CN", 16);
  1232.  
  1233. pref("font.default.zh-TW", "sans-serif");
  1234. pref("font.size.variable.zh-TW", 16);
  1235. pref("font.size.fixed.zh-TW", 16);
  1236.  
  1237. pref("font.default.zh-HK", "sans-serif");
  1238. pref("font.size.variable.zh-HK", 16);
  1239. pref("font.size.fixed.zh-HK", 16);
  1240.  
  1241. // below a certian pixel size outline scaled fonts produce poor results
  1242. pref("font.scale.outline.min",      6);
  1243.  
  1244. // TrueType
  1245. pref("font.FreeType2.enable", false);
  1246. pref("font.freetype2.shared-library", "libfreetype.so.6");
  1247. // if libfreetype was built without hinting compiled in
  1248. // it is best to leave hinting off
  1249. pref("font.FreeType2.autohinted", false);
  1250. pref("font.FreeType2.unhinted", true);
  1251. // below a certian pixel size anti-aliased fonts produce poor results
  1252. pref("font.antialias.min",        10);
  1253. pref("font.embedded_bitmaps.max", 1000000);
  1254. pref("font.scale.tt_bitmap.dark_text.min", 64);
  1255. pref("font.scale.tt_bitmap.dark_text.gain", "0.8");
  1256. // sample prefs for TrueType font dirs
  1257. //pref("font.directory.truetype.1", "/u/sam/tt_font1");
  1258. //pref("font.directory.truetype.2", "/u/sam/tt_font2");
  1259. //pref("font.directory.truetype.3", "/u/sam/tt_font3");
  1260. pref("font.FreeType2.printing", true);
  1261.  
  1262. // below a certian pixel size anti-aliased bitmat scaled fonts 
  1263. // produce poor results
  1264. pref("font.scale.aa_bitmap.enable", true);
  1265. pref("font.scale.aa_bitmap.always", false);
  1266. pref("font.scale.aa_bitmap.min", 6);
  1267. pref("font.scale.aa_bitmap.undersize", 80);
  1268. pref("font.scale.aa_bitmap.oversize", 120);
  1269. pref("font.scale.aa_bitmap.dark_text.min", 64);
  1270. pref("font.scale.aa_bitmap.dark_text.gain", "0.5");
  1271. pref("font.scale.aa_bitmap.light_text.min", 64);
  1272. pref("font.scale.aa_bitmap.light_text.gain", "1.3");
  1273.  
  1274. pref("font.scale.bitmap.min",       12);
  1275. pref("font.scale.bitmap.undersize", 80);
  1276. pref("font.scale.bitmap.oversize",  120);
  1277.  
  1278. pref("font.scale.outline.min.ja",      10);
  1279. pref("font.scale.aa_bitmap.min.ja",    12);
  1280. pref("font.scale.aa_bitmap.always.ja", false);
  1281. pref("font.scale.bitmap.min.ja",       16);
  1282. pref("font.scale.bitmap.undersize.ja", 80);
  1283. pref("font.scale.bitmap.oversize.ja",  120);
  1284.  
  1285. pref("font.scale.outline.min.ko",      10);
  1286. pref("font.scale.aa_bitmap.min.ko",    12);
  1287. pref("font.scale.aa_bitmap.always.ko", false);
  1288. pref("font.scale.bitmap.min.ko",       16);
  1289. pref("font.scale.bitmap.undersize.ko", 80);
  1290. pref("font.scale.bitmap.oversize.ko",  120);
  1291.  
  1292. pref("font.scale.outline.min.zh-CN",      10);
  1293. pref("font.scale.aa_bitmap.min.zh-CN",    12);
  1294. pref("font.scale.aa_bitmap.always.zh-CN", false);
  1295. pref("font.scale.bitmap.min.zh-CN",       16);
  1296. pref("font.scale.bitmap.undersize.zh-CN", 80);
  1297. pref("font.scale.bitmap.oversize.zh-CN",  120);
  1298.  
  1299. pref("font.scale.outline.min.zh-TW",      10);
  1300. pref("font.scale.aa_bitmap.min.zh-TW",    12);
  1301. pref("font.scale.aa_bitmap.always.zh-TW", false);
  1302. pref("font.scale.bitmap.min.zh-TW",       16);
  1303. pref("font.scale.bitmap.undersize.zh-TW", 80);
  1304. pref("font.scale.bitmap.oversize.zh-TW",  120);
  1305.  
  1306. pref("font.scale.outline.min.zh-HK",      10);
  1307. pref("font.scale.aa_bitmap.min.zh-HK",    12);
  1308. pref("font.scale.aa_bitmap.always.zh-HK", false);
  1309. pref("font.scale.bitmap.min.zh-HK",       16);
  1310. pref("font.scale.bitmap.undersize.zh-HK", 80);
  1311. pref("font.scale.bitmap.oversize.zh-HK",  120);
  1312.  
  1313. // minimum font sizes
  1314.  
  1315. pref("font.min-size.variable.ja", 10);
  1316. pref("font.min-size.fixed.ja", 10);
  1317.  
  1318. pref("font.min-size.variable.ko", 10);
  1319. pref("font.min-size.fixed.ko", 10);
  1320.  
  1321. pref("font.min-size.variable.zh-CN", 10);
  1322. pref("font.min-size.fixed.zh-CN", 10);
  1323.  
  1324. pref("font.min-size.variable.zh-TW", 10);
  1325. pref("font.min-size.fixed.zh-TW", 10);
  1326.  
  1327. pref("font.min-size.variable.zh-HK", 10);
  1328. pref("font.min-size.fixed.zh-HK", 10);
  1329.  
  1330. // X11 specific
  1331. /* X11 font accept/reject patterns:
  1332.  * Patterns have to match against strings like this:
  1333.  * (boolean values can only be "true" or "false")
  1334.  * "fname=.*;scalable=.*;outline_scaled=.*;xdisplay=.*;xdpy=%d;ydpy=%d;xdevice=.*"
  1335.  * - fname     = X11 font name (string)
  1336.  * - scalable  = is font scalable ? (boolean)
  1337.  * - outline_scaled = is font an outline scaled font ? (boolean)
  1338.  * - xdisplay  = X11 display name (like "host:0.0" (string)
  1339.  * - xdpy      = X DPI (X screen resolution) (integer)
  1340.  * - ydpy      = Y DPI (Y screen resolution) (integer)
  1341.  * - xdevice   = "display" or "printer" (Xprint)
  1342.  * Patterns use  the regular expressions described in the EXTENDED REGULAR
  1343.  * EXPRESSIONS section of the regex(5) manual page.
  1344.  * Note that prefs strings can always be concatenated via the '+'-operator,
  1345.  * e.g. pref("font.x11.acceptfontpattern", "pattern1|" + 
  1346.  *                                         "pattern2|" +
  1347.  *                                         "pattern3");
  1348.  */
  1349. /* reject font if accept pattern does not match it... */
  1350. //pref("font.x11.acceptfontpattern", ".*");
  1351. /* reject font if reject pattern matches it... */
  1352. //pref("font.x11.rejectfontpattern", 
  1353. //     "fname=-urw.*;scalable=false;outline_scaled=false;xdisplay=.*;xdpy=.*;ydpy=.*;xdevice=.*");
  1354.  
  1355. /* reject font if accept pattern does not match it... */
  1356. pref("print.xprint.font.acceptfontpattern", ".*");
  1357. /* reject font if reject pattern matches it...
  1358.  * Current bans:
  1359.  * - bug 148470 ("Ban "-dt-*" (bitmap!!) fonts from Xprint")
  1360.  *   pattern="fname=-dt-.*;scalable=.*;outline_scaled=false;xdisplay=.*;xdpy=.*;ydpy=.*;xdevice=.*"
  1361.  */
  1362. pref("print.xprint.font.rejectfontpattern", 
  1363.      "fname=-dt-.*;scalable=.*;outline_scaled=false;xdisplay=.*;xdpy=.*;ydpy=.*;xdevice=.*");
  1364.  
  1365. /* Xprint print module prefs */
  1366. pref("print.xprint.font.force_outline_scaled_fonts", true);
  1367.  
  1368. /* PostScript print module prefs */
  1369. // pref("print.postscript.enabled",      true);
  1370. pref("print.postscript.paper_size",    "letter");
  1371. pref("print.postscript.orientation",   "portrait");
  1372. pref("print.postscript.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
  1373.  
  1374. /* PostScript print module font config
  1375.  * this list is used by the postscript font
  1376.  * to enumerate the list of langGroups
  1377.  * there should be a call to get the
  1378.  * langGroups; see bug 75054
  1379.  */
  1380. pref("print.postscript.nativefont.ar",             "");
  1381. pref("print.postscript.nativefont.el",             "");
  1382. pref("print.postscript.nativefont.he",             "");
  1383. pref("print.postscript.nativefont.ja",             "");
  1384. pref("print.postscript.nativefont.ko",             "");
  1385. pref("print.postscript.nativefont.th",             "");
  1386. pref("print.postscript.nativefont.tr",             "");
  1387. pref("print.postscript.nativefont.x-baltic",       "");
  1388. pref("print.postscript.nativefont.x-central-euro", "");
  1389. pref("print.postscript.nativefont.x-cyrillic",     "");
  1390. pref("print.postscript.nativefont.x-unicode",      "");
  1391. pref("print.postscript.nativefont.x-user-def",     "");
  1392. pref("print.postscript.nativefont.x-western",      "");
  1393. pref("print.postscript.nativefont.zh-CN",          "");
  1394. pref("print.postscript.nativefont.zh-TW",          "");
  1395. pref("print.postscript.nativefont.zh-HK",          "");
  1396.  
  1397. //@line 2301 "/builds/tinderbox/Sb-Trunk/Linux_2.6.9-42.ELsmp_Depend/mozilla/modules/libpref/src/init/all.js"
  1398.  
  1399. //@line 2369 "/builds/tinderbox/Sb-Trunk/Linux_2.6.9-42.ELsmp_Depend/mozilla/modules/libpref/src/init/all.js"
  1400.  
  1401. //@line 2395 "/builds/tinderbox/Sb-Trunk/Linux_2.6.9-42.ELsmp_Depend/mozilla/modules/libpref/src/init/all.js"
  1402.  
  1403. //@line 2415 "/builds/tinderbox/Sb-Trunk/Linux_2.6.9-42.ELsmp_Depend/mozilla/modules/libpref/src/init/all.js"
  1404.  
  1405.