home *** CD-ROM | disk | FTP | other *** search
/ Encyclopaedia Britannica …oncise Encyclopedia 2007 / bcd_concise07.iso / data / jars / corecomponents-osx.jar / corecomponents / greprefs / all.js < prev    next >
Encoding:
Text File  |  2006-04-06  |  52.6 KB  |  1,150 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("browser.cache.disk.enable",           true);
  58. pref("browser.cache.disk.capacity",         51200);
  59. pref("browser.cache.memory.enable",         true);
  60. //pref("browser.cache.memory.capacity",     -1);
  61. // -1 = determine dynamically, 0 = none, n = memory capacity in kilobytes
  62. pref("browser.cache.disk_cache_ssl",        false);
  63. // 0 = once-per-session, 1 = each-time, 2 = never, 3 = when-appropriate/automatically
  64. pref("browser.cache.check_doc_frequency",   3);
  65. // Fastback caching - if this pref is negative, then we calculate the number
  66. // of content viewers to cache based on the amount of available memory.
  67. pref("browser.sessionhistory.max_total_viewers", -1);
  68.  
  69. pref("browser.display.use_document_fonts",  1);  // 0 = never, 1 = quick, 2 = always
  70. pref("browser.display.use_document_colors", true);
  71. pref("browser.display.use_system_colors",   false);
  72. pref("browser.display.foreground_color",    "#000000");
  73. pref("browser.display.background_color",    "#FFFFFF");
  74. pref("browser.display.force_inline_alttext", false); // true = force ALT text for missing images to be layed out inline
  75. // 0 = no external leading, 
  76. // 1 = use external leading only when font provides, 
  77. // 2 = add extra leading both internal leading and external leading are zero
  78. pref("browser.display.normal_lineheight_calc_control", 2);
  79. pref("browser.display.show_image_placeholders", true); // true = show image placeholders while image is loaded and when image is broken
  80. pref("browser.anchor_color",                "#0000EE");
  81. pref("browser.active_color",                "#EE0000");
  82. pref("browser.visited_color",               "#551A8B");
  83. pref("browser.underline_anchors",           true);
  84. pref("browser.blink_allowed",               true);
  85. pref("browser.enable_automatic_image_resizing", false);
  86.  
  87. pref("browser.display.use_focus_colors",    false);
  88. pref("browser.display.focus_background_color", "#117722");
  89. pref("browser.display.focus_text_color",     "#ffffff");
  90. pref("browser.display.focus_ring_width",     1);
  91. pref("browser.display.focus_ring_on_anything", false);
  92.  
  93. pref("browser.helperApps.alwaysAsk.force",  false);
  94. pref("browser.helperApps.neverAsk.saveToDisk", "");
  95. pref("browser.helperApps.neverAsk.openFile", "");
  96.  
  97. // xxxbsmedberg: where should prefs for the toolkit go?
  98. pref("browser.chrome.toolbar_tips",         true);
  99. // 0 = Pictures Only, 1 = Text Only, 2 = Pictures and Text
  100. pref("browser.chrome.toolbar_style",        2);
  101. // max image size for which it is placed in the tab icon for tabbrowser.
  102. // if 0, no images are used for tab icons for image documents.
  103. pref("browser.chrome.image_icons.max_size", 1024);
  104.  
  105.  
  106. pref("accessibility.browsewithcaret", false);
  107. pref("accessibility.warn_on_browsewithcaret", true);
  108.  
  109. //@line 118 "/Users/jadeliquid/Documents/camino1.0/mozilla/modules/libpref/src/init/all.js"
  110. // Only on mac tabfocus is expected to handle UI widgets as well as web content
  111. pref("accessibility.tabfocus_applies_to_xul", true);
  112. //@line 121 "/Users/jadeliquid/Documents/camino1.0/mozilla/modules/libpref/src/init/all.js"
  113.  
  114. pref("accessibility.usetexttospeech", "");
  115. pref("accessibility.usebrailledisplay", "");
  116. pref("accessibility.accesskeycausesactivation", true);
  117.  
  118. // Type Ahead Find
  119. pref("accessibility.typeaheadfind", true);
  120. pref("accessibility.typeaheadfind.autostart", true);
  121. pref("accessibility.typeaheadfind.linksonly", true);
  122. pref("accessibility.typeaheadfind.startlinksonly", false);
  123. pref("accessibility.typeaheadfind.timeout", 4000);
  124. pref("accessibility.typeaheadfind.enabletimeout", true);
  125. pref("accessibility.typeaheadfind.soundURL", "default");
  126. pref("accessibility.typeaheadfind.enablesound", true);
  127.  
  128. pref("browser.history_expire_days", 9);
  129.  
  130. // loading and rendering of framesets and iframes
  131. pref("browser.frames.enabled", true);
  132.  
  133. // form submission
  134. pref("browser.forms.submit.backwards_compatible", true);
  135.  
  136. // xxxbsmedberg more toolkit prefs?
  137. // Tab browser preferences.
  138. pref("browser.tabs.autoHide", true);
  139. pref("browser.tabs.forceHide", false);
  140. pref("browser.tabs.warnOnClose", true);
  141. pref("browser.tabs.warnOnCloseOther", true);
  142. // 0 = append, 1 = replace
  143. pref("browser.tabs.loadGroup", 1);
  144.  
  145. // lets new tab/window load something different than first window
  146. // -1 - use navigator startup preference
  147. //  0 - loads blank page
  148. //  1 - loads home page
  149. //  2 - loads last page visited
  150. pref("browser.tabs.loadOnNewTab", 0);
  151. pref("browser.windows.loadOnNewWindow", 1);
  152.  
  153. // view source
  154. pref("view_source.syntax_highlight", true);
  155. pref("view_source.wrap_long_lines", false);
  156.  
  157. // dispatch left clicks only to content in browser (still allows clicks to chrome/xul)
  158. pref("nglayout.events.dispatchLeftClickOnly", true);
  159.  
  160. // whether or not to use xbl form controls
  161. pref("nglayout.debug.enable_xbl_forms", false);
  162.  
  163. // size of scrollbar snapping region
  164. pref("slider.snapMultiplier", 6);
  165.  
  166. // option to choose plug-in finder
  167. pref("application.use_ns_plugin_finder", false);
  168.  
  169. // URI fixup prefs
  170. pref("browser.fixup.alternate.enabled", true);
  171. pref("browser.fixup.alternate.prefix", "www.");
  172. pref("browser.fixup.alternate.suffix", ".com");
  173. pref("browser.fixup.hide_user_pass", true);
  174.  
  175. // Print header customization
  176. // Use the following codes:
  177. // &T - Title
  178. // &U - Document URL
  179. // &D - Date/Time
  180. // &P - Page Number
  181. // &PT - Page Number "of" Page total
  182. // Set each header to a string containing zero or one of these codes
  183. // and the code will be replaced in that string by the corresponding data
  184. pref("print.print_headerleft", "&T");
  185. pref("print.print_headercenter", "");
  186. pref("print.print_headerright", "&U");
  187. pref("print.print_footerleft", "&PT");
  188. pref("print.print_footercenter", "");
  189. pref("print.print_footerright", "&D");
  190. pref("print.show_print_progress", true);
  191.  
  192. // xxxbsmedberg: more toolkit prefs
  193.  
  194. // When this is set to false each window has its own PrintSettings
  195. // and a chnage in one window does not affect the others
  196. pref("print.use_global_printsettings", true);
  197.  
  198. // Use the native dialog or the XP dialog?
  199. pref("print.use_native_print_dialog", false);
  200.  
  201. // Save the Printings after each print job
  202. pref("print.save_print_settings", true);
  203.  
  204. pref("print.whileInPrintPreview", true);
  205.  
  206. // Cache old Presentation when going into Print Preview
  207. pref("print.always_cache_old_pres", false);
  208.  
  209. // Enables you to specify the gap from the edge of the paper to the margin
  210. // this is used by both Printing and Print Preview
  211. pref("print.print_edge_top", 0); // 1/100 of an inch
  212. pref("print.print_edge_left", 0); // 1/100 of an inch
  213. pref("print.print_edge_right", 0); // 1/100 of an inch
  214. pref("print.print_edge_bottom", 0); // 1/100 of an inch
  215.  
  216.  
  217. // Prefs used by libeditor. Prefs specific to seamonkey composer
  218. // belong in mozilla/editor/ui/composer.js
  219.  
  220. pref("editor.use_custom_colors", false);
  221. pref("editor.htmlWrapColumn", 72);
  222. pref("editor.singleLine.pasteNewlines",     1);
  223. pref("editor.quotesPreformatted",            false);
  224. pref("editor.use_css",                       true);
  225. pref("editor.css.default_length_unit",       "px");
  226. pref("editor.resizing.preserve_ratio",       true);
  227. pref("editor.positioning.offset",            0);
  228.  
  229.  
  230. // Default Capability Preferences: Security-Critical! 
  231. // Editing these may create a security risk - be sure you know what you're doing
  232. //pref("capability.policy.default.barprop.visible.set", "UniversalBrowserWrite");
  233.  
  234. pref("capability.policy.default_policynames", "mailnews");
  235.  
  236. pref("capability.policy.default.DOMException.code", "allAccess");
  237. pref("capability.policy.default.DOMException.message", "allAccess");
  238. pref("capability.policy.default.DOMException.name", "allAccess");
  239. pref("capability.policy.default.DOMException.result", "allAccess");
  240. pref("capability.policy.default.DOMException.toString.get", "allAccess");
  241.  
  242. pref("capability.policy.default.History.back.get", "allAccess");
  243. pref("capability.policy.default.History.current", "UniversalBrowserRead");
  244. pref("capability.policy.default.History.forward.get", "allAccess");
  245. pref("capability.policy.default.History.go.get", "allAccess");
  246. pref("capability.policy.default.History.item", "UniversalBrowserRead");
  247. pref("capability.policy.default.History.next", "UniversalBrowserRead");
  248. pref("capability.policy.default.History.previous", "UniversalBrowserRead");
  249. pref("capability.policy.default.History.toString", "UniversalBrowserRead");
  250.  
  251. pref("capability.policy.default.HTMLDocument.close.get", "allAccess");
  252. pref("capability.policy.default.HTMLDocument.open.get", "allAccess");
  253.  
  254. pref("capability.policy.default.Location.hash.set", "allAccess");
  255. pref("capability.policy.default.Location.href.set", "allAccess");
  256. pref("capability.policy.default.Location.reload.get", "allAccess");
  257. pref("capability.policy.default.Location.replace.get", "allAccess");
  258.  
  259. pref("capability.policy.default.Navigator.preference", "allAccess");
  260. pref("capability.policy.default.Navigator.preferenceinternal.get", "UniversalPreferencesRead");
  261. pref("capability.policy.default.Navigator.preferenceinternal.set", "UniversalPreferencesWrite");
  262.  
  263. pref("capability.policy.default.Window.blur.get", "allAccess");
  264. pref("capability.policy.default.Window.close.get", "allAccess");
  265. pref("capability.policy.default.Window.closed", "allAccess");
  266. pref("capability.policy.default.Window.Components", "allAccess");
  267. pref("capability.policy.default.Window.document", "allAccess");
  268. pref("capability.policy.default.Window.focus.get", "allAccess");
  269. pref("capability.policy.default.Window.frames", "allAccess");
  270. pref("capability.policy.default.Window.history", "allAccess");
  271. pref("capability.policy.default.Window.length", "allAccess");
  272. pref("capability.policy.default.Window.location", "allAccess");
  273. pref("capability.policy.default.Window.opener", "allAccess");
  274. pref("capability.policy.default.Window.parent", "allAccess");
  275. pref("capability.policy.default.Window.self", "allAccess");
  276. pref("capability.policy.default.Window.top", "allAccess");
  277. pref("capability.policy.default.Window.window", "allAccess");
  278.  
  279. // Restrictions on the DOM for mail/news - see bugs 66938 and 84545
  280. pref("capability.policy.mailnews.sites", "mailbox: imap: news:");
  281.  
  282. pref("capability.policy.mailnews.*.attributes.get", "noAccess");
  283. pref("capability.policy.mailnews.*.baseURI.get", "noAccess");
  284. pref("capability.policy.mailnews.*.data.get", "noAccess");
  285. pref("capability.policy.mailnews.*.getAttribute", "noAccess");
  286. pref("capability.policy.mailnews.*.getAttributeNS", "noAccess");
  287. pref("capability.policy.mailnews.*.getNamedItem", "noAccess");
  288. pref("capability.policy.mailnews.*.getNamedItemNS", "noAccess");
  289. pref("capability.policy.mailnews.*.host.get", "noAccess");
  290. pref("capability.policy.mailnews.*.hostname.get", "noAccess");
  291. pref("capability.policy.mailnews.*.href.get", "noAccess");
  292. pref("capability.policy.mailnews.*.innerHTML.get", "noAccess");
  293. pref("capability.policy.mailnews.*.lowSrc.get", "noAccess");
  294. pref("capability.policy.mailnews.*.nodeValue.get", "noAccess");
  295. pref("capability.policy.mailnews.*.pathname.get", "noAccess");
  296. pref("capability.policy.mailnews.*.protocol.get", "noAccess");
  297. pref("capability.policy.mailnews.*.src.get", "noAccess");
  298. pref("capability.policy.mailnews.*.substringData.get", "noAccess");
  299. pref("capability.policy.mailnews.*.text.get", "noAccess");
  300. pref("capability.policy.mailnews.*.title.get", "noAccess");
  301. pref("capability.policy.mailnews.DOMException.toString", "noAccess");
  302. pref("capability.policy.mailnews.HTMLAnchorElement.toString", "noAccess");
  303. pref("capability.policy.mailnews.HTMLDocument.domain", "noAccess");
  304. pref("capability.policy.mailnews.HTMLDocument.URL", "noAccess");
  305. pref("capability.policy.mailnews.Location.toString", "noAccess");
  306. pref("capability.policy.mailnews.Range.toString", "noAccess");
  307. pref("capability.policy.mailnews.Window.blur", "noAccess");
  308. pref("capability.policy.mailnews.Window.focus", "noAccess");
  309. pref("capability.policy.mailnews.Window.innerWidth.set", "noAccess");
  310. pref("capability.policy.mailnews.Window.innerHeight.set", "noAccess");
  311. pref("capability.policy.mailnews.Window.moveBy", "noAccess");
  312. pref("capability.policy.mailnews.Window.moveTo", "noAccess");
  313. pref("capability.policy.mailnews.Window.name.set", "noAccess");
  314. pref("capability.policy.mailnews.Window.outerHeight.set", "noAccess");
  315. pref("capability.policy.mailnews.Window.outerWidth.set", "noAccess");
  316. pref("capability.policy.mailnews.Window.resizeBy", "noAccess");
  317. pref("capability.policy.mailnews.Window.resizeTo", "noAccess");
  318. pref("capability.policy.mailnews.Window.screenX.set", "noAccess");
  319. pref("capability.policy.mailnews.Window.screenY.set", "noAccess");
  320. pref("capability.policy.mailnews.Window.sizeToContent", "noAccess");
  321. pref("capability.policy.mailnews.document.load", "noAccess");
  322. pref("capability.policy.mailnews.XMLHttpRequest.channel", "noAccess");
  323. pref("capability.policy.mailnews.XMLHttpRequest.getInterface", "noAccess");
  324. pref("capability.policy.mailnews.XMLHttpRequest.responseXML", "noAccess");
  325. pref("capability.policy.mailnews.XMLHttpRequest.responseText", "noAccess");
  326. pref("capability.policy.mailnews.XMLHttpRequest.status", "noAccess");
  327. pref("capability.policy.mailnews.XMLHttpRequest.statusText", "noAccess");
  328. pref("capability.policy.mailnews.XMLHttpRequest.abort", "noAccess");
  329. pref("capability.policy.mailnews.XMLHttpRequest.getAllResponseHeaders", "noAccess");
  330. pref("capability.policy.mailnews.XMLHttpRequest.getResponseHeader", "noAccess");
  331. pref("capability.policy.mailnews.XMLHttpRequest.open", "noAccess");
  332. pref("capability.policy.mailnews.XMLHttpRequest.send", "noAccess");
  333. pref("capability.policy.mailnews.XMLHttpRequest.setRequestHeader", "noAccess");
  334. pref("capability.policy.mailnews.XMLHttpRequest.readyState", "noAccess");
  335. pref("capability.policy.mailnews.XMLHttpRequest.overrideMimeType", "noAccess");
  336. pref("capability.policy.mailnews.XMLHttpRequest.onload", "noAccess");
  337. pref("capability.policy.mailnews.XMLHttpRequest.onerror", "noAccess");
  338. pref("capability.policy.mailnews.XMLHttpRequest.onreadystatechange", "noAccess");
  339. pref("capability.policy.mailnews.XMLSerializer.serializeToString", "noAccess");
  340. pref("capability.policy.mailnews.XMLSerializer.serializeToStream", "noAccess");
  341. pref("capability.policy.mailnews.DOMParser.parseFromString", "noAccess");
  342. pref("capability.policy.mailnews.DOMParser.parseFromStream", "noAccess");
  343. pref("capability.policy.mailnews.SOAPCall.transportURI", "noAccess");
  344. pref("capability.policy.mailnews.SOAPCall.verifySourceHeader", "noAccess");
  345. pref("capability.policy.mailnews.SOAPCall.invoke", "noAccess");
  346. pref("capability.policy.mailnews.SOAPCall.asyncInvoke", "noAccess");
  347. pref("capability.policy.mailnews.SOAPResponse.fault", "noAccess");
  348. pref("capability.policy.mailnews.SOAPEncoding.styleURI", "noAccess");
  349. pref("capability.policy.mailnews.SOAPEncoding.getAssociatedEncoding", "noAccess");
  350. pref("capability.policy.mailnews.SOAPEncoding.setEncoder", "noAccess");
  351. pref("capability.policy.mailnews.SOAPEncoding.getEncoder", "noAccess");
  352. pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
  353. pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
  354. pref("capability.policy.mailnews.SOAPEncoding.getDecoder", "noAccess");
  355. pref("capability.policy.mailnews.SOAPEncoding.defaultEncoder", "noAccess");
  356. pref("capability.policy.mailnews.SOAPEncoding.defaultDecoder", "noAccess");
  357. pref("capability.policy.mailnews.SOAPEncoding.schemaCollection", "noAccess");
  358. pref("capability.policy.mailnews.SOAPEncoding.encode", "noAccess");
  359. pref("capability.policy.mailnews.SOAPEncoding.decode", "noAccess");
  360. pref("capability.policy.mailnews.SOAPEncoding.mapSchemaURI", "noAccess");
  361. pref("capability.policy.mailnews.SOAPEncoding.unmapSchemaURI", "noAccess");
  362. pref("capability.policy.mailnews.SOAPEncoding.getInternalSchemaURI", "noAccess");
  363. pref("capability.policy.mailnews.SOAPEncoding.getExternalSchemaURI", "noAccess");
  364. pref("capability.policy.mailnews.SOAPFault.element", "noAccess");
  365. pref("capability.policy.mailnews.SOAPFault.faultNamespaceURI", "noAccess");
  366. pref("capability.policy.mailnews.SOAPFault.faultCode", "noAccess");
  367. pref("capability.policy.mailnews.SOAPFault.faultString", "noAccess");
  368. pref("capability.policy.mailnews.SOAPFault.faultActor", "noAccess");
  369. pref("capability.policy.mailnews.SOAPFault.detail", "noAccess");
  370. pref("capability.policy.mailnews.SOAPHeaderBlock.actorURI", "noAccess");
  371. pref("capability.policy.mailnews.SOAPHeaderBlock.mustUnderstand", "noAccess");
  372. pref("capability.policy.mailnews.SOAPParameter", "noAccess");
  373. pref("capability.policy.mailnews.SOAPPropertyBagMutator.propertyBag", "noAccess");
  374. pref("capability.policy.mailnews.SOAPPropertyBagMutator.addProperty", "noAccess");
  375. pref("capability.policy.mailnews.SchemaLoader.load", "noAccess");
  376. pref("capability.policy.mailnews.SchemaLoader.loadAsync", "noAccess");
  377. pref("capability.policy.mailnews.SchemaLoader.processSchemaElement", "noAccess");
  378. pref("capability.policy.mailnews.SchemaLoader.onLoad", "noAccess");
  379. pref("capability.policy.mailnews.SchemaLoader.onError", "noAccess");
  380. pref("capability.policy.mailnews.WSDLLoader.load", "noAccess");
  381. pref("capability.policy.mailnews.WSDLLoader.loadAsync", "noAccess");
  382. pref("capability.policy.mailnews.WSDLLoader.onLoad", "noAccess");
  383. pref("capability.policy.mailnews.WSDLLoader.onError", "noAccess");
  384. pref("capability.policy.mailnews.WebServiceProxyFactory.createProxy", "noAccess");
  385. pref("capability.policy.mailnews.WebServiceProxyFactory.createProxyAsync", "noAccess");
  386. pref("capability.policy.mailnews.WebServiceProxyFactory.onLoad", "noAccess");
  387. pref("capability.policy.mailnews.WebServiceProxyFactory.onError", "noAccess");
  388.  
  389. // XMLExtras
  390. pref("capability.policy.default.XMLHttpRequest.channel", "noAccess");
  391. pref("capability.policy.default.XMLHttpRequest.getInterface", "noAccess");
  392. pref("capability.policy.default.DOMParser.parseFromStream", "noAccess");
  393.  
  394. // Clipboard
  395. pref("capability.policy.default.Clipboard.cutcopy", "noAccess");
  396. pref("capability.policy.default.Clipboard.paste", "noAccess");
  397.  
  398. // Scripts & Windows prefs
  399. pref("dom.disable_image_src_set",           false);
  400. pref("dom.disable_window_flip",             false);
  401. pref("dom.disable_window_move_resize",      false);
  402. pref("dom.disable_window_status_change",    false);
  403.  
  404. pref("dom.disable_window_open_feature.titlebar",    false);
  405. pref("dom.disable_window_open_feature.close",       false);
  406. pref("dom.disable_window_open_feature.toolbar",     false);
  407. pref("dom.disable_window_open_feature.location",    false);
  408. pref("dom.disable_window_open_feature.directories", false);
  409. pref("dom.disable_window_open_feature.personalbar", false);
  410. pref("dom.disable_window_open_feature.menubar",     false);
  411. pref("dom.disable_window_open_feature.scrollbars",  false);
  412. pref("dom.disable_window_open_feature.resizable",   false);
  413. pref("dom.disable_window_open_feature.minimizable", false);
  414. pref("dom.disable_window_open_feature.status",      true);
  415.  
  416. pref("dom.allow_scripts_to_close_windows",          false);
  417.  
  418. pref("dom.disable_open_during_load",                false);
  419. pref("dom.popup_maximum",                           20);
  420. pref("dom.popup_allowed_events", "change click dblclick mouseup reset submit");
  421. pref("dom.disable_open_click_delay", 1000);
  422.  
  423. // Disable popups from plugins by default
  424. //   0 = openAllowed
  425. //   1 = openControlled
  426. //   2 = openAbused
  427. pref("privacy.popups.disable_from_plugins", 2);
  428.  
  429. pref("dom.event.contextmenu.enabled",       true);
  430.  
  431. pref("javascript.enabled",                  true);
  432. pref("javascript.allow.mailnews",           false);
  433. pref("javascript.options.strict",           false);
  434.  
  435. // advanced prefs
  436. pref("security.enable_java",                true);
  437. pref("advanced.mailftp",                    false);
  438. pref("image.animation_mode",                "normal");
  439.  
  440. // If there is ever a security firedrill that requires
  441. // us to block certian ports global, this is the pref 
  442. // to use.  Is is a comma delimited list of port numbers
  443. // for example:
  444. //   pref("network.security.ports.banned", "1,2,3,4,5");
  445. // prevents necko connecting to ports 1-5 unless the protocol
  446. // overrides.
  447.  
  448. // Default action for unlisted external protocol handlers
  449. pref("network.protocol-handler.external-default", true);      // OK to load
  450. pref("network.protocol-handler.warn-external-default", true); // warn before load
  451.  
  452. // Prevent using external protocol handlers for these schemes
  453. pref("network.protocol-handler.external.hcp", false);
  454. pref("network.protocol-handler.external.vbscript", false);
  455. pref("network.protocol-handler.external.javascript", false);
  456. pref("network.protocol-handler.external.data", false);
  457. pref("network.protocol-handler.external.ms-help", false);
  458. pref("network.protocol-handler.external.shell", false);
  459. pref("network.protocol-handler.external.vnd.ms.radio", false);
  460. //@line 469 "/Users/jadeliquid/Documents/camino1.0/mozilla/modules/libpref/src/init/all.js"
  461. pref("network.protocol-handler.external.help", false);
  462. //@line 471 "/Users/jadeliquid/Documents/camino1.0/mozilla/modules/libpref/src/init/all.js"
  463. pref("network.protocol-handler.external.disk", false);
  464. pref("network.protocol-handler.external.disks", false);
  465. pref("network.protocol-handler.external.afp", false);
  466.  
  467. // An exposed protocol handler is one that can be used in all contexts.  A
  468. // non-exposed protocol handler is one that can only be used internally by the
  469. // application.  For example, a non-exposed protocol would not be loaded by the
  470. // application in response to a link click or a X-remote openURL command.
  471. // Instead, it would be deferred to the system's external protocol handler.
  472. // Only internal/built-in protocol handlers can be marked as exposed.
  473.  
  474. // This pref controls the default settings.  Per protocol settings can be used
  475. // to override this value.
  476. pref("network.protocol-handler.expose-all", true);
  477.  
  478. // Example: make IMAP an exposed protocol
  479. // pref("network.protocol-handler.expose.imap", true);
  480.  
  481. pref("network.hosts.smtp_server",           "mail");
  482. pref("network.hosts.pop_server",            "mail");
  483.  
  484. // <http>
  485. pref("network.http.version", "1.1");      // default
  486. // pref("network.http.version", "1.0");   // uncomment this out in case of problems
  487. // pref("network.http.version", "0.9");   // it'll work too if you're crazy
  488. // keep-alive option is effectively obsolete. Nevertheless it'll work with
  489. // some older 1.0 servers:
  490.  
  491. pref("network.http.proxy.version", "1.1");    // default
  492. // pref("network.http.proxy.version", "1.0"); // uncomment this out in case of problems
  493.                                               // (required if using junkbuster proxy)
  494.  
  495. // enable caching of http documents
  496. pref("network.http.use-cache", true);
  497.  
  498. // this preference can be set to override the socket type used for normal
  499. // HTTP traffic.  an empty value indicates the normal TCP/IP socket type.
  500. pref("network.http.default-socket-type", "");
  501.  
  502. pref("network.http.keep-alive", true); // set it to false in case of problems
  503. pref("network.http.proxy.keep-alive", true);
  504. pref("network.http.keep-alive.timeout", 300);
  505.  
  506. // limit the absolute number of http connections.
  507. pref("network.http.max-connections", 24);
  508.  
  509. // limit the absolute number of http connections that can be established per
  510. // host.  if a http proxy server is enabled, then the "server" is the proxy
  511. // server.  Otherwise, "server" is the http origin server.
  512. pref("network.http.max-connections-per-server", 8);
  513.  
  514. // if network.http.keep-alive is true, and if NOT connecting via a proxy, then
  515. // a new connection will only be attempted if the number of active persistent
  516. // connections to the server is less then max-persistent-connections-per-server.
  517. pref("network.http.max-persistent-connections-per-server", 2);
  518.  
  519. // if network.http.keep-alive is true, and if connecting via a proxy, then a
  520. // new connection will only be attempted if the number of active persistent
  521. // connections to the proxy is less then max-persistent-connections-per-proxy.
  522. pref("network.http.max-persistent-connections-per-proxy", 4);
  523.  
  524. // amount of time (in seconds) to suspend pending requests, before spawning a
  525. // new connection, once the limit on the number of persistent connections per
  526. // host has been reached.  however, a new connection will not be created if
  527. // max-connections or max-connections-per-server has also been reached.
  528. pref("network.http.request.max-start-delay", 10);
  529.  
  530. // Headers
  531. pref("network.http.accept.default", "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5");
  532. pref("network.http.sendRefererHeader",      2); // 0=don't send any, 1=send only on clicks, 2=send on image requests as well
  533.  
  534. // Controls whether we send HTTPS referres to other HTTPS sites.
  535. // By default this is enabled for compatibility (see bug 141641)
  536. pref("network.http.sendSecureXSiteReferrer", true);
  537.  
  538. // Maximum number of consecutive redirects before aborting.
  539. pref("network.http.redirection-limit", 20);
  540.  
  541. // Enable http compression: comment this out in case of problems with 1.1
  542. // NOTE: support for "compress" has been disabled per bug 196406.
  543. pref("network.http.accept-encoding" ,"gzip,deflate");
  544.  
  545. pref("network.http.pipelining"      , false);
  546. pref("network.http.proxy.pipelining", false);
  547.  
  548. // Max number of requests in the pipeline
  549. pref("network.http.pipelining.maxrequests" , 4);
  550.  
  551. // </http>
  552.  
  553. // This preference controls whether or not internationalized domain names (IDN)
  554. // are handled.  IDN requires a nsIIDNService implementation.
  555. pref("network.enableIDN", true);
  556.  
  557. // This preference, if true, causes all UTF-8 domain names to be normalized to
  558. // punycode.  The intention is to allow UTF-8 domain names as input, but never
  559. // generate them from punycode.
  560. pref("network.IDN_show_punycode", false);
  561.  
  562. // TLDs with "network.IDN.whitelist.tld" explicitly set to true are treated as 
  563. // IDN-safe. Otherwise, they're treated as unsafe and punycode will be used
  564. // for displaying them in the UI (e.g. URL bar). Note that these preferences
  565. // are referred to ONLY when "network.IDN_show_punycode" is false. In other
  566. // words, all IDNs will be shown in punycode if "network.IDN_show_punycode"
  567. // is true.
  568.  
  569. // ccTLDs
  570. pref("network.IDN.whitelist.ac", true);
  571. pref("network.IDN.whitelist.at", true);
  572. pref("network.IDN.whitelist.br", true);
  573. pref("network.IDN.whitelist.ch", true);
  574. pref("network.IDN.whitelist.cl", true);
  575. pref("network.IDN.whitelist.cn", true);
  576. pref("network.IDN.whitelist.de", true);
  577. pref("network.IDN.whitelist.dk", true);
  578. pref("network.IDN.whitelist.fi", true);
  579. pref("network.IDN.whitelist.gr", true);
  580. pref("network.IDN.whitelist.hu", true);
  581. pref("network.IDN.whitelist.io", true);
  582. pref("network.IDN.whitelist.is", true);
  583. pref("network.IDN.whitelist.jp", true);
  584. pref("network.IDN.whitelist.kr", true);
  585. pref("network.IDN.whitelist.li", true);
  586. pref("network.IDN.whitelist.lt", true);
  587. pref("network.IDN.whitelist.no", true);
  588. pref("network.IDN.whitelist.se", true);
  589. pref("network.IDN.whitelist.sh", true);
  590. pref("network.IDN.whitelist.th", true);
  591. pref("network.IDN.whitelist.tm", true);
  592. pref("network.IDN.whitelist.tw", true);
  593. pref("network.IDN.whitelist.vn", true);
  594.  
  595. // non-ccTLDs
  596. pref("network.IDN.whitelist.info", true);
  597. pref("network.IDN.whitelist.museum", true);
  598. pref("network.IDN.whitelist.org", true);
  599.  
  600. // If a domain includes any of the following characters, it may be a spoof 
  601. // attempt and so we always display the domain name as punycode. This would 
  602. // override the settings "network.IDN_show_punycode" and 
  603. // "network.IDN.whitelist.*".
  604. 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");
  605.  
  606. // This preference specifies a list of domains for which DNS lookups will be
  607. // IPv4 only. Works around broken DNS servers which can't handle IPv6 lookups
  608. // and/or allows the user to disable IPv6 on a per-domain basis. See bug 68796.
  609. pref("network.dns.ipv4OnlyDomains", ".doubleclick.net");
  610.  
  611. // This preference can be used to turn off IPv6 name lookups. See bug 68796.
  612. pref("network.dns.disableIPv6", false);
  613.  
  614. // This preference controls whether or not URLs with UTF-8 characters are
  615. // escaped.  Set this preference to TRUE for strict RFC2396 conformance.
  616. pref("network.standard-url.escape-utf8", true);
  617.  
  618. // This preference controls whether or not URLs are always encoded and sent as
  619. // UTF-8.
  620. pref("network.standard-url.encode-utf8", false);
  621.  
  622. // Idle timeout for ftp control connections - 5 minute default
  623. pref("network.ftp.idleConnectionTimeout", 300);
  624.  
  625. // directory listing format
  626. // 2: HTML
  627. // 3: XUL directory viewer
  628. // all other values are treated like 2
  629. pref("network.dir.format", 2);
  630.  
  631. // enables the prefetch service (i.e., prefetching of <link rel="next"> URLs).
  632. pref("network.prefetch-next", true);
  633.  
  634.  
  635. // The following prefs pertain to the negotiate-auth extension (see bug 17578),
  636. // which provides transparent Kerberos or NTLM authentication using the SPNEGO
  637. // protocol.  Each pref is a comma-separated list of keys, where each key has
  638. // the format:
  639. //   [scheme "://"] [host [":" port]]
  640. // For example, "foo.com" would match "http://www.foo.com/bar", etc.
  641.  
  642. // This list controls which URIs can use the negotiate-auth protocol.  This
  643. // list should be limited to the servers you know you'll need to login to.
  644. pref("network.negotiate-auth.trusted-uris", "");
  645. // This list controls which URIs can support delegation.
  646. pref("network.negotiate-auth.delegation-uris", "");
  647.  
  648. // Allow SPNEGO by default when challenged by a proxy server.
  649. pref("network.negotiate-auth.allow-proxies", true);
  650.  
  651. // Path to a specific gssapi library
  652. pref("network.negotiate-auth.gsslib", "");
  653.  
  654. // Specify if the gss lib comes standard with the OS
  655. pref("network.negotiate-auth.using-native-gsslib", true);
  656.  
  657. //@line 671 "/Users/jadeliquid/Documents/camino1.0/mozilla/modules/libpref/src/init/all.js"
  658.  
  659. // The following prefs are used to enable automatic use of the operating
  660. // system's NTLM implementation to silently authenticate the user with their
  661. // Window's domain logon.  The trusted-uris pref follows the format of the
  662. // trusted-uris pref for negotiate authentication.
  663. pref("network.automatic-ntlm-auth.allow-proxies", true);
  664. pref("network.automatic-ntlm-auth.trusted-uris", "");
  665.  
  666. // This preference controls whether or not the LM hash will be included in
  667. // response to a NTLM challenge.  By default, this is disabled since servers
  668. // should almost never need the LM hash, and the LM hash is what makes NTLM
  669. // authentication less secure.  See bug 250691 for further details.
  670. // NOTE: automatic-ntlm-auth which leverages the OS-provided NTLM
  671. //       implementation will not be affected by this preference.
  672. pref("network.ntlm.send-lm-response", false);
  673.  
  674. // sspitzer:  change this back to "news" when we get to beta.
  675. // for now, set this to news.mozilla.org because you can only
  676. // post to the server specified by this pref.
  677. pref("network.hosts.nntp_server",           "news.mozilla.org");
  678.  
  679. pref("permissions.default.image",           1); // 1-Accept, 2-Deny, 3-dontAcceptForeign
  680. pref("network.image.warnAboutImages",       false);
  681. pref("network.proxy.autoconfig_url",        "");
  682. pref("network.proxy.type",                  0);
  683. pref("network.proxy.ftp",                   "");
  684. pref("network.proxy.ftp_port",              0);
  685. pref("network.proxy.gopher",                "");
  686. pref("network.proxy.gopher_port",           0);
  687. pref("network.proxy.http",                  "");
  688. pref("network.proxy.http_port",             0);
  689. pref("network.proxy.ssl",                   "");
  690. pref("network.proxy.ssl_port",              0);
  691. pref("network.proxy.socks",                 "");
  692. pref("network.proxy.socks_port",            0);
  693. pref("network.proxy.socks_version",         5);
  694. pref("network.proxy.socks_remote_dns",      false);
  695. pref("network.proxy.no_proxies_on",         "localhost, 127.0.0.1");
  696. pref("network.proxy.failover_timeout",      1800); // 30 minutes
  697. pref("network.online",                      true); //online/offline
  698. pref("network.cookie.cookieBehavior",       0); // 0-Accept, 1-dontAcceptForeign, 2-dontUse, 3-p3p
  699. pref("network.cookie.disableCookieForMailNews", true); // disable all cookies for mail
  700. pref("network.cookie.lifetimePolicy",       0); // accept normally, 1-askBeforeAccepting, 2-acceptForSession,3-acceptForNDays
  701. pref("network.cookie.alwaysAcceptSessionCookies", false);
  702. pref("network.cookie.prefsMigrated",        false);
  703. pref("network.cookie.lifetime.days",        90);
  704.  
  705. // The following default value is for p3p medium mode.
  706. // See xpfe/components/permissions/content/cookieP3P.xul for the definitions of low/medium/hi
  707. pref("network.cookie.p3p",                  "ffffaaaa");
  708. pref("network.cookie.p3plevel",             1); // 0=low, 1=medium, 2=high, 3=custom
  709.  
  710. pref("network.enablePad",                   false); // Allow client to do proxy autodiscovery
  711. pref("converter.html2txt.structs",          true); // Output structured phrases (strong, em, code, sub, sup, b, i, u)
  712. pref("converter.html2txt.header_strategy",  1); // 0 = no indention; 1 = indention, increased with header level; 2 = numbering and slight indention
  713.  
  714. pref("ime.password.onFocus.dontCare",       false);
  715. pref("ime.password.onBlur.dontCare",        false);
  716.  
  717. pref("intl.accept_languages",               "chrome://navigator/locale/navigator.properties");
  718. pref("intl.accept_charsets",                "iso-8859-1,*,utf-8");
  719. pref("intl.collationOption",                "chrome://navigator-platform/locale/navigator.properties");
  720. pref("intl.menuitems.alwaysappendaccesskeys","chrome://navigator/locale/navigator.properties");
  721. pref("intl.menuitems.insertseparatorbeforeaccesskeys","chrome://navigator/locale/navigator.properties");
  722. pref("intl.charsetmenu.browser.static",     "chrome://navigator/locale/navigator.properties");
  723. pref("intl.charsetmenu.browser.more1",      "chrome://navigator/locale/navigator.properties");
  724. pref("intl.charsetmenu.browser.more2",      "chrome://navigator/locale/navigator.properties");
  725. pref("intl.charsetmenu.browser.more3",      "chrome://navigator/locale/navigator.properties");
  726. pref("intl.charsetmenu.browser.more4",      "chrome://navigator/locale/navigator.properties");
  727. pref("intl.charsetmenu.browser.more5",      "chrome://navigator/locale/navigator.properties");
  728. pref("intl.charsetmenu.browser.unicode",    "chrome://navigator/locale/navigator.properties");
  729. pref("intl.charsetmenu.mailedit",           "chrome://navigator/locale/navigator.properties");
  730. pref("intl.charsetmenu.browser.cache",      "");
  731. pref("intl.charsetmenu.mailview.cache",     "");
  732. pref("intl.charsetmenu.composer.cache",     "");
  733. pref("intl.charsetmenu.browser.cache.size", 5);
  734. pref("intl.charset.detector",               "chrome://navigator/locale/navigator.properties");
  735. pref("intl.charset.default",                "chrome://navigator-platform/locale/navigator.properties");
  736. pref("intl.content.langcode",               "chrome://communicator-region/locale/region.properties");
  737. pref("intl.locale.matchOS",                 false);
  738. // fallback charset list for Unicode conversion (converting from Unicode)
  739. // currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes)
  740. // for ISO-8859-1
  741. pref("intl.fallbackCharsetList.ISO-8859-1", "windows-1252");
  742. pref("font.language.group",                 "chrome://navigator/locale/navigator.properties");
  743.  
  744. pref("images.dither", "auto");
  745. pref("security.directory",              "");
  746.  
  747. pref("signed.applets.codebase_principal_support", false);
  748. pref("security.checkloaduri", false);
  749. pref("security.xpconnect.plugin.unrestricted", true);
  750. // security-sensitive dialogs should delay button enabling. In milliseconds.
  751. pref("security.dialog_enable_delay", 2000);
  752.  
  753. // Modifier key prefs: default to Windows settings,
  754. // menu access key = alt, accelerator key = control.
  755. // Use 17 for Ctrl, 18 for Alt, 224 for Meta, 0 for none. Mac settings in macprefs.js
  756. pref("ui.key.accelKey", 17);
  757. pref("ui.key.generalAccessKey", 18);
  758. pref("ui.key.menuAccessKey", 18);
  759.  
  760. pref("ui.key.menuAccessKeyFocuses", false); // overridden below
  761. pref("ui.key.saveLink.shift", true); // true = shift, false = meta
  762.  
  763. // Middle-mouse handling
  764. pref("middlemouse.paste", false);
  765. pref("middlemouse.openNewWindow", true);
  766. pref("middlemouse.contentLoadURL", false);
  767. pref("middlemouse.scrollbarPosition", false);
  768.  
  769. // Clipboard behavior
  770. pref("clipboard.autocopy", false);
  771.  
  772. // 0=lines, 1=pages, 2=history , 3=text size
  773. pref("mousewheel.withnokey.action",0);
  774. pref("mousewheel.withnokey.numlines",1);    
  775. pref("mousewheel.withnokey.sysnumlines",true);
  776. pref("mousewheel.withcontrolkey.action",0);
  777. pref("mousewheel.withcontrolkey.numlines",1);
  778. pref("mousewheel.withcontrolkey.sysnumlines",true);
  779. // mousewheel.withshiftkey, see the Mac note below.
  780. pref("mousewheel.withshiftkey.action",0);
  781. pref("mousewheel.withshiftkey.numlines",1);
  782. pref("mousewheel.withshiftkey.sysnumlines",true);
  783. pref("mousewheel.withaltkey.action",2);
  784. pref("mousewheel.withaltkey.numlines",1);
  785. pref("mousewheel.withaltkey.sysnumlines",false);
  786. pref("mousewheel.withmetakey.action",0);
  787. pref("mousewheel.withmetakey.numlines",1);
  788. pref("mousewheel.withmetakey.sysnumlines",true);
  789.  
  790. // on platforms where scroll messages differ between horizontal scroll
  791. // and back/forward button events we can activate them by default
  792. //@line 810 "/Users/jadeliquid/Documents/camino1.0/mozilla/modules/libpref/src/init/all.js"
  793. // The Mac does interesting things with horizontal scrolling.  If a
  794. // scroll event comes from a pointing device with a scroll wheel for
  795. // the vertical axis, and the user is holding the shift key, the event
  796. // comes through as a horizontal scroll event with the shift key
  797. // (mousewheel.horizscroll.withshiftkey) and not mousewheel.withshiftkey.
  798. // These events should map to horizontal scroll to maintain platform
  799. // UI consistency.
  800. //@line 822 "/Users/jadeliquid/Documents/camino1.0/mozilla/modules/libpref/src/init/all.js"
  801. // activate horizontal scrolling by default
  802. pref("mousewheel.horizscroll.withnokey.action",0);
  803. pref("mousewheel.horizscroll.withnokey.numlines",1);
  804. pref("mousewheel.horizscroll.withnokey.sysnumlines",true);
  805. pref("mousewheel.horizscroll.withcontrolkey.action",0);
  806. pref("mousewheel.horizscroll.withcontrolkey.numlines",1);
  807. pref("mousewheel.horizscroll.withcontrolkey.sysnumlines",true);
  808. pref("mousewheel.horizscroll.withshiftkey.action",0);
  809. pref("mousewheel.horizscroll.withshiftkey.numlines",1);
  810. pref("mousewheel.horizscroll.withshiftkey.sysnumlines",true);
  811. pref("mousewheel.horizscroll.withaltkey.action",2);
  812. pref("mousewheel.horizscroll.withaltkey.numlines",-1);
  813. pref("mousewheel.horizscroll.withaltkey.sysnumlines",false);
  814. pref("mousewheel.horizscroll.withmetakey.action",0);
  815. pref("mousewheel.horizscroll.withmetakey.numlines",1);
  816. pref("mousewheel.horizscroll.withmetakey.sysnumlines",true);
  817. //@line 857 "/Users/jadeliquid/Documents/camino1.0/mozilla/modules/libpref/src/init/all.js"
  818.  
  819. pref("profile.confirm_automigration",true);
  820. // profile.migration_behavior determines how the profiles root is set
  821. // 0 - use NS_APP_USER_PROFILES_ROOT_DIR
  822. // 1 - create one based on the NS4.x profile root
  823. // 2 - use, if not empty, profile.migration_directory otherwise same as 0
  824. pref("profile.migration_behavior",0);
  825. pref("profile.migration_directory", "");
  826.  
  827. // the amount of time (in seconds) that must elapse
  828. // before we think your mozilla profile is defunct
  829. // and you'd benefit from re-migrating from 4.x
  830. // see bug #137886 for more details
  831. //
  832. // if -1, we never think your profile is defunct
  833. // and users will never see the remigrate UI.
  834. pref("profile.seconds_until_defunct", -1);
  835. // We can show it anytime from menus
  836. pref("profile.manage_only_at_launch", false);
  837.  
  838. pref("prefs.converted-to-utf8",false);
  839.  
  840. // --------------------------------------------------
  841. // IBMBIDI 
  842. // --------------------------------------------------
  843. //
  844. // ------------------
  845. //  Text Direction
  846. // ------------------
  847. // 1 = directionLTRBidi *
  848. // 2 = directionRTLBidi
  849. pref("bidi.direction", 1);
  850. // ------------------
  851. //  Text Type
  852. // ------------------
  853. // 1 = charsettexttypeBidi *
  854. // 2 = logicaltexttypeBidi
  855. // 3 = visualtexttypeBidi
  856. pref("bidi.texttype", 1);
  857. // ------------------
  858. //  Controls Text Mode
  859. // ------------------
  860. // 1 = logicalcontrolstextmodeBidiCmd
  861. // 2 = visualcontrolstextmodeBidi <-- NO LONGER SUPPORTED
  862. // 3 = containercontrolstextmodeBidi *
  863. pref("bidi.controlstextmode", 1);
  864. // ------------------
  865. //  Numeral Style
  866. // ------------------
  867. // 0 = nominalnumeralBidi *
  868. // 1 = regularcontextnumeralBidi
  869. // 2 = hindicontextnumeralBidi
  870. // 3 = arabicnumeralBidi
  871. // 4 = hindinumeralBidi
  872. pref("bidi.numeral", 0);
  873. // ------------------
  874. //  Support Mode
  875. // ------------------
  876. // 1 = mozillaBidisupport *
  877. // 2 = OsBidisupport
  878. // 3 = disableBidisupport
  879. pref("bidi.support", 1);
  880. // ------------------
  881. //  Charset Mode
  882. // ------------------
  883. // 1 = doccharactersetBidi *
  884. // 2 = defaultcharactersetBidi
  885. pref("bidi.characterset", 1);
  886.  
  887.  
  888. // used for double-click word selection behavior. Win will override.
  889. pref("layout.word_select.eat_space_to_next_word", false);
  890. pref("layout.word_select.stop_at_punctuation", true);
  891.  
  892. // pref to control whether or not to replace backslashes with Yen signs
  893. // in documents encoded in one of Japanese legacy encodings (EUC-JP, 
  894. // Shift_JIS, ISO-2022-JP)
  895. pref("layout.enable_japanese_specific_transform", false);
  896.  
  897. // pref to force frames to be resizable
  898. pref("layout.frames.force_resizability", false);
  899.  
  900. // pref to permit users to make verified SOAP calls by default
  901. pref("capability.policy.default.SOAPCall.invokeVerifySourceHeader", "allAccess");
  902.  
  903. // if true, allow plug-ins to override internal imglib decoder mime types in full-page mode
  904. pref("plugin.override_internal_types", false);
  905. pref("plugin.expose_full_path", false); // if true navigator.plugins reveals full path
  906.  
  907. // See bug 136985.  Gives embedders a pref to hook into to show
  908. // a popup blocker if they choose.
  909. pref("browser.popups.showPopupBlocker", true);
  910.  
  911. // Pref to control whether the viewmanager code does double-buffering or not
  912. // See http://bugzilla.mozilla.org/show_bug.cgi?id=169483 for further details...
  913. pref("viewmanager.do_doublebuffering", true);
  914.  
  915. // which files will be selected for roaming by default.
  916. // See sroaming/content/prefs/all.js
  917. pref("roaming.default.files", "bookmarks.html,abook.mab,cookies.txt");
  918. // display some general warning to the user about making backups, security etc.
  919. pref("roaming.showInitialWarning", true);
  920.  
  921. // whether use prefs from system
  922. pref("config.use_system_prefs", false);
  923.  
  924. // if the system has enabled accessibility
  925. pref("config.use_system_prefs.accessibility", false);
  926.  
  927. /*
  928.  * What are the entities that you want Mozilla to save using mnemonic
  929.  * names rather than numeric codes? E.g. If set, we'll output  
  930.  * otherwise, we may output 0xa0 depending on the charset.
  931.  *
  932.  * "none"   : don't use any entity names; only use numeric codes.
  933.  * "basic"  : use entity names just for   & < > " for 
  934.  *            interoperability/exchange with products that don't support more
  935.  *            than that.
  936.  * "latin1" : use entity names for 8bit accented letters and other special
  937.  *            symbols between 128 and 255.
  938.  * "html"   : use entity names for 8bit accented letters, greek letters, and
  939.  *            other special markup symbols as defined in HTML4.
  940.  */
  941. //pref("editor.encode_entity",                 "html");
  942.  
  943. pref("editor.resizing.preserve_ratio",       true);
  944. pref("editor.positioning.offset",            0);
  945.  
  946. pref("dom.max_script_run_time", 5);
  947.  
  948. pref("svg.enabled", true);
  949.  
  950. //@line 1320 "/Users/jadeliquid/Documents/camino1.0/mozilla/modules/libpref/src/init/all.js"
  951.  
  952. //@line 1322 "/Users/jadeliquid/Documents/camino1.0/mozilla/modules/libpref/src/init/all.js"
  953. // Mac specific preference defaults
  954. pref("browser.drag_out_of_frame_style", 1);
  955. pref("ui.key.saveLink.shift", false); // true = shift, false = meta
  956.  
  957. // default font name (in UTF8)
  958.  
  959. pref("font.name.serif.ar", "Lucida Grande");
  960. pref("font.name.sans-serif.ar", "Lucida Grande");
  961. pref("font.name.monospace.ar", "Monaco");
  962. pref("font.name.cursive.ar", "XXX.cursive");
  963. pref("font.name.fantasy.ar", "XXX.fantasy");
  964.  
  965. pref("font.name.serif.el", "Lucida Grande");
  966. pref("font.name.sans-serif.el", "Lucida Grande");
  967. pref("font.name.monospace.el", "Monaco");
  968. pref("font.name.cursive.el", "XXX.cursive");
  969. pref("font.name.fantasy.el", "XXX.fantasy");
  970.  
  971. pref("font.name.serif.he", "Lucida Grande");
  972. pref("font.name.sans-serif.he", "Lucida Grande");
  973. pref("font.name.monospace.he", "Monaco");
  974. pref("font.name.cursive.he", "XXX.cursive");
  975. pref("font.name.fantasy.he", "XXX.fantasy");
  976.  
  977. pref("font.name.serif.ja", "πâÆπâ⌐πé«πâĵÿĵ£¥ Pro W3"); 
  978. pref("font.name.sans-serif.ja", "πâÆπâ⌐πé«πâÄΦºÆπé┤ Pro W3"); 
  979. pref("font.name.monospace.ja", "OsakaΓêÆτ¡ëσ╣à"); 
  980. pref("font.name.cursive.ja", "XXX.cursive");
  981. pref("font.name.fantasy.ja", "XXX.fantasy");
  982.  
  983. pref("font.name.serif.ko", "AppleMyungjo"); 
  984. pref("font.name.sans-serif.ko", "AppleGothic"); 
  985. pref("font.name.monospace.ko", "AppleGothic"); 
  986. pref("font.name.cursive.ko", "XXX.cursive");
  987. pref("font.name.fantasy.ko", "XXX.fantasy");
  988.  
  989. pref("font.name.serif.th", "Lucida Grande");
  990. pref("font.name.sans-serif.th", "Lucida Grande");
  991. pref("font.name.monospace.th", "Monaco");
  992. pref("font.name.cursive.th", "XXX.cursive");
  993. pref("font.name.fantasy.th", "XXX.fantasy");
  994.  
  995. pref("font.name.serif.tr", "Times");
  996. pref("font.name.sans-serif.tr", "Helvetica");
  997. pref("font.name.monospace.tr", "Courier");
  998. pref("font.name.cursive.tr", "Apple Chancery");
  999. pref("font.name.fantasy.tr", "Papyrus");
  1000.  
  1001. pref("font.name.serif.x-baltic", "Times");
  1002. pref("font.name.sans-serif.x-baltic", "Helvetica");
  1003. pref("font.name.monospace.x-baltic", "Courier");
  1004. pref("font.name.cursive.x-baltic", "Apple Chancery");
  1005. pref("font.name.fantasy.x-baltic", "Papyrus");
  1006.  
  1007. pref("font.name.serif.x-central-euro", "Times");
  1008. pref("font.name.sans-serif.x-central-euro", "Helvetica");
  1009. pref("font.name.monospace.x-central-euro", "Courier");
  1010. pref("font.name.cursive.x-central-euro", "Apple Chancery");
  1011. pref("font.name.fantasy.x-central-euro", "Papyrus");
  1012.  
  1013. pref("font.name.serif.x-cyrillic", "Times CY");
  1014. pref("font.name.sans-serif.x-cyrillic", "Helvetica CY");
  1015. pref("font.name.monospace.x-cyrillic", "Monaco CY");
  1016. pref("font.name.cursive.x-cyrillic", "Geneva CY");
  1017. pref("font.name.fantasy.x-cyrillic", "Charcoal CY");
  1018.  
  1019. pref("font.name.serif.x-unicode", "Times");
  1020. pref("font.name.sans-serif.x-unicode", "Helvetica");
  1021. pref("font.name.monospace.x-unicode", "Courier");
  1022. pref("font.name.cursive.x-unicode", "Apple Chancery");
  1023. pref("font.name.fantasy.x-unicode", "Papyrus");
  1024.  
  1025. pref("font.name.serif.x-western", "Times");
  1026. pref("font.name.sans-serif.x-western", "Helvetica");
  1027. pref("font.name.monospace.x-western", "Courier");
  1028. pref("font.name.cursive.x-western", "Apple Chancery");
  1029. pref("font.name.fantasy.x-western", "Papyrus");
  1030.  
  1031. pref("font.name.serif.zh-CN", "Song");
  1032. pref("font.name.sans-serif.zh-CN", "Hei");
  1033. pref("font.name.monospace.zh-CN", "Hei");
  1034. pref("font.name.cursive.zh-CN", "XXX.cursive");
  1035. pref("font.name.fantasy.zh-CN", "XXX.fantasy");
  1036.  
  1037. pref("font.name.serif.zh-TW", "Apple LiSung Light"); 
  1038. pref("font.name.sans-serif.zh-TW", "Apple LiGothic Medium");  
  1039. pref("font.name.monospace.zh-TW", "Apple LiGothic Medium");  
  1040. pref("font.name.cursive.zh-TW", "XXX.cursive");
  1041. pref("font.name.fantasy.zh-TW", "XXX.fantasy");
  1042.  
  1043. pref("font.name.serif.zh-HK", "σä╖σ«ï Pro");
  1044. pref("font.name.sans-serif.zh-HK", "σä╖Θ╗æ Pro");
  1045. pref("font.name.monospace.zh-HK", "σä╖Θ╗æ Pro");
  1046. pref("font.name.cursive.zh-HK", "XXX.cursive");
  1047. pref("font.name.fantasy.zh-HK", "XXX.fantasy");
  1048.  
  1049. pref("font.default.ar", "sans-serif");
  1050. pref("font.size.variable.ar", 15);
  1051. pref("font.size.fixed.ar", 13);
  1052.  
  1053. pref("font.default.el", "serif");
  1054. pref("font.size.variable.el", 16);
  1055. pref("font.size.fixed.el", 13);
  1056.  
  1057. pref("font.default.he", "sans-serif");
  1058. pref("font.size.variable.he", 15);
  1059. pref("font.size.fixed.he", 13);
  1060.  
  1061. pref("font.default.ja", "sans-serif");
  1062. pref("font.size.variable.ja", 14);
  1063. pref("font.size.fixed.ja", 14);
  1064.  
  1065. pref("font.default.ko", "sans-serif");
  1066. pref("font.size.variable.ko", 16);
  1067. pref("font.size.fixed.ko", 16);
  1068.  
  1069. pref("font.default.th", "serif");
  1070. pref("font.size.variable.th", 16);
  1071. pref("font.size.fixed.th", 13);
  1072.  
  1073. pref("font.default.tr", "serif");
  1074. pref("font.size.variable.tr", 16);
  1075. pref("font.size.fixed.tr", 13);
  1076.  
  1077. pref("font.default.x-baltic", "serif");
  1078. pref("font.size.variable.x-baltic", 16);
  1079. pref("font.size.fixed.x-baltic", 13);
  1080.  
  1081. pref("font.default.x-central-euro", "serif");
  1082. pref("font.size.variable.x-central-euro", 16);
  1083. pref("font.size.fixed.x-central-euro", 13);
  1084.  
  1085. pref("font.default.x-cyrillic", "serif");
  1086. pref("font.size.variable.x-cyrillic", 16);
  1087. pref("font.size.fixed.x-cyrillic", 13);
  1088.  
  1089. pref("font.default.x-unicode", "serif");
  1090. pref("font.size.variable.x-unicode", 16);
  1091. pref("font.size.fixed.x-unicode", 13);
  1092.  
  1093. pref("font.default.x-western", "serif");
  1094. pref("font.size.variable.x-western", 16);
  1095. pref("font.size.fixed.x-western", 13);
  1096.  
  1097. pref("font.default.zh-CN", "sans-serif");
  1098. pref("font.size.variable.zh-CN", 15);
  1099. pref("font.size.fixed.zh-CN", 16);
  1100.  
  1101. pref("font.default.zh-TW", "sans-serif");
  1102. pref("font.size.variable.zh-TW", 15);
  1103. pref("font.size.fixed.zh-TW", 16);
  1104.  
  1105. pref("font.default.zh-HK", "sans-serif");
  1106. pref("font.size.variable.zh-HK", 15);
  1107. pref("font.size.fixed.zh-HK", 16);
  1108.  
  1109. pref("browser.urlbar.clickAtEndSelects", false);
  1110.  
  1111. pref("accessibility.typeaheadfind.soundURL", "beep");
  1112.  
  1113. // Override the Windows settings: no menu key, meta accelerator key. ctrl for general access key in HTML/XUL
  1114. // Use 17 for Ctrl, 18 for Option, 224 for Cmd, 0 for none
  1115. pref("ui.key.menuAccessKey", 0);
  1116. pref("ui.key.accelKey", 224);
  1117. // (pinkerton, joki, saari) IE5 for mac uses Control for access keys. The HTML4 spec
  1118. // suggests to use command on mac, but this really sucks (imagine someone having a "q"
  1119. // as an access key and not letting you quit the app!). As a result, we've made a 
  1120. // command decision 1 day before tree lockdown to change it to the control key.
  1121. pref("ui.key.generalAccessKey", 17);
  1122.  
  1123. // print_extra_margin enables platforms to specify an extra gap or margin
  1124. // around the content of the page for Print Preview only
  1125. pref("print.print_extra_margin", 90); // twips (90 twips is an eigth of an inch)
  1126.  
  1127. // This indicates whether it should use the native dialog or the XP Dialog
  1128. pref("print.use_native_print_dialog", true);
  1129.  
  1130. // Disable IPv6 name lookups by default.
  1131. // This is because OS X (including 10.3) always performs IPv6 name lookups
  1132. // even if IPv6 is turned off at the OS level. This causes long delays even
  1133. // for people who use IPv4 only. See bugs 231607 and 68796.
  1134. pref("network.dns.disableIPv6", true);
  1135.  
  1136. //@line 1507 "/Users/jadeliquid/Documents/camino1.0/mozilla/modules/libpref/src/init/all.js"
  1137.  
  1138. //@line 1696 "/Users/jadeliquid/Documents/camino1.0/mozilla/modules/libpref/src/init/all.js"
  1139.  
  1140. //@line 1777 "/Users/jadeliquid/Documents/camino1.0/mozilla/modules/libpref/src/init/all.js"
  1141.  
  1142. //@line 2195 "/Users/jadeliquid/Documents/camino1.0/mozilla/modules/libpref/src/init/all.js"
  1143.  
  1144. //@line 2263 "/Users/jadeliquid/Documents/camino1.0/mozilla/modules/libpref/src/init/all.js"
  1145.  
  1146. //@line 2289 "/Users/jadeliquid/Documents/camino1.0/mozilla/modules/libpref/src/init/all.js"
  1147.  
  1148. //@line 2309 "/Users/jadeliquid/Documents/camino1.0/mozilla/modules/libpref/src/init/all.js"
  1149.  
  1150.