CLOSED TREE: TraceMonkey merge head. (a=blockers)
[mozilla-central.git] / modules / libpref / src / init / all.js
blob64d8371686ed90a5e9b6775d042d75fa94811263
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 ***** */
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  */
47 // SYNTAX HINTS:  dashes are delimiters.  Use underscores instead.
48 //  The first character after a period must be alphabetic.
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://global/locale/intl.properties");
53 pref("general.useragent.compatMode.firefox", false);
55 pref("general.config.obscure_value", 13); // for MCD .cfg files
57 pref("general.warnOnAboutConfig", true);
59 // maximum number of dated backups to keep at any time
60 pref("browser.bookmarks.max_backups",       5);
62 pref("browser.cache.disk.enable",           true);
63 // Is this the first-time smartsizing has been introduced?
64 pref("browser.cache.disk.smart_size.first_run", true);
65 // Does the user want smart-sizing?
66 pref("browser.cache.disk.smart_size.enabled", true);
67 // Size explicitly set by the user. Used when smart_size.enabled == false
68 #ifndef WINCE
69 pref("browser.cache.disk.capacity",         256000);
70 #else
71 pref("browser.cache.disk.capacity",         20000);
72 #endif
73 pref("browser.cache.memory.enable",         true);
74 //pref("browser.cache.memory.capacity",     -1);
75 // -1 = determine dynamically, 0 = none, n = memory capacity in kilobytes
76 pref("browser.cache.disk_cache_ssl",        true);
77 // 0 = once-per-session, 1 = each-time, 2 = never, 3 = when-appropriate/automatically
78 pref("browser.cache.check_doc_frequency",   3);
80 pref("browser.cache.offline.enable",           true);
81 #ifndef WINCE
82 // offline cache capacity in kilobytes
83 pref("browser.cache.offline.capacity",         512000);
85 // offline apps should be limited to this much data in global storage
86 // (in kilobytes)
87 pref("offline-apps.quota.max",        204800);
89 // the user should be warned if offline app disk usage exceeds this amount
90 // (in kilobytes)
91 pref("offline-apps.quota.warn",        51200);
92 #else
93 // Limited disk space on WinCE, tighten limits.
94 pref("browser.cache.offline.capacity", 15000);
95 pref("offline-apps.quota.max",          7000);
96 pref("offline-apps.quota.warn",         4000);
97 #endif
99 // Whether or not indexedDB is enabled.
100 pref("dom.indexedDB.enabled", true);
101 // Space to allow indexedDB databases before prompting (in MB).
102 pref("dom.indexedDB.warningQuota", 50);
104 // Fastback caching - if this pref is negative, then we calculate the number
105 // of content viewers to cache based on the amount of available memory.
106 pref("browser.sessionhistory.max_total_viewers", -1);
108 pref("browser.sessionhistory.optimize_eviction", false);
110 pref("ui.use_native_colors", true);
111 pref("ui.use_native_popup_windows", false);
112 pref("ui.click_hold_context_menus", false);
113 pref("browser.display.use_document_fonts",  1);  // 0 = never, 1 = quick, 2 = always
114 pref("browser.display.use_document_colors", true);
115 pref("browser.display.use_system_colors",   false);
116 pref("browser.display.foreground_color",    "#000000");
117 pref("browser.display.background_color",    "#FFFFFF");
118 pref("browser.display.force_inline_alttext", false); // true = force ALT text for missing images to be layed out inline
119 // 0 = no external leading, 
120 // 1 = use external leading only when font provides, 
121 // 2 = add extra leading both internal leading and external leading are zero
122 pref("browser.display.normal_lineheight_calc_control", 2);
123 pref("browser.display.show_image_placeholders", true); // true = show image placeholders while image is loaded and when image is broken
124 // min font device pixel size at which to turn on high quality
125 pref("browser.display.auto_quality_min_font_size", 20);
126 pref("browser.anchor_color",                "#0000EE");
127 pref("browser.active_color",                "#EE0000");
128 pref("browser.visited_color",               "#551A8B");
129 pref("browser.underline_anchors",           true);
130 pref("browser.blink_allowed",               true);
131 pref("browser.enable_automatic_image_resizing", false);
132 pref("browser.enable_click_image_resizing", true);
134 // See http://dev.w3.org/html5/spec/forms.html#attr-fe-autofocus
135 pref("browser.autofocus", true);
137 // See http://whatwg.org/specs/web-apps/current-work/#ping
138 pref("browser.send_pings", false);
139 pref("browser.send_pings.max_per_link", 1);           // limit the number of pings that are sent per link click
140 pref("browser.send_pings.require_same_host", false);  // only send pings to the same host if this is true
142 pref("browser.display.use_focus_colors",    false);
143 pref("browser.display.focus_background_color", "#117722");
144 pref("browser.display.focus_text_color",     "#ffffff");
145 pref("browser.display.focus_ring_width",     1);
146 pref("browser.display.focus_ring_on_anything", false);
147 // focus ring border style.
148 // 0 = solid border, 1 = dotted border
149 pref("browser.display.focus_ring_style", 1);
151 pref("browser.helperApps.alwaysAsk.force",  false);
152 pref("browser.helperApps.neverAsk.saveToDisk", "");
153 pref("browser.helperApps.neverAsk.openFile", "");
155 // xxxbsmedberg: where should prefs for the toolkit go?
156 pref("browser.chrome.toolbar_tips",         true);
157 // 0 = Pictures Only, 1 = Text Only, 2 = Pictures and Text
158 pref("browser.chrome.toolbar_style",        2);
159 // max image size for which it is placed in the tab icon for tabbrowser.
160 // if 0, no images are used for tab icons for image documents.
161 pref("browser.chrome.image_icons.max_size", 1024);
163 pref("browser.triple_click_selects_paragraph", true);
165 // When loading <video> or <audio>, check for Access-Control-Allow-Origin
166 // header, and disallow the connection if not present or permitted.
167 pref("media.enforce_same_site_origin", false);
169 // Media cache size in kilobytes
170 pref("media.cache_size", 512000);
172 #ifdef MOZ_RAW
173 pref("media.raw.enabled", true);
174 #endif
175 #ifdef MOZ_OGG
176 pref("media.ogg.enabled", true);
177 #endif
178 #ifdef MOZ_WAVE
179 pref("media.wave.enabled", true);
180 #endif
181 #ifdef MOZ_WEBM
182 pref("media.webm.enabled", true);
183 #endif
185 // Whether to autostart a media element with an |autoplay| attribute
186 pref("media.autoplay.enabled", true);
188 // 0 = Off, 1 = Full, 2 = Tagged Images Only. 
189 // See eCMSMode in gfx/thebes/gfxPlatform.h
190 pref("gfx.color_management.mode", 2);
191 pref("gfx.color_management.display_profile", "");
192 pref("gfx.color_management.rendering_intent", 0);
194 pref("gfx.downloadable_fonts.enabled", true);
195 pref("gfx.downloadable_fonts.fallback_delay", 3000);
196 pref("gfx.downloadable_fonts.sanitize", true);
197 #ifdef XP_MACOSX
198 pref("gfx.downloadable_fonts.sanitize.preserve_otl_tables", false);
199 #else
200 pref("gfx.downloadable_fonts.sanitize.preserve_otl_tables", true);
201 #endif
203 pref("gfx.font_rendering.harfbuzz.level", 2);
205 #ifdef XP_WIN
206 #ifndef WINCE
207 pref("gfx.font_rendering.directwrite.enabled", false);
208 pref("gfx.font_rendering.directwrite.use_gdi_table_loading", true);
209 #endif
210 #endif
212 pref("accessibility.browsewithcaret", false);
213 pref("accessibility.warn_on_browsewithcaret", true);
215 pref("accessibility.browsewithcaret_shortcut.enabled", true);
217 #ifndef XP_MACOSX
218 // Tab focus model bit field:
219 // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
220 // Most users will want 1, 3, or 7.
221 // On OS X, we use Full Keyboard Access system preference,
222 // unless accessibility.tabfocus is set by the user.
223 pref("accessibility.tabfocus", 7);
224 pref("accessibility.tabfocus_applies_to_xul", false);
226 // Forcibly disable a11y on win32, even if something attempts
227 // to enable it.
228 pref("accessibility.win32.force_disabled", false);
230 // On OS X, we follow the "Click in the scrollbar to:" system preference
231 // unless this preference was set manually
232 pref("ui.scrollToClick", 0);
234 #else
235 // Only on mac tabfocus is expected to handle UI widgets as well as web content
236 pref("accessibility.tabfocus_applies_to_xul", true);
237 #endif
239 pref("accessibility.usetexttospeech", "");
240 pref("accessibility.usebrailledisplay", "");
241 pref("accessibility.accesskeycausesactivation", true);
242 pref("accessibility.mouse_focuses_formcontrol", false);
244 // Type Ahead Find
245 pref("accessibility.typeaheadfind", true);
246 pref("accessibility.typeaheadfind.autostart", true);
247 // casesensitive: controls the find bar's case-sensitivity
248 //     0 - "never"  (case-insensitive)
249 //     1 - "always" (case-sensitive)
250 // other - "auto"   (case-sensitive for mixed-case input, insensitive otherwise)
251 pref("accessibility.typeaheadfind.casesensitive", 0);
252 pref("accessibility.typeaheadfind.linksonly", true);
253 pref("accessibility.typeaheadfind.startlinksonly", false);
254 pref("accessibility.typeaheadfind.timeout", 4000);
255 pref("accessibility.typeaheadfind.enabletimeout", true);
256 pref("accessibility.typeaheadfind.soundURL", "beep");
257 pref("accessibility.typeaheadfind.enablesound", true);
258 pref("accessibility.typeaheadfind.prefillwithselection", true);
260 // use Mac OS X Appearance panel text smoothing setting when rendering text, disabled by default
261 pref("gfx.use_text_smoothing_setting", false);
263 // loading and rendering of framesets and iframes
264 pref("browser.frames.enabled", true);
266 // Number of characters to consider emphasizing for rich autocomplete results
267 pref("toolkit.autocomplete.richBoundaryCutoff", 200);
269 pref("toolkit.scrollbox.smoothScroll", true);
270 pref("toolkit.scrollbox.scrollIncrement", 20);
271 pref("toolkit.scrollbox.clickToScroll.scrollDelay", 150);
273 // view source
274 pref("view_source.syntax_highlight", true);
275 pref("view_source.wrap_long_lines", false);
276 pref("view_source.editor.external", false);
277 pref("view_source.editor.path", "");
278 // allows to add further arguments to the editor; use the %LINE% placeholder
279 // for jumping to a specific line (e.g. "/line:%LINE%" or "--goto %LINE%")
280 pref("view_source.editor.args", "");
282 // dispatch left clicks only to content in browser (still allows clicks to chrome/xul)
283 pref("nglayout.events.dispatchLeftClickOnly", true);
285 // whether or not to draw images while dragging
286 pref("nglayout.enable_drag_images", true);
288 // scrollbar snapping region
289 // 0 - off
290 // 1 and higher - slider thickness multiple
291 pref("slider.snapMultiplier", 0);
293 // option to choose plug-in finder
294 pref("application.use_ns_plugin_finder", false);
296 // URI fixup prefs
297 pref("browser.fixup.alternate.enabled", true);
298 pref("browser.fixup.alternate.prefix", "www.");
299 pref("browser.fixup.alternate.suffix", ".com");
300 pref("browser.fixup.hide_user_pass", true);
302 // Location Bar AutoComplete
303 pref("browser.urlbar.autocomplete.enabled", true);
305 // Print header customization
306 // Use the following codes:
307 // &T - Title
308 // &U - Document URL
309 // &D - Date/Time
310 // &P - Page Number
311 // &PT - Page Number "of" Page total
312 // Set each header to a string containing zero or one of these codes
313 // and the code will be replaced in that string by the corresponding data
314 pref("print.print_headerleft", "&T");
315 pref("print.print_headercenter", "");
316 pref("print.print_headerright", "&U");
317 pref("print.print_footerleft", "&PT");
318 pref("print.print_footercenter", "");
319 pref("print.print_footerright", "&D");
320 pref("print.show_print_progress", true);
322 // xxxbsmedberg: more toolkit prefs
324 // When this is set to false each window has its own PrintSettings
325 // and a change in one window does not affect the others
326 pref("print.use_global_printsettings", true);
328 // Save the Printings after each print job
329 pref("print.save_print_settings", true);
331 pref("print.whileInPrintPreview", true);
333 // Cache old Presentation when going into Print Preview
334 pref("print.always_cache_old_pres", false);
336 // Enables you to specify the amount of the paper that is to be treated
337 // as unwriteable.  The print_edge_XXX and print_margin_XXX preferences
338 // are treated as offsets that are added to this pref.
339 // Default is "-1", which means "use the system default".  (If there is
340 // no system default, then the -1 is treated as if it were 0.)
341 // This is used by both Printing and Print Preview.
342 // Units are in 1/100ths of an inch.
343 pref("print.print_unwriteable_margin_top",    -1);
344 pref("print.print_unwriteable_margin_left",   -1);
345 pref("print.print_unwriteable_margin_right",  -1);
346 pref("print.print_unwriteable_margin_bottom", -1);
348 // Enables you to specify the gap from the edge of the paper's 
349 // unwriteable area to the margin.
350 // This is used by both Printing and Print Preview
351 // Units are in 1/100ths of an inch.
352 pref("print.print_edge_top", 0);
353 pref("print.print_edge_left", 0);
354 pref("print.print_edge_right", 0);
355 pref("print.print_edge_bottom", 0);
357 // Pref used by the spellchecker extension to control the 
358 // maximum number of misspelled words that will be underlined
359 // in a document.
360 pref("extensions.spellcheck.inline.max-misspellings", 500);
362 // Prefs used by libeditor. Prefs specific to seamonkey composer
363 // belong in comm-central/editor/ui/composer.js
365 pref("editor.use_custom_colors", false);
366 pref("editor.singleLine.pasteNewlines",      2);
367 pref("editor.quotesPreformatted",            false);
368 pref("editor.use_css",                       true);
369 pref("editor.css.default_length_unit",       "px");
370 pref("editor.resizing.preserve_ratio",       true);
371 pref("editor.positioning.offset",            0);
374 // Default Capability Preferences: Security-Critical! 
375 // Editing these may create a security risk - be sure you know what you're doing
376 //pref("capability.policy.default.barprop.visible.set", "UniversalBrowserWrite");
378 pref("capability.policy.default_policynames", "mailnews");
380 pref("capability.policy.default.DOMException.code", "allAccess");
381 pref("capability.policy.default.DOMException.message", "allAccess");
382 pref("capability.policy.default.DOMException.name", "allAccess");
383 pref("capability.policy.default.DOMException.result", "allAccess");
384 pref("capability.policy.default.DOMException.toString.get", "allAccess");
386 pref("capability.policy.default.History.back.get", "allAccess");
387 pref("capability.policy.default.History.current", "UniversalBrowserRead");
388 pref("capability.policy.default.History.forward.get", "allAccess");
389 pref("capability.policy.default.History.go.get", "allAccess");
390 pref("capability.policy.default.History.item", "UniversalBrowserRead");
391 pref("capability.policy.default.History.next", "UniversalBrowserRead");
392 pref("capability.policy.default.History.previous", "UniversalBrowserRead");
393 pref("capability.policy.default.History.toString", "UniversalBrowserRead");
395 pref("capability.policy.default.Location.hash.set", "allAccess");
396 pref("capability.policy.default.Location.href.set", "allAccess");
397 pref("capability.policy.default.Location.replace.get", "allAccess");
399 pref("capability.policy.default.Navigator.preference", "allAccess");
400 pref("capability.policy.default.Navigator.preferenceinternal.get", "UniversalPreferencesRead");
401 pref("capability.policy.default.Navigator.preferenceinternal.set", "UniversalPreferencesWrite");
403 pref("capability.policy.default.Window.blur.get", "allAccess");
404 pref("capability.policy.default.Window.close.get", "allAccess");
405 pref("capability.policy.default.Window.closed.get", "allAccess");
406 pref("capability.policy.default.Window.focus.get", "allAccess");
407 pref("capability.policy.default.Window.frames.get", "allAccess");
408 pref("capability.policy.default.Window.history.get", "allAccess");
409 pref("capability.policy.default.Window.length.get", "allAccess");
410 pref("capability.policy.default.Window.location", "allAccess");
411 pref("capability.policy.default.Window.opener.get", "allAccess");
412 pref("capability.policy.default.Window.parent.get", "allAccess");
413 pref("capability.policy.default.Window.postMessage.get", "allAccess");
414 pref("capability.policy.default.Window.self.get", "allAccess");
415 pref("capability.policy.default.Window.top.get", "allAccess");
416 pref("capability.policy.default.Window.window.get", "allAccess");
418 pref("capability.policy.default.Selection.addSelectionListener", "UniversalXPConnect");
419 pref("capability.policy.default.Selection.removeSelectionListener", "UniversalXPConnect");
421 // Restrictions on the DOM for mail/news - see bugs 66938 and 84545
422 pref("capability.policy.mailnews.sites", "mailbox: imap: news:");
424 pref("capability.policy.mailnews.*.attributes.get", "noAccess");
425 pref("capability.policy.mailnews.*.baseURI.get", "noAccess");
426 pref("capability.policy.mailnews.*.data.get", "noAccess");
427 pref("capability.policy.mailnews.*.getAttribute", "noAccess");
428 pref("capability.policy.mailnews.HTMLDivElement.getAttribute", "sameOrigin");
429 pref("capability.policy.mailnews.*.getAttributeNS", "noAccess");
430 pref("capability.policy.mailnews.*.getAttributeNode", "noAccess");
431 pref("capability.policy.mailnews.*.getAttributeNodeNS", "noAccess");
432 pref("capability.policy.mailnews.*.getNamedItem", "noAccess");
433 pref("capability.policy.mailnews.*.getNamedItemNS", "noAccess");
434 pref("capability.policy.mailnews.*.host.get", "noAccess");
435 pref("capability.policy.mailnews.*.hostname.get", "noAccess");
436 pref("capability.policy.mailnews.*.href.get", "noAccess");
437 pref("capability.policy.mailnews.*.innerHTML.get", "noAccess");
438 pref("capability.policy.mailnews.*.lowSrc.get", "noAccess");
439 pref("capability.policy.mailnews.*.nodeValue.get", "noAccess");
440 pref("capability.policy.mailnews.*.pathname.get", "noAccess");
441 pref("capability.policy.mailnews.*.protocol.get", "noAccess");
442 pref("capability.policy.mailnews.*.src.get", "noAccess");
443 pref("capability.policy.mailnews.*.substringData.get", "noAccess");
444 pref("capability.policy.mailnews.*.text.get", "noAccess");
445 pref("capability.policy.mailnews.*.textContent", "noAccess");
446 pref("capability.policy.mailnews.*.title.get", "noAccess");
447 pref("capability.policy.mailnews.*.wholeText", "noAccess");
448 pref("capability.policy.mailnews.DOMException.toString", "noAccess");
449 pref("capability.policy.mailnews.HTMLAnchorElement.toString", "noAccess");
450 pref("capability.policy.mailnews.HTMLDocument.domain", "noAccess");
451 pref("capability.policy.mailnews.HTMLDocument.URL", "noAccess");
452 pref("capability.policy.mailnews.*.documentURI", "noAccess");
453 pref("capability.policy.mailnews.Location.toString", "noAccess");
454 pref("capability.policy.mailnews.Range.toString", "noAccess");
455 pref("capability.policy.mailnews.Window.blur", "noAccess");
456 pref("capability.policy.mailnews.Window.focus", "noAccess");
457 pref("capability.policy.mailnews.Window.innerWidth.set", "noAccess");
458 pref("capability.policy.mailnews.Window.innerHeight.set", "noAccess");
459 pref("capability.policy.mailnews.Window.moveBy", "noAccess");
460 pref("capability.policy.mailnews.Window.moveTo", "noAccess");
461 pref("capability.policy.mailnews.Window.name.set", "noAccess");
462 pref("capability.policy.mailnews.Window.outerHeight.set", "noAccess");
463 pref("capability.policy.mailnews.Window.outerWidth.set", "noAccess");
464 pref("capability.policy.mailnews.Window.resizeBy", "noAccess");
465 pref("capability.policy.mailnews.Window.resizeTo", "noAccess");
466 pref("capability.policy.mailnews.Window.screenX.set", "noAccess");
467 pref("capability.policy.mailnews.Window.screenY.set", "noAccess");
468 pref("capability.policy.mailnews.Window.sizeToContent", "noAccess");
469 pref("capability.policy.mailnews.document.load", "noAccess");
470 pref("capability.policy.mailnews.XMLHttpRequest.channel", "noAccess");
471 pref("capability.policy.mailnews.XMLHttpRequest.getInterface", "noAccess");
472 pref("capability.policy.mailnews.XMLHttpRequest.responseXML", "noAccess");
473 pref("capability.policy.mailnews.XMLHttpRequest.responseText", "noAccess");
474 pref("capability.policy.mailnews.XMLHttpRequest.status", "noAccess");
475 pref("capability.policy.mailnews.XMLHttpRequest.statusText", "noAccess");
476 pref("capability.policy.mailnews.XMLHttpRequest.abort", "noAccess");
477 pref("capability.policy.mailnews.XMLHttpRequest.getAllResponseHeaders", "noAccess");
478 pref("capability.policy.mailnews.XMLHttpRequest.getResponseHeader", "noAccess");
479 pref("capability.policy.mailnews.XMLHttpRequest.open", "noAccess");
480 pref("capability.policy.mailnews.XMLHttpRequest.send", "noAccess");
481 pref("capability.policy.mailnews.XMLHttpRequest.setRequestHeader", "noAccess");
482 pref("capability.policy.mailnews.XMLHttpRequest.readyState", "noAccess");
483 pref("capability.policy.mailnews.XMLHttpRequest.overrideMimeType", "noAccess");
484 pref("capability.policy.mailnews.XMLHttpRequest.onload", "noAccess");
485 pref("capability.policy.mailnews.XMLHttpRequest.onerror", "noAccess");
486 pref("capability.policy.mailnews.XMLHttpRequest.onreadystatechange", "noAccess");
487 pref("capability.policy.mailnews.XMLSerializer.serializeToString", "noAccess");
488 pref("capability.policy.mailnews.XMLSerializer.serializeToStream", "noAccess");
489 pref("capability.policy.mailnews.DOMParser.parseFromString", "noAccess");
490 pref("capability.policy.mailnews.DOMParser.parseFromStream", "noAccess");
491 pref("capability.policy.mailnews.SOAPCall.transportURI", "noAccess");
492 pref("capability.policy.mailnews.SOAPCall.verifySourceHeader", "noAccess");
493 pref("capability.policy.mailnews.SOAPCall.invoke", "noAccess");
494 pref("capability.policy.mailnews.SOAPCall.asyncInvoke", "noAccess");
495 pref("capability.policy.mailnews.SOAPResponse.fault", "noAccess");
496 pref("capability.policy.mailnews.SOAPEncoding.styleURI", "noAccess");
497 pref("capability.policy.mailnews.SOAPEncoding.getAssociatedEncoding", "noAccess");
498 pref("capability.policy.mailnews.SOAPEncoding.setEncoder", "noAccess");
499 pref("capability.policy.mailnews.SOAPEncoding.getEncoder", "noAccess");
500 pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
501 pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
502 pref("capability.policy.mailnews.SOAPEncoding.getDecoder", "noAccess");
503 pref("capability.policy.mailnews.SOAPEncoding.defaultEncoder", "noAccess");
504 pref("capability.policy.mailnews.SOAPEncoding.defaultDecoder", "noAccess");
505 pref("capability.policy.mailnews.SOAPEncoding.schemaCollection", "noAccess");
506 pref("capability.policy.mailnews.SOAPEncoding.encode", "noAccess");
507 pref("capability.policy.mailnews.SOAPEncoding.decode", "noAccess");
508 pref("capability.policy.mailnews.SOAPEncoding.mapSchemaURI", "noAccess");
509 pref("capability.policy.mailnews.SOAPEncoding.unmapSchemaURI", "noAccess");
510 pref("capability.policy.mailnews.SOAPEncoding.getInternalSchemaURI", "noAccess");
511 pref("capability.policy.mailnews.SOAPEncoding.getExternalSchemaURI", "noAccess");
512 pref("capability.policy.mailnews.SOAPFault.element", "noAccess");
513 pref("capability.policy.mailnews.SOAPFault.faultNamespaceURI", "noAccess");
514 pref("capability.policy.mailnews.SOAPFault.faultCode", "noAccess");
515 pref("capability.policy.mailnews.SOAPFault.faultString", "noAccess");
516 pref("capability.policy.mailnews.SOAPFault.faultActor", "noAccess");
517 pref("capability.policy.mailnews.SOAPFault.detail", "noAccess");
518 pref("capability.policy.mailnews.SOAPHeaderBlock.actorURI", "noAccess");
519 pref("capability.policy.mailnews.SOAPHeaderBlock.mustUnderstand", "noAccess");
520 pref("capability.policy.mailnews.SOAPParameter", "noAccess");
521 pref("capability.policy.mailnews.SOAPPropertyBagMutator.propertyBag", "noAccess");
522 pref("capability.policy.mailnews.SOAPPropertyBagMutator.addProperty", "noAccess");
523 pref("capability.policy.mailnews.SchemaLoader.load", "noAccess");
524 pref("capability.policy.mailnews.SchemaLoader.loadAsync", "noAccess");
525 pref("capability.policy.mailnews.SchemaLoader.processSchemaElement", "noAccess");
526 pref("capability.policy.mailnews.SchemaLoader.onLoad", "noAccess");
527 pref("capability.policy.mailnews.SchemaLoader.onError", "noAccess");
528 pref("capability.policy.mailnews.WSDLLoader.load", "noAccess");
529 pref("capability.policy.mailnews.WSDLLoader.loadAsync", "noAccess");
530 pref("capability.policy.mailnews.WSDLLoader.onLoad", "noAccess");
531 pref("capability.policy.mailnews.WSDLLoader.onError", "noAccess");
532 pref("capability.policy.mailnews.WebServiceProxyFactory.createProxy", "noAccess");
533 pref("capability.policy.mailnews.WebServiceProxyFactory.createProxyAsync", "noAccess");
534 pref("capability.policy.mailnews.WebServiceProxyFactory.onLoad", "noAccess");
535 pref("capability.policy.mailnews.WebServiceProxyFactory.onError", "noAccess");
537 // XMLExtras
538 pref("capability.policy.default.XMLHttpRequest.channel", "noAccess");
539 pref("capability.policy.default.XMLHttpRequest.getInterface", "noAccess");
540 pref("capability.policy.default.XMLHttpRequest.open-uri", "allAccess");
541 pref("capability.policy.default.DOMParser.parseFromStream", "noAccess");
543 // Clipboard
544 pref("capability.policy.default.Clipboard.cutcopy", "noAccess");
545 pref("capability.policy.default.Clipboard.paste", "noAccess");
547 // Scripts & Windows prefs
548 pref("dom.disable_image_src_set",           false);
549 pref("dom.disable_window_flip",             false);
550 pref("dom.disable_window_move_resize",      false);
551 pref("dom.disable_window_status_change",    false);
553 pref("dom.disable_window_open_feature.titlebar",    false);
554 pref("dom.disable_window_open_feature.close",       false);
555 pref("dom.disable_window_open_feature.toolbar",     false);
556 pref("dom.disable_window_open_feature.location",    false);
557 pref("dom.disable_window_open_feature.personalbar", false);
558 pref("dom.disable_window_open_feature.menubar",     false);
559 pref("dom.disable_window_open_feature.scrollbars",  false);
560 pref("dom.disable_window_open_feature.resizable",   true);
561 pref("dom.disable_window_open_feature.minimizable", false);
562 pref("dom.disable_window_open_feature.status",      true);
564 pref("dom.allow_scripts_to_close_windows",          false);
566 pref("dom.disable_open_during_load",                false);
567 pref("dom.popup_maximum",                           20);
568 pref("dom.popup_allowed_events", "change click dblclick mouseup reset submit");
569 pref("dom.disable_open_click_delay", 1000);
571 pref("dom.storage.enabled", true);
572 pref("dom.storage.default_quota",      5120);
574 pref("dom.send_after_paint_to_content", false);
576 // Timeout clamp in ms for timeouts we clamp
577 pref("dom.min_timeout_value", 10);
579 // Parsing perf prefs. For now just mimic what the old code did.
580 #ifndef XP_WIN
581 pref("content.sink.pending_event_mode", 0);
582 #endif
584 // Disable popups from plugins by default
585 //   0 = openAllowed
586 //   1 = openControlled
587 //   2 = openAbused
588 pref("privacy.popups.disable_from_plugins", 2);
590 // "do not track" HTTP header, disabled by default
591 pref("privacy.donottrackheader.enabled",    false);
593 pref("dom.event.contextmenu.enabled",       true);
595 pref("javascript.enabled",                  true);
596 pref("javascript.options.strict",           false);
597 #ifdef DEBUG
598 pref("javascript.options.strict.debug",     true);
599 #endif
600 pref("javascript.options.relimit",          true);
601 pref("javascript.options.tracejit.content",  true);
602 pref("javascript.options.tracejit.chrome",   true);
603 pref("javascript.options.methodjit.content", true);
604 pref("javascript.options.methodjit.chrome",  false);
605 pref("javascript.options.jitprofiling.content", true);
606 pref("javascript.options.jitprofiling.chrome",  false);
607 pref("javascript.options.methodjit_always", false);
608 // This preference limits the memory usage of javascript.
609 // If you want to change these values for your device,
610 // please find Bug 417052 comment 17 and Bug 456721
611 // Comment 32 and Bug 613551.
612 pref("javascript.options.mem.high_water_mark", 128);
613 pref("javascript.options.mem.max", -1);
614 pref("javascript.options.mem.gc_frequency",   300);
615 pref("javascript.options.mem.gc_per_compartment", true);
616 pref("javascript.options.mem.log", false);
618 // advanced prefs
619 pref("advanced.mailftp",                    false);
620 pref("image.animation_mode",                "normal");
622 // Same-origin policy for file URIs, "false" is traditional
623 pref("security.fileuri.strict_origin_policy", true);
625 // If there is ever a security firedrill that requires
626 // us to block certian ports global, this is the pref 
627 // to use.  Is is a comma delimited list of port numbers
628 // for example:
629 //   pref("network.security.ports.banned", "1,2,3,4,5");
630 // prevents necko connecting to ports 1-5 unless the protocol
631 // overrides.
633 // Default action for unlisted external protocol handlers
634 pref("network.protocol-handler.external-default", true);      // OK to load
635 pref("network.protocol-handler.warn-external-default", true); // warn before load
637 // Prevent using external protocol handlers for these schemes
638 pref("network.protocol-handler.external.hcp", false);
639 pref("network.protocol-handler.external.vbscript", false);
640 pref("network.protocol-handler.external.javascript", false);
641 pref("network.protocol-handler.external.data", false);
642 pref("network.protocol-handler.external.ms-help", false);
643 pref("network.protocol-handler.external.shell", false);
644 pref("network.protocol-handler.external.vnd.ms.radio", false);
645 #ifdef XP_MACOSX
646 pref("network.protocol-handler.external.help", false);
647 #endif
648 pref("network.protocol-handler.external.disk", false);
649 pref("network.protocol-handler.external.disks", false);
650 pref("network.protocol-handler.external.afp", false);
651 pref("network.protocol-handler.external.moz-icon", false);
653 // An exposed protocol handler is one that can be used in all contexts.  A
654 // non-exposed protocol handler is one that can only be used internally by the
655 // application.  For example, a non-exposed protocol would not be loaded by the
656 // application in response to a link click or a X-remote openURL command.
657 // Instead, it would be deferred to the system's external protocol handler.
658 // Only internal/built-in protocol handlers can be marked as exposed.
660 // This pref controls the default settings.  Per protocol settings can be used
661 // to override this value.
662 pref("network.protocol-handler.expose-all", true);
664 // Example: make IMAP an exposed protocol
665 // pref("network.protocol-handler.expose.imap", true);
667 // <http>
668 pref("network.http.version", "1.1");      // default
669 // pref("network.http.version", "1.0");   // uncomment this out in case of problems
670 // pref("network.http.version", "0.9");   // it'll work too if you're crazy
671 // keep-alive option is effectively obsolete. Nevertheless it'll work with
672 // some older 1.0 servers:
674 pref("network.http.proxy.version", "1.1");    // default
675 // pref("network.http.proxy.version", "1.0"); // uncomment this out in case of problems
676                                               // (required if using junkbuster proxy)
678 // enable caching of http documents
679 pref("network.http.use-cache", true);
681 // this preference can be set to override the socket type used for normal
682 // HTTP traffic.  an empty value indicates the normal TCP/IP socket type.
683 pref("network.http.default-socket-type", "");
685 pref("network.http.keep-alive", true); // set it to false in case of problems
686 pref("network.http.proxy.keep-alive", true);
687 // There is a problem with some IIS7 servers that don't close the connection
688 // properly after it times out (bug #491541). Default timeout on IIS7 is
689 // 120 seconds. We need to reuse or drop the connection within this time.
690 // We set the timeout a little shorter to keep a reserve for cases when
691 // the packet is lost or delayed on the route.
692 pref("network.http.keep-alive.timeout", 115);
694 // limit the absolute number of http connections.
695 pref("network.http.max-connections", 30);
697 // limit the absolute number of http connections that can be established per
698 // host.  if a http proxy server is enabled, then the "server" is the proxy
699 // server.  Otherwise, "server" is the http origin server.
700 pref("network.http.max-connections-per-server", 15);
702 // if network.http.keep-alive is true, and if NOT connecting via a proxy, then
703 // a new connection will only be attempted if the number of active persistent
704 // connections to the server is less then max-persistent-connections-per-server.
705 pref("network.http.max-persistent-connections-per-server", 6);
707 // if network.http.keep-alive is true, and if connecting via a proxy, then a
708 // new connection will only be attempted if the number of active persistent
709 // connections to the proxy is less then max-persistent-connections-per-proxy.
710 pref("network.http.max-persistent-connections-per-proxy", 8);
712 // amount of time (in seconds) to suspend pending requests, before spawning a
713 // new connection, once the limit on the number of persistent connections per
714 // host has been reached.  however, a new connection will not be created if
715 // max-connections or max-connections-per-server has also been reached.
716 pref("network.http.request.max-start-delay", 10);
718 // Headers
719 pref("network.http.accept.default", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
720 pref("network.http.sendRefererHeader",      2); // 0=don't send any, 1=send only on clicks, 2=send on image requests as well
722 // Controls whether we send HTTPS referres to other HTTPS sites.
723 // By default this is enabled for compatibility (see bug 141641)
724 pref("network.http.sendSecureXSiteReferrer", true);
726 // Maximum number of consecutive redirects before aborting.
727 pref("network.http.redirection-limit", 20);
729 // Enable http compression: comment this out in case of problems with 1.1
730 // NOTE: support for "compress" has been disabled per bug 196406.
731 // NOTE: separate values with comma+space (", "): see bug 576033
732 pref("network.http.accept-encoding", "gzip, deflate");
734 pref("network.http.pipelining"      , false);
735 pref("network.http.pipelining.ssl"  , false); // disable pipelining over SSL
736 pref("network.http.proxy.pipelining", false);
738 // Max number of requests in the pipeline
739 pref("network.http.pipelining.maxrequests" , 4);
741 // Prompt for 307 redirects
742 pref("network.http.prompt-temp-redirect", true);
744 // On networks deploying QoS, it is recommended that these be lockpref()'d,
745 // since inappropriate marking can easily overwhelm bandwidth reservations
746 // for certain services (i.e. EF for VoIP, AF4x for interactive video,
747 // AF3x for broadcast/streaming video, etc)
749 // default value for HTTP
750 // in a DSCP environment this should be 40 (0x28, or AF11), per RFC-4594,
751 // Section 4.8 "High-Throughput Data Service Class"
752 pref("network.http.qos", 0);
754 // default values for FTP
755 // in a DSCP environment this should be 40 (0x28, or AF11), per RFC-4594,
756 // Section 4.8 "High-Throughput Data Service Class", and 80 (0x50, or AF22)
757 // per Section 4.7 "Low-Latency Data Service Class".
758 pref("network.ftp.data.qos", 0);
759 pref("network.ftp.control.qos", 0);
761 // </http>
763 // <ws>: WebSocket
764 // The -76 websocket network protocol may be subject to HTTP cache poisoning
765 // attacks. Until there is a secure open standard available and implemented
766 // in necko the override-security-block preference must be set to true before
767 // the normal enabled preference is considered. Bug 616733
768 pref("network.websocket.override-security-block", false);
769 pref("network.websocket.enabled", true);
770 // </ws>
772 // If false, remote JAR files that are served with a content type other than
773 // application/java-archive or application/x-jar will not be opened
774 // by the jar channel.
775 pref("network.jar.open-unsafe-types", false);
777 // This preference controls whether or not internationalized domain names (IDN)
778 // are handled.  IDN requires a nsIIDNService implementation.
779 pref("network.enableIDN", true);
781 // This preference, if true, causes all UTF-8 domain names to be normalized to
782 // punycode.  The intention is to allow UTF-8 domain names as input, but never
783 // generate them from punycode.
784 pref("network.IDN_show_punycode", false);
786 // TLDs with "network.IDN.whitelist.tld" explicitly set to true are treated as 
787 // IDN-safe. Otherwise, they're treated as unsafe and punycode will be used
788 // for displaying them in the UI (e.g. URL bar). Note that these preferences
789 // are referred to ONLY when "network.IDN_show_punycode" is false. In other
790 // words, all IDNs will be shown in punycode if "network.IDN_show_punycode"
791 // is true.
793 // ccTLDs
794 pref("network.IDN.whitelist.ac", true);
795 pref("network.IDN.whitelist.ar", true);
796 pref("network.IDN.whitelist.at", true);
797 pref("network.IDN.whitelist.br", true);
798 pref("network.IDN.whitelist.ch", true);
799 pref("network.IDN.whitelist.cl", true);
800 pref("network.IDN.whitelist.cn", true);
801 pref("network.IDN.whitelist.de", true);
802 pref("network.IDN.whitelist.dk", true);
803 pref("network.IDN.whitelist.es", true);
804 pref("network.IDN.whitelist.fi", true);
805 pref("network.IDN.whitelist.gr", true);
806 pref("network.IDN.whitelist.hu", true);
807 pref("network.IDN.whitelist.il", true);
808 pref("network.IDN.whitelist.io", true);
809 pref("network.IDN.whitelist.ir", true);
810 pref("network.IDN.whitelist.is", true);
811 pref("network.IDN.whitelist.jp", true);
812 pref("network.IDN.whitelist.kr", true);
813 pref("network.IDN.whitelist.li", true);
814 pref("network.IDN.whitelist.lt", true);
815 pref("network.IDN.whitelist.lu", true);
816 pref("network.IDN.whitelist.no", true);
817 pref("network.IDN.whitelist.nu", true);
818 pref("network.IDN.whitelist.nz", true);
819 pref("network.IDN.whitelist.pl", true);
820 pref("network.IDN.whitelist.pr", true);
821 pref("network.IDN.whitelist.se", true);
822 pref("network.IDN.whitelist.sh", true);
823 pref("network.IDN.whitelist.th", true);
824 pref("network.IDN.whitelist.tm", true);
825 pref("network.IDN.whitelist.tw", true);
826 pref("network.IDN.whitelist.vn", true);
828 // IDN ccTLDs
829 // ae, UAE, .<Emarat>
830 pref("network.IDN.whitelist.xn--mgbaam7a8h", true); 
831 // cn, China, .<China> with variants
832 pref("network.IDN.whitelist.xn--fiqz9s", true); // Traditional
833 pref("network.IDN.whitelist.xn--fiqs8s", true); // Simplified
834 // hk, Hong Kong, .<Hong Kong>
835 pref("network.IDN.whitelist.xn--j6w193g", true);
836 // ir, Iran, <.Iran> with variants
837 pref("network.IDN.whitelist.xn--mgba3a4f16a", true);
838 pref("network.IDN.whitelist.xn--mgba3a4fra", true);
839 // jo, Jordan, .<Al-Ordon>
840 pref("network.IDN.whitelist.xn--mgbayh7gpa", true);
841 // qa, Qatar, .<Qatar>
842 pref("network.IDN.whitelist.xn--wgbl6a", true);
843 // ru, Russian Federation, .<RF>
844 pref("network.IDN.whitelist.xn--p1ai", true);
845 // sa, Saudi Arabia, .<al-Saudiah> with variants
846 pref("network.IDN.whitelist.xn--mgberp4a5d4ar", true); 
847 pref("network.IDN.whitelist.xn--mgberp4a5d4a87g", true);
848 pref("network.IDN.whitelist.xn--mgbqly7c0a67fbc", true);
849 pref("network.IDN.whitelist.xn--mgbqly7cvafr", true);
850 // tw, Taiwan, <.Taiwan> with variants
851 pref("network.IDN.whitelist.xn--kpry57d", true);  // Traditional
852 pref("network.IDN.whitelist.xn--kprw13d", true);  // Simplified
854 // gTLDs
855 pref("network.IDN.whitelist.biz", true);
856 pref("network.IDN.whitelist.cat", true);
857 pref("network.IDN.whitelist.info", true);
858 pref("network.IDN.whitelist.museum", true);
859 pref("network.IDN.whitelist.org", true);
860 pref("network.IDN.whitelist.tel", true);
862 // NOTE: Before these can be removed, one of bug 414812's tests must be updated
863 //       or it will likely fail!  Please CC jwalden+bmo on the bug associated
864 //       with removing these so he can provide a patch to make the necessary
865 //       changes to avoid bustage.
866 // ".test" localised TLDs for ICANN's top-level IDN trial
867 pref("network.IDN.whitelist.xn--0zwm56d", true);
868 pref("network.IDN.whitelist.xn--11b5bs3a9aj6g", true);
869 pref("network.IDN.whitelist.xn--80akhbyknj4f", true);
870 pref("network.IDN.whitelist.xn--9t4b11yi5a", true);
871 pref("network.IDN.whitelist.xn--deba0ad", true);
872 pref("network.IDN.whitelist.xn--g6w251d", true);
873 pref("network.IDN.whitelist.xn--hgbk6aj7f53bba", true);
874 pref("network.IDN.whitelist.xn--hlcj6aya9esc7a", true);
875 pref("network.IDN.whitelist.xn--jxalpdlp", true);
876 pref("network.IDN.whitelist.xn--kgbechtv", true);
877 pref("network.IDN.whitelist.xn--zckzah", true);
879 // If a domain includes any of the following characters, it may be a spoof 
880 // attempt and so we always display the domain name as punycode. This would 
881 // override the settings "network.IDN_show_punycode" and 
882 // "network.IDN.whitelist.*".
883 pref("network.IDN.blacklist_chars", "\u0020\u00A0\u00BC\u00BD\u00BE\u01C3\u02D0\u0337\u0338\u0589\u05C3\u05F4\u0609\u060A\u066A\u06D4\u0701\u0702\u0703\u0704\u115F\u1160\u1735\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u200B\u2024\u2027\u2028\u2029\u202F\u2039\u203A\u2041\u2044\u2052\u205F\u2153\u2154\u2155\u2156\u2157\u2158\u2159\u215A\u215B\u215C\u215D\u215E\u215F\u2215\u2236\u23AE\u2571\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\uA789\uFE14\uFE15\uFE3F\uFE5D\uFE5E\uFEFF\uFF0E\uFF0F\uFF61\uFFA0\uFFF9\uFFFA\uFFFB\uFFFC\uFFFD");
885 // This preference specifies a list of domains for which DNS lookups will be
886 // IPv4 only. Works around broken DNS servers which can't handle IPv6 lookups
887 // and/or allows the user to disable IPv6 on a per-domain basis. See bug 68796.
888 pref("network.dns.ipv4OnlyDomains", "");
890 // This preference can be used to turn off IPv6 name lookups. See bug 68796.
891 pref("network.dns.disableIPv6", false);
893 // This preference controls whether or not URLs with UTF-8 characters are
894 // escaped.  Set this preference to TRUE for strict RFC2396 conformance.
895 pref("network.standard-url.escape-utf8", true);
897 // This preference controls whether or not URLs are always encoded and sent as
898 // UTF-8.
899 pref("network.standard-url.encode-utf8", true);
901 // This preference controls whether or not queries are encoded and sent as
902 // UTF-8.
903 pref("network.standard-url.encode-query-utf8", false);
905 // Idle timeout for ftp control connections - 5 minute default
906 pref("network.ftp.idleConnectionTimeout", 300);
908 // directory listing format
909 // 2: HTML
910 // 3: XUL directory viewer
911 // all other values are treated like 2
912 pref("network.dir.format", 2);
914 // enables the prefetch service (i.e., prefetching of <link rel="next"> URLs).
915 pref("network.prefetch-next", true);
918 // The following prefs pertain to the negotiate-auth extension (see bug 17578),
919 // which provides transparent Kerberos or NTLM authentication using the SPNEGO
920 // protocol.  Each pref is a comma-separated list of keys, where each key has
921 // the format:
922 //   [scheme "://"] [host [":" port]]
923 // For example, "foo.com" would match "http://www.foo.com/bar", etc.
925 // This list controls which URIs can use the negotiate-auth protocol.  This
926 // list should be limited to the servers you know you'll need to login to.
927 pref("network.negotiate-auth.trusted-uris", "");
928 // This list controls which URIs can support delegation.
929 pref("network.negotiate-auth.delegation-uris", "");
931 // Allow SPNEGO by default when challenged by a proxy server.
932 pref("network.negotiate-auth.allow-proxies", true);
934 // Path to a specific gssapi library
935 pref("network.negotiate-auth.gsslib", "");
937 // Specify if the gss lib comes standard with the OS
938 pref("network.negotiate-auth.using-native-gsslib", true);
940 #ifdef XP_WIN
942 // Default to using the SSPI intead of GSSAPI on windows 
943 pref("network.auth.use-sspi", true);
945 #endif
947 // Controls which NTLM authentication implementation we default to. True forces
948 // the use of our generic (internal) NTLM authentication implementation vs. any
949 // native implementation provided by the os. This pref is for diagnosing issues
950 // with native NTLM. (See bug 520607 for details.) Using generic NTLM authentication
951 // can expose the user to reflection attack vulnerabilities. Do not change this
952 // unless you know what you're doing!
953 // This pref should be removed 6 months after the release of firefox 3.6. 
954 pref("network.auth.force-generic-ntlm", false);
956 // The following prefs are used to enable automatic use of the operating
957 // system's NTLM implementation to silently authenticate the user with their
958 // Window's domain logon.  The trusted-uris pref follows the format of the
959 // trusted-uris pref for negotiate authentication.
960 pref("network.automatic-ntlm-auth.allow-proxies", true);
961 pref("network.automatic-ntlm-auth.trusted-uris", "");
963 // This preference controls whether or not the LM hash will be included in
964 // response to a NTLM challenge.  By default, this is disabled since servers
965 // should almost never need the LM hash, and the LM hash is what makes NTLM
966 // authentication less secure.  See bug 250691 for further details.
967 // NOTE: automatic-ntlm-auth which leverages the OS-provided NTLM
968 //       implementation will not be affected by this preference.
969 pref("network.ntlm.send-lm-response", false);
971 pref("permissions.default.image",           1); // 1-Accept, 2-Deny, 3-dontAcceptForeign
973 pref("network.proxy.type",                  5);
974 pref("network.proxy.ftp",                   "");
975 pref("network.proxy.ftp_port",              0);
976 pref("network.proxy.http",                  "");
977 pref("network.proxy.http_port",             0);
978 pref("network.proxy.ssl",                   "");
979 pref("network.proxy.ssl_port",              0);
980 pref("network.proxy.socks",                 "");
981 pref("network.proxy.socks_port",            0);
982 pref("network.proxy.socks_version",         5);
983 pref("network.proxy.socks_remote_dns",      false);
984 pref("network.proxy.no_proxies_on",         "localhost, 127.0.0.1");
985 pref("network.proxy.failover_timeout",      1800); // 30 minutes
986 pref("network.online",                      true); //online/offline
987 pref("network.cookie.cookieBehavior",       0); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
988 pref("network.cookie.thirdparty.sessionOnly", false);
989 pref("network.cookie.lifetimePolicy",       0); // accept normally, 1-askBeforeAccepting, 2-acceptForSession,3-acceptForNDays
990 pref("network.cookie.alwaysAcceptSessionCookies", false);
991 pref("network.cookie.prefsMigrated",        false);
992 pref("network.cookie.lifetime.days",        90);
994 // The PAC file to load.  Ignored unless network.proxy.type is 2.
995 pref("network.proxy.autoconfig_url", "");
997 // If we cannot load the PAC file, then try again (doubling from interval_min
998 // until we reach interval_max or the PAC file is successfully loaded).
999 pref("network.proxy.autoconfig_retry_interval_min", 5);    // 5 seconds
1000 pref("network.proxy.autoconfig_retry_interval_max", 300);  // 5 minutes
1002 pref("converter.html2txt.structs",          true); // Output structured phrases (strong, em, code, sub, sup, b, i, u)
1003 pref("converter.html2txt.header_strategy",  1); // 0 = no indention; 1 = indention, increased with header level; 2 = numbering and slight indention
1005 pref("intl.accept_languages",               "chrome://global/locale/intl.properties");
1006 pref("intl.accept_charsets",                "iso-8859-1,*,utf-8");
1007 pref("intl.menuitems.alwaysappendaccesskeys","chrome://global/locale/intl.properties");
1008 pref("intl.menuitems.insertseparatorbeforeaccesskeys","chrome://global/locale/intl.properties");
1009 pref("intl.charsetmenu.browser.static",     "chrome://global/locale/intl.properties");
1010 pref("intl.charsetmenu.browser.more1",      "ISO-8859-1, ISO-8859-15, IBM850, x-mac-roman, windows-1252, ISO-8859-14, ISO-8859-7, x-mac-greek, windows-1253, x-mac-icelandic, ISO-8859-10, ISO-8859-3");
1011 pref("intl.charsetmenu.browser.more2",      "ISO-8859-4, ISO-8859-13, windows-1257, IBM852, ISO-8859-2, x-mac-ce, windows-1250, x-mac-croatian, IBM855, ISO-8859-5, ISO-IR-111, KOI8-R, x-mac-cyrillic, windows-1251, IBM866, KOI8-U, x-mac-ukrainian, ISO-8859-16, x-mac-romanian");
1012 pref("intl.charsetmenu.browser.more3",      "GB2312, x-gbk, gb18030, HZ-GB-2312, ISO-2022-CN, Big5, Big5-HKSCS, x-euc-tw, EUC-JP, ISO-2022-JP, Shift_JIS, EUC-KR, x-windows-949, x-johab, ISO-2022-KR");
1013 pref("intl.charsetmenu.browser.more4",      "armscii-8, GEOSTD8, TIS-620, ISO-8859-11, windows-874, IBM857, ISO-8859-9, x-mac-turkish, windows-1254, x-viet-tcvn5712, VISCII, x-viet-vps, windows-1258, x-mac-devanagari, x-mac-gujarati, x-mac-gurmukhi");
1014 pref("intl.charsetmenu.browser.more5",      "ISO-8859-6, windows-1256, IBM864, ISO-8859-8-I, windows-1255, ISO-8859-8, IBM862");
1015 pref("intl.charsetmenu.browser.unicode",    "UTF-8, UTF-16LE, UTF-16BE, UTF-32, UTF-32LE, UTF-32BE");
1016 pref("intl.charsetmenu.mailedit",           "chrome://global/locale/intl.properties");
1017 pref("intl.charsetmenu.browser.cache",      "");
1018 pref("intl.charsetmenu.mailview.cache",     "");
1019 pref("intl.charsetmenu.composer.cache",     "");
1020 pref("intl.charsetmenu.browser.cache.size", 5);
1021 pref("intl.charset.detector",               "chrome://global/locale/intl.properties");
1022 pref("intl.charset.default",                "chrome://global-platform/locale/intl.properties");
1023 pref("intl.ellipsis",                       "chrome://global-platform/locale/intl.properties");
1024 pref("intl.locale.matchOS",                 false);
1025 // fallback charset list for Unicode conversion (converting from Unicode)
1026 // currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes)
1027 // for ISO-8859-1
1028 pref("intl.fallbackCharsetList.ISO-8859-1", "windows-1252");
1029 pref("font.language.group",                 "chrome://global/locale/intl.properties");
1031 // these locales have right-to-left UI
1032 pref("intl.uidirection.ar", "rtl");
1033 pref("intl.uidirection.he", "rtl");
1034 pref("intl.uidirection.fa", "rtl");
1036 pref("font.mathfont-family", "STIXNonUnicode, STIXSizeOneSym, STIXSize1, STIXGeneral, Standard Symbols L, DejaVu Sans, Cambria Math");
1038 // Some CJK fonts have bad underline offset, their CJK character glyphs are overlapped (or adjoined)  to its underline.
1039 // These fonts are ignored the underline offset, instead of it, the underline is lowered to bottom of its em descent.
1040 pref("font.blacklist.underline_offset", "FangSong,Gulim,GulimChe,MingLiU,MingLiU-ExtB,MingLiU_HKSCS,MingLiU-HKSCS-ExtB,MS Gothic,MS Mincho,MS PGothic,MS PMincho,MS UI Gothic,PMingLiU,PMingLiU-ExtB,SimHei,SimSun,SimSun-ExtB,Hei,Kai,Apple LiGothic,Apple LiSung,Osaka");
1042 pref("images.dither", "auto");
1043 pref("security.directory",              "");
1045 pref("signed.applets.codebase_principal_support", false);
1046 pref("security.checkloaduri", true);
1047 pref("security.xpconnect.plugin.unrestricted", true);
1048 // security-sensitive dialogs should delay button enabling. In milliseconds.
1049 pref("security.dialog_enable_delay", 2000);
1051 pref("security.csp.enable", true);
1052 pref("security.csp.debug", false);
1054 // Modifier key prefs: default to Windows settings,
1055 // menu access key = alt, accelerator key = control.
1056 // Use 17 for Ctrl, 18 for Alt, 224 for Meta, 0 for none. Mac settings in macprefs.js
1057 pref("ui.key.accelKey", 17);
1058 pref("ui.key.menuAccessKey", 18);
1059 pref("ui.key.generalAccessKey", -1);
1061 // If generalAccessKey is -1, use the following two prefs instead.
1062 // Use 0 for disabled, 1 for Shift, 2 for Ctrl, 4 for Alt, 8 for Meta
1063 // (values can be combined, e.g. 5 for Alt+Shift)
1064 pref("ui.key.chromeAccess", 4);
1065 pref("ui.key.contentAccess", 5);
1067 pref("ui.key.menuAccessKeyFocuses", false); // overridden below
1068 pref("ui.key.saveLink.shift", true); // true = shift, false = meta
1070 // Disable page loading activity cursor by default.
1071 pref("ui.use_activity_cursor", false);
1073 // Middle-mouse handling
1074 pref("middlemouse.paste", false);
1075 pref("middlemouse.openNewWindow", true);
1076 pref("middlemouse.contentLoadURL", false);
1077 pref("middlemouse.scrollbarPosition", false);
1079 // Clipboard behavior
1080 pref("clipboard.autocopy", false);
1082 // mouse wheel scroll transaction period of time (in milliseconds)
1083 pref("mousewheel.transaction.timeout", 1500);
1084 // mouse wheel scroll transaction is held even if the mouse cursor is moved.
1085 pref("mousewheel.transaction.ignoremovedelay", 100);
1087 // Macbook touchpad two finger pixel scrolling
1088 pref("mousewheel.enable_pixel_scrolling", true);
1090 // prefs for app level mouse wheel scrolling acceleration.
1091 // number of mousewheel clicks when acceleration starts
1092 // acceleration can be turned off if pref is set to -1
1093 pref("mousewheel.acceleration.start", -1);
1094 // factor to be multiplied for constant acceleration
1095 pref("mousewheel.acceleration.factor", 10);
1097 // Prefs for override the system mouse wheel scrolling speed on the root
1098 // content of the web pages.  When
1099 // "mousewheel.system_scroll_override_on_root_content.enabled" is true and the system
1100 // scrolling speed isn't customized by the user, the root content scrolling
1101 // speed is multiplied by the following factors.  The value will be used as
1102 // 1/100.  E.g., 200 means 2.00.
1103 // NOTE: Even if "mousewheel.system_scroll_override_on_root_content.enabled" is
1104 // true, when Gecko detects the user customized the system scrolling speed
1105 // settings, the override isn't executed.
1106 pref("mousewheel.system_scroll_override_on_root_content.vertical.factor", 200);
1107 pref("mousewheel.system_scroll_override_on_root_content.horizontal.factor", 200);
1109 // 0=lines, 1=pages, 2=history , 3=text size
1110 pref("mousewheel.withnokey.action",0);
1111 pref("mousewheel.withnokey.numlines",6);
1112 pref("mousewheel.withnokey.sysnumlines",true);
1113 pref("mousewheel.withcontrolkey.action",0);
1114 pref("mousewheel.withcontrolkey.numlines",1);
1115 pref("mousewheel.withcontrolkey.sysnumlines",true);
1116 // mousewheel.withshiftkey, see the Mac note below.
1117 pref("mousewheel.withshiftkey.action",0);
1118 pref("mousewheel.withshiftkey.numlines",1);
1119 pref("mousewheel.withshiftkey.sysnumlines",true);
1120 pref("mousewheel.withaltkey.action",2);
1121 pref("mousewheel.withaltkey.numlines",1);
1122 pref("mousewheel.withaltkey.sysnumlines",false);
1123 pref("mousewheel.withmetakey.action",0);
1124 pref("mousewheel.withmetakey.numlines",1);
1125 pref("mousewheel.withmetakey.sysnumlines",true);
1127 // activate horizontal scrolling by default
1128 pref("mousewheel.horizscroll.withnokey.action",0);
1129 pref("mousewheel.horizscroll.withnokey.numlines",1);
1130 pref("mousewheel.horizscroll.withnokey.sysnumlines",true);
1131 pref("mousewheel.horizscroll.withcontrolkey.action",0);
1132 pref("mousewheel.horizscroll.withcontrolkey.numlines",1);
1133 pref("mousewheel.horizscroll.withcontrolkey.sysnumlines",true);
1134 pref("mousewheel.horizscroll.withshiftkey.action",0);
1135 pref("mousewheel.horizscroll.withshiftkey.numlines",1);
1136 pref("mousewheel.horizscroll.withshiftkey.sysnumlines",true);
1137 pref("mousewheel.horizscroll.withaltkey.action",2);
1138 pref("mousewheel.horizscroll.withaltkey.numlines",-1);
1139 pref("mousewheel.horizscroll.withaltkey.sysnumlines",false);
1140 pref("mousewheel.horizscroll.withmetakey.action",0);
1141 pref("mousewheel.horizscroll.withmetakey.numlines",1);
1142 pref("mousewheel.horizscroll.withmetakey.sysnumlines",true);
1144 pref("profile.confirm_automigration",true);
1145 // profile.migration_behavior determines how the profiles root is set
1146 // 0 - use NS_APP_USER_PROFILES_ROOT_DIR
1147 // 1 - create one based on the NS4.x profile root
1148 // 2 - use, if not empty, profile.migration_directory otherwise same as 0
1149 pref("profile.migration_behavior",0);
1150 pref("profile.migration_directory", "");
1152 // the amount of time (in seconds) that must elapse
1153 // before we think your mozilla profile is defunct
1154 // and you'd benefit from re-migrating from 4.x
1155 // see bug #137886 for more details
1157 // if -1, we never think your profile is defunct
1158 // and users will never see the remigrate UI.
1159 pref("profile.seconds_until_defunct", -1);
1160 // We can show it anytime from menus
1161 pref("profile.manage_only_at_launch", false);
1163 pref("prefs.converted-to-utf8",false);
1165 // --------------------------------------------------
1166 // IBMBIDI 
1167 // --------------------------------------------------
1169 // ------------------
1170 //  Text Direction
1171 // ------------------
1172 // 1 = directionLTRBidi *
1173 // 2 = directionRTLBidi
1174 pref("bidi.direction", 1);
1175 // ------------------
1176 //  Text Type
1177 // ------------------
1178 // 1 = charsettexttypeBidi *
1179 // 2 = logicaltexttypeBidi
1180 // 3 = visualtexttypeBidi
1181 pref("bidi.texttype", 1);
1182 // ------------------
1183 //  Numeral Style
1184 // ------------------
1185 // 0 = nominalnumeralBidi *
1186 // 1 = regularcontextnumeralBidi
1187 // 2 = hindicontextnumeralBidi
1188 // 3 = arabicnumeralBidi
1189 // 4 = hindinumeralBidi
1190 // 5 = persiancontextnumeralBidi
1191 // 6 = persiannumeralBidi
1192 pref("bidi.numeral", 0);
1193 // ------------------
1194 //  Support Mode
1195 // ------------------
1196 // 1 = mozillaBidisupport *
1197 // 2 = OsBidisupport
1198 // 3 = disableBidisupport
1199 pref("bidi.support", 1);
1200 // ------------------
1201 //  Charset Mode
1202 // ------------------
1203 // 1 = doccharactersetBidi *
1204 // 2 = defaultcharactersetBidi
1205 pref("bidi.characterset", 1);
1206 // Whether delete and backspace should immediately delete characters not
1207 // visually adjacent to the caret, or adjust the visual position of the caret
1208 // on the first keypress and delete the character on a second keypress
1209 pref("bidi.edit.delete_immediately", false);
1211 // Bidi caret movement style:
1212 // 0 = logical
1213 // 1 = visual
1214 // 2 = visual, but logical during selection
1215 pref("bidi.edit.caret_movement_style", 2);
1217 // Setting this pref to |true| forces Bidi UI menu items and keyboard shortcuts
1218 // to be exposed, and enables the directional caret hook. By default, only
1219 // expose it for bidi-associated system locales.
1220 pref("bidi.browser.ui", false);
1222 // used for double-click word selection behavior. Win will override.
1223 pref("layout.word_select.eat_space_to_next_word", false);
1224 pref("layout.word_select.stop_at_punctuation", true);
1226 // controls caret style and word-delete during text selection
1227 // 0 = use platform default
1228 // 1 = caret moves and blinks as when there is no selection; word
1229 //     delete deselects the selection and then deletes word (Windows default)
1230 // 2 = caret moves to selection edge and is not visible during selection; 
1231 //     word delete deletes the selection (Mac default)
1232 // 3 = caret moves and blinks as when there is no selection; word delete
1233 //     deletes the selection (Unix default)
1234 pref("layout.selection.caret_style", 0);
1236 // pref to control whether or not to replace backslashes with Yen signs
1237 // in documents encoded in one of Japanese legacy encodings (EUC-JP, 
1238 // Shift_JIS, ISO-2022-JP)
1239 pref("layout.enable_japanese_specific_transform", false);
1241 // pref to force frames to be resizable
1242 pref("layout.frames.force_resizability", false);
1244 // pref to report CSS errors to the error console
1245 pref("layout.css.report_errors", true);
1247 // Should the :visited selector ever match (otherwise :link matches instead)?
1248 pref("layout.css.visited_links_enabled", true);
1250 // Override DPI. A value of -1 means use the maximum of 96 and the system DPI.
1251 // A value of 0 means use the system DPI. A positive value is used as the DPI.
1252 // This sets the physical size of a device pixel and thus controls the
1253 // interpretation of physical units such as "pt".
1254 pref("layout.css.dpi", -1);
1256 // Set the number of device pixels per CSS pixel. A value <= 0 means choose
1257 // automatically based on user settings for the platform (e.g., "UI scale factor"
1258 // on Mac). A positive value is used as-is. This effectively controls the size
1259 // of a CSS "px". This is only used for windows on the screen, not for printing.
1260 // XXX the default value here should be 0, but before we can set it to 0,
1261 // we have to get this feature working on all platforms.
1262 pref("layout.css.devPixelsPerPx", "1.0");
1264 // pref for which side vertical scrollbars should be on
1265 // 0 = end-side in UI direction
1266 // 1 = end-side in document/content direction
1267 // 2 = right
1268 // 3 = left
1269 pref("layout.scrollbar.side", 0);
1271 // pref to control browser frame rate, in Hz. A value <= 0 means choose
1272 // automatically based on knowledge of the platform (or 60Hz if no platform-
1273 // specific information is available).
1274 pref("layout.frame_rate", -1);
1276 // pref to control precision of the frame rate timer. When true,
1277 // we use a "precise" timer, which means each notification fires
1278 // Nms after the start of the last notification. That means if the
1279 // processing of the notification is slow, the timer can fire immediately
1280 // after we've just finished processing the last notification, which might
1281 // lead to starvation problems.
1282 // When false, we use a "slack" timer which fires Nms after the *end*
1283 // of the last notification. This can give less tight frame rates
1284 // but provides more time for other operations when the browser is
1285 // heavily loaded.
1286 pref("layout.frame_rate.precise", false);
1288 // pref to permit users to make verified SOAP calls by default
1289 pref("capability.policy.default.SOAPCall.invokeVerifySourceHeader", "allAccess");
1291 // if true, allow plug-ins to override internal imglib decoder mime types in full-page mode
1292 pref("plugin.override_internal_types", false);
1293 pref("plugin.expose_full_path", false); // if true navigator.plugins reveals full path
1295 // See bug 136985.  Gives embedders a pref to hook into to show
1296 // a popup blocker if they choose.
1297 pref("browser.popups.showPopupBlocker", true);
1299 // Pref to control whether the viewmanager code does double-buffering or not
1300 // See http://bugzilla.mozilla.org/show_bug.cgi?id=169483 for further details...
1301 pref("viewmanager.do_doublebuffering", true);
1303 // whether use prefs from system
1304 pref("config.use_system_prefs", false);
1306 // if the system has enabled accessibility
1307 pref("config.use_system_prefs.accessibility", false);
1309 // enable single finger gesture input (win7+ tablets)
1310 pref("gestures.enable_single_finger_input", true);
1313  * What are the entities that you want Mozilla to save using mnemonic
1314  * names rather than numeric codes? E.g. If set, we'll output &nbsp;
1315  * otherwise, we may output 0xa0 depending on the charset.
1317  * "none"   : don't use any entity names; only use numeric codes.
1318  * "basic"  : use entity names just for &nbsp; &amp; &lt; &gt; &quot; for 
1319  *            interoperability/exchange with products that don't support more
1320  *            than that.
1321  * "latin1" : use entity names for 8bit accented letters and other special
1322  *            symbols between 128 and 255.
1323  * "html"   : use entity names for 8bit accented letters, greek letters, and
1324  *            other special markup symbols as defined in HTML4.
1325  */
1326 //pref("editor.encode_entity",                 "html");
1328 pref("editor.resizing.preserve_ratio",       true);
1329 pref("editor.positioning.offset",            0);
1331 pref("dom.max_chrome_script_run_time", 20);
1332 pref("dom.max_script_run_time", 10);
1334 #ifndef DEBUG
1335 // How long a plugin is allowed to process a synchronous IPC message
1336 // before we consider it "hung".
1337 pref("dom.ipc.plugins.timeoutSecs", 45);
1338 // How long a plugin launch is allowed to take before
1339 // we consider it failed.
1340 pref("dom.ipc.plugins.processLaunchTimeoutSecs", 45);
1341 #else
1342 // No timeout in DEBUG builds
1343 pref("dom.ipc.plugins.timeoutSecs", 0);
1344 pref("dom.ipc.plugins.processLaunchTimeoutSecs", 0);
1345 #endif
1347 // Disable oopp for standard java. They run their own process isolation (which
1348 // conflicts with our implementation, at least on Windows).
1349 pref("dom.ipc.plugins.java.enabled", false);
1351 #ifndef ANDROID
1352 #ifndef XP_MACOSX
1353 #ifdef XP_UNIX
1354 // Linux plugins using Xt instead of Xembed don't work out-of-process yet.
1355 pref("dom.ipc.plugins.enabled.libvlcplugin.so", false);
1356 pref("dom.ipc.plugins.enabled.nppdf.so", false);
1357 #endif
1358 #endif
1359 #endif
1361 pref("svg.smil.enabled", true);
1363 pref("font.minimum-size.ar", 0);
1364 pref("font.minimum-size.x-armn", 0);
1365 pref("font.minimum-size.x-beng", 0);
1366 pref("font.minimum-size.x-baltic", 0);
1367 pref("font.minimum-size.x-central-euro", 0);
1368 pref("font.minimum-size.zh-CN", 0);
1369 pref("font.minimum-size.zh-HK", 0);
1370 pref("font.minimum-size.zh-TW", 0);
1371 pref("font.minimum-size.x-cyrillic", 0);
1372 pref("font.minimum-size.x-devanagari", 0);
1373 pref("font.minimum-size.x-ethi", 0);
1374 pref("font.minimum-size.x-geor", 0);
1375 pref("font.minimum-size.el", 0);
1376 pref("font.minimum-size.x-gujr", 0);
1377 pref("font.minimum-size.x-guru", 0);
1378 pref("font.minimum-size.he", 0);
1379 pref("font.minimum-size.ja", 0);
1380 pref("font.minimum-size.x-knda", 0);
1381 pref("font.minimum-size.x-khmr", 0);
1382 pref("font.minimum-size.ko", 0);
1383 pref("font.minimum-size.x-mlym", 0);
1384 pref("font.minimum-size.x-orya", 0);
1385 pref("font.minimum-size.x-sinh", 0);
1386 pref("font.minimum-size.x-tamil", 0);
1387 pref("font.minimum-size.x-telu", 0);
1388 pref("font.minimum-size.x-tibt", 0);
1389 pref("font.minimum-size.th", 0);
1390 pref("font.minimum-size.tr", 0);
1391 pref("font.minimum-size.x-cans", 0);
1392 pref("font.minimum-size.x-western", 0);
1393 pref("font.minimum-size.x-unicode", 0);
1394 pref("font.minimum-size.x-user-def", 0);
1396 #ifdef XP_WIN
1398 pref("font.name.serif.ar", "Times New Roman");
1399 pref("font.name.sans-serif.ar", "Arial");
1400 pref("font.name.monospace.ar", "Courier New");
1401 pref("font.name.cursive.ar", "Comic Sans MS");
1403 pref("font.name.serif.el", "Times New Roman");
1404 pref("font.name.sans-serif.el", "Arial");
1405 pref("font.name.monospace.el", "Courier New");
1406 pref("font.name.cursive.el", "Comic Sans MS");
1408 pref("font.name.serif.he", "Narkisim");
1409 pref("font.name.sans-serif.he", "Arial");
1410 pref("font.name.monospace.he", "Fixed Miriam Transparent");
1411 pref("font.name.cursive.he", "Guttman Yad");
1412 pref("font.name-list.serif.he", "Narkisim, David");
1413 pref("font.name-list.monospace.he", "Fixed Miriam Transparent, Miriam Fixed, Rod, Courier New");
1414 pref("font.name-list.cursive.he", "Guttman Yad, Ktav, Arial");
1416 pref("font.name.serif.ja", "MS P明朝"); // "MS PMincho"
1417 pref("font.name.sans-serif.ja", "MS Pゴシック"); // "MS PGothic"
1418 pref("font.name.monospace.ja", "MS ゴシック"); // "MS Gothic"
1419 pref("font.name-list.serif.ja", "MS PMincho, MS Mincho, MS PGothic, MS Gothic");
1420 pref("font.name-list.sans-serif.ja", "MS PGothic, MS Gothic, MS PMincho, MS Mincho");
1421 pref("font.name-list.monospace.ja", "MS Gothic, MS Mincho, MS PGothic, MS PMincho");
1423 pref("font.name.serif.ko", "바탕"); // "Batang" 
1424 pref("font.name.sans-serif.ko", "굴림"); // "Gulim" 
1425 pref("font.name.monospace.ko", "굴림체"); // "GulimChe" 
1426 pref("font.name.cursive.ko", "궁서"); // "Gungseo"
1428 pref("font.name-list.serif.ko", "Batang, Gulim"); 
1429 pref("font.name-list.sans-serif.ko", "Gulim"); 
1430 pref("font.name-list.monospace.ko", "GulimChe"); 
1431 pref("font.name-list.cursive.ko", "Gungseo"); 
1433 pref("font.name.serif.th", "Tahoma");
1434 pref("font.name.sans-serif.th", "Tahoma");
1435 pref("font.name.monospace.th", "Tahoma");
1436 pref("font.name.cursive.th", "Tahoma");
1438 pref("font.name.serif.tr", "Times New Roman");
1439 pref("font.name.sans-serif.tr", "Arial");
1440 pref("font.name.monospace.tr", "Courier New");
1441 pref("font.name.cursive.tr", "Comic Sans MS");
1443 pref("font.name.serif.x-baltic", "Times New Roman");
1444 pref("font.name.sans-serif.x-baltic", "Arial");
1445 pref("font.name.monospace.x-baltic", "Courier New");
1446 pref("font.name.cursive.x-baltic", "Comic Sans MS");
1448 pref("font.name.serif.x-central-euro", "Times New Roman");
1449 pref("font.name.sans-serif.x-central-euro", "Arial");
1450 pref("font.name.monospace.x-central-euro", "Courier New");
1451 pref("font.name.cursive.x-central-euro", "Comic Sans MS");
1453 pref("font.name.serif.x-cyrillic", "Times New Roman");
1454 pref("font.name.sans-serif.x-cyrillic", "Arial");
1455 pref("font.name.monospace.x-cyrillic", "Courier New");
1456 pref("font.name.cursive.x-cyrillic", "Comic Sans MS");
1458 pref("font.name.serif.x-unicode", "Times New Roman");
1459 pref("font.name.sans-serif.x-unicode", "Arial");
1460 pref("font.name.monospace.x-unicode", "Courier New");
1461 pref("font.name.cursive.x-unicode", "Comic Sans MS");
1463 pref("font.name.serif.x-western", "Times New Roman");
1464 pref("font.name.sans-serif.x-western", "Arial");
1465 pref("font.name.monospace.x-western", "Courier New");
1466 pref("font.name.cursive.x-western", "Comic Sans MS");
1468 pref("font.name.serif.zh-CN", "宋体"); //MS Song
1469 pref("font.name.sans-serif.zh-CN", "宋体"); //MS Song
1470 pref("font.name.monospace.zh-CN", "宋体"); //MS Song
1471 pref("font.name-list.serif.zh-CN", "MS Song, SimSun");
1472 pref("font.name-list.sans-serif.zh-CN", "MS Song, SimSun");
1473 pref("font.name-list.monospace.zh-CN", "MS Song, SimSun");
1475 // Per Taiwanese users' demand. They don't want to use TC fonts for
1476 // rendering Latin letters. (bug 88579)
1477 pref("font.name.serif.zh-TW", "Times New Roman"); 
1478 pref("font.name.sans-serif.zh-TW", "Arial");
1479 pref("font.name.monospace.zh-TW", "細明體");  // MingLiU
1480 pref("font.name-list.serif.zh-TW", "PMingLiu, MingLiU"); 
1481 pref("font.name-list.sans-serif.zh-TW", "PMingLiU, MingLiU");
1482 pref("font.name-list.monospace.zh-TW", "MingLiU");
1484 // hkscsm3u.ttf (HKSCS-2001) :  http://www.microsoft.com/hk/hkscs 
1485 // Hong Kong users have the same demand about glyphs for Latin letters (bug 88579) 
1486 pref("font.name.serif.zh-HK", "Times New Roman"); 
1487 pref("font.name.sans-serif.zh-HK", "Arial");
1488 pref("font.name.monospace.zh-HK", "細明體_HKSCS"); 
1489 pref("font.name-list.serif.zh-HK", "MingLiu_HKSCS, Ming(for ISO10646), MingLiU"); 
1490 pref("font.name-list.sans-serif.zh-HK", "MingLiU_HKSCS, Ming(for ISO10646), MingLiU");  
1491 pref("font.name-list.monospace.zh-HK", "MingLiU_HKSCS, Ming(for ISO10646), MingLiU");
1493 pref("font.name.serif.x-devanagari", "Mangal");
1494 pref("font.name.sans-serif.x-devanagari", "Raghindi");
1495 pref("font.name.monospace.x-devanagari", "Mangal");
1496 pref("font.name-list.serif.x-devanagari", "Mangal, Raghindi");
1497 pref("font.name-list.monospace.x-devanagari", "Mangal, Raghindi");
1499 pref("font.name.serif.x-tamil", "Latha");
1500 pref("font.name.sans-serif.x-tamil", "Code2000");
1501 pref("font.name.monospace.x-tamil", "Latha");
1502 pref("font.name-list.serif.x-tamil", "Latha, Code2000");
1503 pref("font.name-list.monospace.x-tamil", "Latha, Code2000");
1505 # http://www.alanwood.net/unicode/fonts.html
1507 pref("font.name.serif.x-armn", "Sylfaen");
1508 pref("font.name.sans-serif.x-armn", "Arial AMU");
1509 pref("font.name.monospace.x-armn", "Arial AMU");
1510 pref("font.name-list.serif.x-armn", "Sylfaen,Arial Unicode MS, Code2000");
1511 pref("font.name-list.monospace.x-armn", "Arial AMU, Arial Unicode MS, Code2000");
1513 pref("font.name.serif.x-beng", "Vrinda");
1514 pref("font.name.sans-serif.x-beng", "Vrinda");
1515 pref("font.name.monospace.x-beng", "Mitra Mono");
1516 pref("font.name-list.serif.x-beng", "Vrinda, Akaash, Likhan, Ekushey Punarbhaba, Code2000, Arial Unicode MS"); 
1517 pref("font.name-list.sans-serif.x-beng", "Vrinda, Akaash, Likhan, Ekushey Punarbhaba, Code2000, Arial Unicode MS"); 
1518 pref("font.name-list.monospace.x-beng", "Likhan, Mukti Narrow, Code2000, Arial Unicode MS");
1520 pref("font.name.serif.x-cans", "Aboriginal Serif");
1521 pref("font.name.sans-serif.x-cans", "Aboriginal Sans");
1522 pref("font.name.monospace.x-cans", "Aboriginal Sans");
1523 pref("font.name-list.serif.x-cans", "Aboriginal Serif, BJCree Uni");
1524 pref("font.name-list.monospace.x-cans", "Aboriginal Sans, OskiDakelh, Pigiarniq, Uqammaq");
1526 pref("font.name.serif.x-ethi", "Visual Geez Unicode");
1527 pref("font.name.sans-serif.x-ethi", "GF Zemen Unicode");
1528 pref("font.name.cursive.x-ethi", "Visual Geez Unicode Title");
1529 pref("font.name.monospace.x-ethi", "Ethiopia Jiret");
1530 pref("font.name-list.serif.x-ethi", "Visual Geez Unicode, Visual Geez Unicode Agazian, Code2000");
1531 pref("font.name-list.monospace.x-ethi", "Ethiopia Jiret, Code2000");
1533 pref("font.name.serif.x-geor", "Sylfaen");
1534 pref("font.name.sans-serif.x-geor", "BPG Classic 99U");
1535 pref("font.name.monospace.x-geor", "Code2000");
1536 pref("font.name-list.serif.x-geor", "Sylfaen, BPG Paata Khutsuri U, TITUS Cyberbit Basic"); 
1537 pref("font.name-list.monospace.x-geor", "BPG Classic 99U, Code2000, Arial Unicode MS");
1539 pref("font.name.serif.x-gujr", "Shruti");
1540 pref("font.name.sans-serif.x-gujr", "Shruti");
1541 pref("font.name.monospace.x-gujr", "Code2000");
1542 pref("font.name-list.serif.x-gujr", "Shruti, Code2000, Arial Unicode MS"); 
1543 pref("font.name-list.monospace.x-gujr", "Code2000, Shruti, Arial Unicode MS");
1545 pref("font.name.serif.x-guru", "Raavi");
1546 pref("font.name.sans-serif.x-guru", "Code2000");
1547 pref("font.name.monospace.x-guru", "Code2000");
1548 pref("font.name-list.serif.x-guru", "Raavi, Saab, Code2000, Arial Unicode MS"); 
1549 pref("font.name-list.monospace.x-guru", "Code2000, Raavi, Saab, Arial Unicode MS");
1551 pref("font.name.serif.x-khmr", "PhnomPenh OT");
1552 pref("font.name.sans-serif.x-khmr", "Khmer OS");
1553 pref("font.name.monospace.x-khmr", "Code2000");
1554 pref("font.name-list.serif.x-khmr", "PhnomPenh OT,.Mondulkiri U GR 1.5, Khmer OS");
1555 pref("font.name-list.monospace.x-khmr", "Code2000, Khmer OS, Khmer OS System");
1557 pref("font.name.serif.x-mlym", "Rachana_w01");
1558 pref("font.name.sans-serif.x-mlym", "Rachana_w01");
1559 pref("font.name.monospace.x-mlym", "Rachana_w01");
1560 pref("font.name-list.serif.x-mlym", "AnjaliOldLipi, Kartika, ThoolikaUnicode, Code2000, Arial Unicode MS");
1561 pref("font.name-list.sans-serif.x-mlym", "AnjaliOldLipi, Kartika, ThoolikaUnicode, Code2000, Arial Unicode MS");
1562 pref("font.name-list.monospace.x-mlym", "AnjaliOldLipi, Kartika, ThoolikaUnicode, Code2000, Arial Unicode MS");
1564 pref("font.name.serif.x-orya", "ori1Uni");
1565 pref("font.name.sans-serif.x-orya", "ori1Uni");
1566 pref("font.name.monospace.x-orya", "ori1Uni");
1567 pref("font.name-list.serif.x-orya", "Kalinga, ori1Uni, Code2000, Arial Unicode MS");
1568 pref("font.name-list.sans-serif.x-orya", "Kalinga, ori1Uni, Code2000, Arial Unicode MS");
1569 pref("font.name-list.monospace.x-orya", "Kalinga, ori1Uni, Code2000, Arial Unicode MS");
1571 pref("font.name.serif.x-telu", "Gautami");
1572 pref("font.name.sans-serif.x-telu", "Gautami");
1573 pref("font.name.monospace.x-telu", "Gautami");
1574 pref("font.name-list.serif.x-telu", "Gautami, Akshar Unicode, Code2000, Arial Unicode MS");
1575 pref("font.name-list.sans-serif.x-telu", "Gautami, Akshar Unicode, Code2000, Arial Unicode MS");
1576 pref("font.name-list.monospace.x-telu", "Gautami, Akshar Unicode, Code2000, Arial Unicode MS");
1578 pref("font.name.serif.x-knda", "Tunga");
1579 pref("font.name.sans-serif.x-knda", "Tunga");
1580 pref("font.name.monospace.x-knda", "Tunga");
1581 pref("font.name-list.serif.x-knda", "Tunga, AksharUnicode, Code2000, Arial Unicode MS");
1582 pref("font.name-list.sans-serif.x-knda", "Tunga, AksharUnicode, Code2000, Arial Unicode MS");
1583 pref("font.name-list.monospace.x-knda", "Tunga, AksharUnicode, Code2000, Arial Unicode MS");
1585 pref("font.name.serif.x-sinh", "Iskoola Pota");
1586 pref("font.name.sans-serif.x-sinh", "Iskoola Pota");
1587 pref("font.name.monospace.x-sinh", "Iskoola Pota");
1588 pref("font.name-list.serif.x-sinh", "Iskoola Pota, AksharUnicode");
1589 pref("font.name-list.sans-serif.x-sinh", "Iskoola Pota, AksharUnicode");
1590 pref("font.name-list.monospace.x-sinh", "Iskoola Pota, AksharUnicode");
1592 pref("font.name.serif.x-tibt", "Tibetan Machine Uni");
1593 pref("font.name.sans-serif.x-tibt", "Tibetan Machine Uni");
1594 pref("font.name.monospace.x-tibt", "Tibetan Machine Uni");
1595 pref("font.name-list.serif.x-tibt", "Tibetan Machine Uni, Jomolhari, Microsoft Himalaya");
1596 pref("font.name-list.sans-serif.x-tibt", "Tibetan Machine Uni, Jomolhari, Microsoft Himalaya");
1597 pref("font.name-list.monospace.x-tibt", "Tibetan Machine Uni, Jomolhari, Microsoft Himalaya");
1599 pref("font.default.ar", "sans-serif");
1600 pref("font.size.variable.ar", 16);
1601 pref("font.size.fixed.ar", 13);
1603 pref("font.default.el", "serif");
1604 pref("font.size.variable.el", 16);
1605 pref("font.size.fixed.el", 13);
1607 pref("font.default.he", "sans-serif");
1608 pref("font.size.variable.he", 16);
1609 pref("font.size.fixed.he", 13);
1611 pref("font.default.ja", "sans-serif");
1612 pref("font.size.variable.ja", 16);
1613 pref("font.size.fixed.ja", 16);
1615 pref("font.default.ko", "sans-serif");
1616 pref("font.size.variable.ko", 16);
1617 pref("font.size.fixed.ko", 16);
1619 pref("font.default.th", "serif");
1620 pref("font.size.variable.th", 16);
1621 pref("font.size.fixed.th", 13);
1622 pref("font.minimum-size.th", 10);
1624 pref("font.default.tr", "serif");
1625 pref("font.size.variable.tr", 16);
1626 pref("font.size.fixed.tr", 13);
1628 pref("font.default.x-baltic", "serif");
1629 pref("font.size.variable.x-baltic", 16);
1630 pref("font.size.fixed.x-baltic", 13);
1632 pref("font.default.x-central-euro", "serif");
1633 pref("font.size.variable.x-central-euro", 16);
1634 pref("font.size.fixed.x-central-euro", 13);
1636 pref("font.default.x-cyrillic", "serif");
1637 pref("font.size.variable.x-cyrillic", 16);
1638 pref("font.size.fixed.x-cyrillic", 13);
1640 pref("font.default.x-devanagari", "serif");
1641 pref("font.size.variable.x-devanagari", 16);
1642 pref("font.size.fixed.x-devanagari", 13);
1644 pref("font.default.x-tamil", "serif");
1645 pref("font.size.variable.x-tamil", 16);
1646 pref("font.size.fixed.x-tamil", 13);
1648 pref("font.default.x-armn", "serif");
1649 pref("font.size.variable.x-armn", 16);
1650 pref("font.size.fixed.x-armn", 13);
1652 pref("font.default.x-beng", "serif");
1653 pref("font.size.variable.x-beng", 16);
1654 pref("font.size.fixed.x-beng", 13);
1656 pref("font.default.x-cans", "serif");
1657 pref("font.size.variable.x-cans", 16);
1658 pref("font.size.fixed.x-cans", 13);
1660 pref("font.default.x-ethi", "serif");
1661 pref("font.size.variable.x-ethi", 16);
1662 pref("font.size.fixed.x-ethi", 13);
1664 pref("font.default.x-geor", "serif");
1665 pref("font.size.variable.x-geor", 16);
1666 pref("font.size.fixed.x-geor", 13);
1668 pref("font.default.x-gujr", "serif");
1669 pref("font.size.variable.x-gujr", 16);
1670 pref("font.size.fixed.x-gujr", 13);
1672 pref("font.default.x-guru", "serif");
1673 pref("font.size.variable.x-guru", 16);
1674 pref("font.size.fixed.x-guru", 13);
1676 pref("font.default.x-khmr", "serif");
1677 pref("font.size.variable.x-khmr", 16);
1678 pref("font.size.fixed.x-khmr", 13);
1680 pref("font.default.x-mlym", "serif");
1681 pref("font.size.variable.x-mlym", 16);
1682 pref("font.size.fixed.x-mlym", 13);
1684 pref("font.default.x-orya", "serif");
1685 pref("font.size.variable.x-orya", 16);
1686 pref("font.size.fixed.x-orya", 13);
1688 pref("font.default.x-telu", "serif");
1689 pref("font.size.variable.x-telu", 16);
1690 pref("font.size.fixed.x-telu", 13);
1692 pref("font.default.x-knda", "serif");
1693 pref("font.size.variable.x-knda", 16);
1694 pref("font.size.fixed.x-knda", 13);
1696 pref("font.default.x-sinh", "serif");
1697 pref("font.size.variable.x-sinh", 16);
1698 pref("font.size.fixed.x-sinh", 13);
1700 pref("font.default.x-tibt", "serif");
1701 pref("font.size.variable.x-tibt", 16);
1702 pref("font.size.fixed.x-tibt", 13);
1704 pref("font.default.x-unicode", "serif");
1705 pref("font.size.variable.x-unicode", 16);
1706 pref("font.size.fixed.x-unicode", 13);
1708 pref("font.default.x-western", "serif");
1709 pref("font.size.variable.x-western", 16);
1710 pref("font.size.fixed.x-western", 13);
1712 pref("font.default.zh-CN", "sans-serif");
1713 pref("font.size.variable.zh-CN", 16);
1714 pref("font.size.fixed.zh-CN", 16);
1716 pref("font.default.zh-TW", "sans-serif");
1717 pref("font.size.variable.zh-TW", 16);
1718 pref("font.size.fixed.zh-TW", 16);
1720 pref("font.default.zh-HK", "sans-serif");
1721 pref("font.size.variable.zh-HK", 16);
1722 pref("font.size.fixed.zh-HK", 16);
1724 // We have special support for Monotype Symbol on Windows.
1725 pref("font.mathfont-family", "STIXNonUnicode, STIXSizeOneSym, STIXSize1, STIXGeneral, Symbol, DejaVu Sans, Cambria Math");
1727 // cleartype settings - false implies default system settings 
1729 // use cleartype rendering for downloadable fonts (win xp only)
1730 pref("gfx.font_rendering.cleartype.use_for_downloadable_fonts", true);
1732 // use cleartype rendering for all fonts always (win xp only)
1733 pref("gfx.font_rendering.cleartype.always_use_for_content", false);
1735 pref("ui.key.menuAccessKeyFocuses", true);
1737 // override double-click word selection behavior.
1738 pref("layout.word_select.eat_space_to_next_word", true);
1740 // scrollbar snapping region
1741 pref("slider.snapMultiplier", 6);
1743 // print_extra_margin enables platforms to specify an extra gap or margin
1744 // around the content of the page for Print Preview only
1745 pref("print.print_extra_margin", 90); // twips (90 twips is an eigth of an inch)
1747 // Whether to extend the native dialog with information on printing frames.
1748 pref("print.extend_native_print_dialog", true);
1750 // Locate Java by scanning the Sun JRE installation directory with a minimum version
1751 // Note: Does not scan if security.enable_java is not true
1752 pref("plugin.scan.SunJRE", "1.3");
1754 // Locate plugins by scanning the Adobe Acrobat installation directory with a minimum version
1755 pref("plugin.scan.Acrobat", "5.0");
1757 // Locate plugins by scanning the Quicktime installation directory with a minimum version
1758 pref("plugin.scan.Quicktime", "5.0");
1760 // Locate and scan the Window Media Player installation directory for plugins with a minimum version
1761 pref("plugin.scan.WindowsMediaPlayer", "7.0");
1763 // Locate plugins by the directories specified in the Windows registry for PLIDs
1764 // Which is currently HKLM\Software\MozillaPlugins\xxxPLIDxxx\Path
1765 pref("plugin.scan.plid.all", true);
1767 // Controls the scanning of the Navigator 4.x directory for plugins
1768 // When pref is missing, the default is to pickup popular plugins such as
1769 // Flash, Shockwave, Acrobat, and Quicktime. If set to true, ALL plugins
1770 // will be picked up and if set to false the scan will not happen at all
1771 //pref("plugin.scan.4xPluginFolder", false);
1773 // Help Windows NT, 2000, and XP dialup a RAS connection
1774 // when a network address is unreachable.
1775 pref("network.autodial-helper.enabled", true);
1777 // Pref to control whether we set ddeexec subkeys for the http
1778 // Internet shortcut protocol if we are handling it.  These
1779 // subkeys will be set only while we are running (to avoid the
1780 // problem of Windows showing an alert when it tries to use DDE
1781 // and we're not already running).
1782 pref("advanced.system.supportDDEExec", true);
1784 // Switch the keyboard layout per window
1785 pref("intl.keyboard.per_window_layout", false);
1787 #ifdef NS_ENABLE_TSF
1788 // Enable/Disable TSF support
1789 pref("intl.enable_tsf_support", false);
1791 // We need to notify the layout change to TSF, but we cannot check the actual
1792 // change now, therefore, we always notify it by this fequency.
1793 pref("intl.tsf.on_layout_change_interval", 100);
1794 #endif
1796 #ifdef WINCE
1797 // bug 506798 - can't type in bookmarks panel on WinCE
1798 pref("ui.panel.default_level_parent", true);
1799 #else
1800 // See bug 448927, on topmost panel, some IMEs are not usable on Windows.
1801 pref("ui.panel.default_level_parent", false);
1802 #endif
1804 pref("mousewheel.system_scroll_override_on_root_content.enabled", true);
1806 // If your mouse drive sends WM_*SCROLL messages when you turn your mouse wheel,
1807 // set this to true.  Then, gecko processes them as mouse wheel messages.
1808 pref("mousewheel.emulate_at_wm_scroll", false);
1810 // Enables or disabled the TrackPoint hack, -1 is autodetect, 0 is off,
1811 // and 1 is on.  Set this to 1 if TrackPoint scrolling is not working.
1812 pref("ui.trackpoint_hack.enabled", -1);
1814 // Setting this to a non-empty string overrides the Win32 "window class" used
1815 // for "normal" windows. Setting this to MozillaUIWindowClass might make
1816 // some trackpad drivers behave better.
1817 pref("ui.window_class_override", "");
1819 // Enables or disables the Elantech gesture hacks.  -1 is autodetect, 0 is off,
1820 // and 1 is on.  Set this to 1 if three-finger swipe gestures do not cause
1821 // page back/forward actions, or if pinch-to-zoom does not work.
1822 pref("ui.elantech_gesture_hacks.enabled", -1);
1824 # WINNT
1825 #endif
1827 #ifdef XP_MACOSX
1828 // Mac specific preference defaults
1829 pref("browser.drag_out_of_frame_style", 1);
1830 pref("ui.key.saveLink.shift", false); // true = shift, false = meta
1832 // default fonts (in UTF8 and using canonical names)
1833 // to determine canonical font names, use a debug build and 
1834 // enable NSPR logging for module fontInfoLog:5
1835 // canonical names immediately follow '(fontinit) family:' in the log
1837 pref("font.name.serif.ar", "Al Bayan");
1838 pref("font.name.sans-serif.ar", "Geeza Pro");
1839 pref("font.name.monospace.ar", "Geeza Pro");
1840 pref("font.name.cursive.ar", "DecoType Naskh");
1841 pref("font.name.fantasy.ar", "KufiStandardGK");
1842 pref("font.name-list.serif.ar", "Al Bayan");
1843 pref("font.name-list.sans-serif.ar", "Geeza Pro");
1844 pref("font.name-list.monospace.ar", "Geeza Pro");
1845 pref("font.name-list.cursive.ar", "DecoType Naskh");
1846 pref("font.name-list.fantasy.ar", "KufiStandardGK");
1848 pref("font.name.serif.el", "Lucida Grande");
1849 pref("font.name.sans-serif.el", "Lucida Grande");
1850 pref("font.name.monospace.el", "Lucida Grande");
1851 pref("font.name.cursive.el", "Lucida Grande");
1852 pref("font.name.fantasy.el", "Lucida Grande");
1853 pref("font.name-list.serif.el", "Lucida Grande");
1854 pref("font.name-list.sans-serif.el", "Lucida Grande");
1855 pref("font.name-list.monospace.el", "Lucida Grande");
1856 pref("font.name-list.cursive.el", "Lucida Grande");
1857 pref("font.name-list.fantasy.el", "Lucida Grande");
1859 pref("font.name.serif.he", "Raanana");
1860 pref("font.name.sans-serif.he", "Arial Hebrew");
1861 pref("font.name.monospace.he", "Arial Hebrew");
1862 pref("font.name.cursive.he", "Corsiva Hebrew");
1863 pref("font.name.fantasy.he", "Corsiva Hebrew");
1864 pref("font.name-list.serif.he", "Raanana");
1865 pref("font.name-list.sans-serif.he", "Arial Hebrew");
1866 pref("font.name-list.monospace.he", "Arial Hebrew");
1867 pref("font.name-list.cursive.he", "Corsiva Hebrew");
1868 pref("font.name-list.fantasy.he", "Corsiva Hebrew");
1870 pref("font.name.serif.ja", "Hiragino Mincho Pro"); 
1871 pref("font.name.sans-serif.ja", "Hiragino Kaku Gothic Pro"); 
1872 pref("font.name.monospace.ja", "Osaka-Mono"); 
1873 pref("font.name-list.serif.ja", "Hiragino Mincho Pro"); 
1874 pref("font.name-list.sans-serif.ja", "Hiragino Kaku Gothic Pro"); 
1875 pref("font.name-list.monospace.ja", "Osaka-Mono"); 
1877 pref("font.name.serif.ko", "AppleMyungjo"); 
1878 pref("font.name.sans-serif.ko", "AppleGothic"); 
1879 pref("font.name.monospace.ko", "AppleGothic"); 
1880 pref("font.name-list.serif.ko", "AppleMyungjo"); 
1881 pref("font.name-list.sans-serif.ko", "AppleGothic"); 
1882 pref("font.name-list.monospace.ko", "AppleGothic"); 
1884 pref("font.name.serif.th", "Thonburi");
1885 pref("font.name.sans-serif.th", "Thonburi");
1886 pref("font.name.monospace.th", "Ayuthaya");
1887 pref("font.name-list.serif.th", "Thonburi");
1888 pref("font.name-list.sans-serif.th", "Thonburi");
1889 pref("font.name-list.monospace.th", "Ayuthaya");
1891 pref("font.name.serif.tr", "Times");
1892 pref("font.name.sans-serif.tr", "Helvetica");
1893 pref("font.name.monospace.tr", "Courier");
1894 pref("font.name.cursive.tr", "Apple Chancery");
1895 pref("font.name.fantasy.tr", "Papyrus");
1896 pref("font.name-list.serif.tr", "Times");
1897 pref("font.name-list.sans-serif.tr", "Helvetica");
1898 pref("font.name-list.monospace.tr", "Courier");
1899 pref("font.name-list.cursive.tr", "Apple Chancery");
1900 pref("font.name-list.fantasy.tr", "Papyrus");
1902 pref("font.name.serif.x-armn", "Mshtakan");
1903 pref("font.name.sans-serif.x-armn", "Mshtakan");
1904 pref("font.name.monospace.x-armn", "Mshtakan");
1905 pref("font.name-list.serif.x-armn", "Mshtakan");
1906 pref("font.name-list.sans-serif.x-armn", "Mshtakan");
1907 pref("font.name-list.monospace.x-armn", "Mshtakan");
1909 pref("font.name.serif.x-baltic", "Times");
1910 pref("font.name.sans-serif.x-baltic", "Helvetica");
1911 pref("font.name.monospace.x-baltic", "Courier");
1912 pref("font.name.cursive.x-baltic", "Apple Chancery");
1913 pref("font.name.fantasy.x-baltic", "Papyrus");
1914 pref("font.name-list.serif.x-baltic", "Times");
1915 pref("font.name-list.sans-serif.x-baltic", "Helvetica");
1916 pref("font.name-list.monospace.x-baltic", "Courier");
1917 pref("font.name-list.cursive.x-baltic", "Apple Chancery");
1918 pref("font.name-list.fantasy.x-baltic", "Papyrus");
1920 // no suitable fonts for bengali ship with mac os x
1921 // however two can be freely downloaded
1922 // SolaimanLipi, Rupali http://ekushey.org/?page/mac_download
1923 pref("font.name.serif.x-beng", "সোলাইমান লিপি");
1924 pref("font.name.sans-serif.x-beng", "রূপালী");
1925 pref("font.name.monospace.x-beng", "রূপালী");
1926 pref("font.name-list.serif.x-beng", "সোলাইমান লিপি");
1927 pref("font.name-list.sans-serif.x-beng", "রূপালী");
1928 pref("font.name-list.monospace.x-beng", "রূপালী");
1930 pref("font.name.serif.x-cans", "Euphemia UCAS");
1931 pref("font.name.sans-serif.x-cans", "Euphemia UCAS");
1932 pref("font.name.monospace.x-cans", "Euphemia UCAS");
1933 pref("font.name-list.serif.x-cans", "Euphemia UCAS");
1934 pref("font.name-list.sans-serif.x-cans", "Euphemia UCAS");
1935 pref("font.name-list.monospace.x-cans", "Euphemia UCAS");
1937 pref("font.name.serif.x-central-euro", "Times");
1938 pref("font.name.sans-serif.x-central-euro", "Helvetica");
1939 pref("font.name.monospace.x-central-euro", "Courier");
1940 pref("font.name.cursive.x-central-euro", "Apple Chancery");
1941 pref("font.name.fantasy.x-central-euro", "Papyrus");
1942 pref("font.name-list.serif.x-central-euro", "Times");
1943 pref("font.name-list.sans-serif.x-central-euro", "Helvetica");
1944 pref("font.name-list.monospace.x-central-euro", "Courier");
1945 pref("font.name-list.cursive.x-central-euro", "Apple Chancery");
1946 pref("font.name-list.fantasy.x-central-euro", "Papyrus");
1948 pref("font.name.serif.x-cyrillic", "Times CY");
1949 pref("font.name.sans-serif.x-cyrillic", "Helvetica CY");
1950 pref("font.name.monospace.x-cyrillic", "Monaco CY");
1951 pref("font.name.cursive.x-cyrillic", "Geneva CY");
1952 pref("font.name.fantasy.x-cyrillic", "Charcoal CY");
1953 pref("font.name-list.serif.x-cyrillic", "Times CY");
1954 pref("font.name-list.sans-serif.x-cyrillic", "Helvetica CY");
1955 pref("font.name-list.monospace.x-cyrillic", "Monaco CY");
1956 pref("font.name-list.cursive.x-cyrillic", "Geneva CY");
1957 pref("font.name-list.fantasy.x-cyrillic", "Charcoal CY");
1959 pref("font.name.serif.x-devanagari", "Devanagari MT");
1960 pref("font.name.sans-serif.x-devanagari", "Devanagari MT");
1961 pref("font.name.monospace.x-devanagari", "Devanagari MT");
1962 pref("font.name-list.serif.x-devanagari", "Devanagari MT");
1963 pref("font.name-list.sans-serif.x-devanagari", "Devanagari MT");
1964 pref("font.name-list.monospace.x-devanagari", "Devanagari MT");
1966 // no suitable fonts for ethiopic ship with mac os x
1967 // however one can be freely downloaded
1968 // Abyssinica SIL http://scripts.sil.org/AbyssinicaSIL_Download
1969 pref("font.name.serif.x-ethi", "Abyssinica SIL");
1970 pref("font.name.sans-serif.x-ethi", "Abyssinica SIL");
1971 pref("font.name.monospace.x-ethi", "Abyssinica SIL");
1972 pref("font.name-list.serif.x-ethi", "Abyssinica SIL");
1973 pref("font.name-list.sans-serif.x-ethi", "Abyssinica SIL");
1974 pref("font.name-list.monospace.x-ethi", "Abyssinica SIL");
1976 // no suitable fonts for georgian ship with mac os x
1977 // however some can be freely downloaded
1978 // TITUS Cyberbit Basic http://titus.fkidg1.uni-frankfurt.de/unicode/tituut.asp
1979 // Zuzumbo http://homepage.mac.com/rsiradze/FileSharing91.html
1980 pref("font.name.serif.x-geor", "TITUS Cyberbit Basic");
1981 pref("font.name.sans-serif.x-geor", "Zuzumbo");
1982 pref("font.name.monospace.x-geor", "Zuzumbo");
1983 pref("font.name-list.serif.x-geor", "TITUS Cyberbit Basic"); 
1984 pref("font.name-list.sans-serif.x-geor", "Zuzumbo");
1985 pref("font.name-list.monospace.x-geor", "Zuzumbo");
1987 pref("font.name.serif.x-gujr", "Gujarati MT");
1988 pref("font.name.sans-serif.x-gujr", "Gujarati MT");
1989 pref("font.name.monospace.x-gujr", "Gujarati MT");
1990 pref("font.name-list.serif.x-gujr", "Gujarati MT"); 
1991 pref("font.name-list.sans-serif.x-gujr", "Gujarati MT");
1992 pref("font.name-list.monospace.x-gujr", "Gujarati MT");
1994 pref("font.name.serif.x-guru", "Gurmukhi MT");
1995 pref("font.name.sans-serif.x-guru", "Gurmukhi MT");
1996 pref("font.name.monospace.x-guru", "Gurmukhi MT");
1997 pref("font.name-list.serif.x-guru", "Gurmukhi MT"); 
1998 pref("font.name-list.sans-serif.x-guru", "Gurmukhi MT");
1999 pref("font.name-list.monospace.x-guru", "Gurmukhi MT");
2001 // no suitable fonts for khmer ship with mac os x
2002 // add this section when fonts exist
2004 // no suitable fonts for malayalam ship with mac os x
2005 // add this section when fonts exist
2007 // no suitable fonts for oriya ship with mac os x
2008 // add this section when fonts exist
2010 // no suitable fonts for telugu ship with mac os x
2011 // however one can be freely downloaded
2012 // Pothana http://web.nickshanks.com/typography/telugu/
2013 pref("font.name.serif.x-telu", "Pothana");
2014 pref("font.name.sans-serif.x-telu", "Pothana");
2015 pref("font.name.monospace.x-telu", "Pothana");
2016 pref("font.name-list.serif.x-telu", "Pothana");
2017 pref("font.name-list.sans-serif.x-telu", "Pothana");
2018 pref("font.name-list.monospace.x-telu", "Pothana");
2020 // no suitable fonts for kannada ship with mac os x
2021 // however one can be freely downloaded
2022 // Kedage http://web.nickshanks.com/typography/kannada/
2023 pref("font.name.serif.x-knda", "Kedage");
2024 pref("font.name.sans-serif.x-knda", "Kedage");
2025 pref("font.name.monospace.x-knda", "Kedage");
2026 pref("font.name-list.serif.x-knda", "Kedage");
2027 pref("font.name-list.sans-serif.x-knda", "Kedage");
2028 pref("font.name-list.monospace.x-knda", "Kedage");
2030 // no suitable fonts for sinhala ship with mac os x
2031 // add this section when fonts exist
2033 pref("font.name.serif.x-tamil", "InaiMathi");
2034 pref("font.name.sans-serif.x-tamil", "InaiMathi");
2035 pref("font.name.monospace.x-tamil", "InaiMathi");
2036 pref("font.name-list.serif.x-tamil", "InaiMathi");
2037 pref("font.name-list.sans-serif.x-tamil", "InaiMathi");
2038 pref("font.name-list.monospace.x-tamil", "InaiMathi");
2040 // Kailasa ships with mac os x >= 10.5
2041 pref("font.name.serif.x-tibt", "Kailasa");
2042 pref("font.name.sans-serif.x-tibt", "Kailasa");
2043 pref("font.name.monospace.x-tibt", "Kailasa");
2044 pref("font.name-list.serif.x-tibt", "Kailasa");
2045 pref("font.name-list.sans-serif.x-tibt", "Kailasa");
2046 pref("font.name-list.monospace.x-tibt", "Kailasa");
2048 pref("font.name.serif.x-unicode", "Times");
2049 pref("font.name.sans-serif.x-unicode", "Helvetica");
2050 pref("font.name.monospace.x-unicode", "Courier");
2051 pref("font.name.cursive.x-unicode", "Apple Chancery");
2052 pref("font.name.fantasy.x-unicode", "Papyrus");
2053 pref("font.name-list.serif.x-unicode", "Times");
2054 pref("font.name-list.sans-serif.x-unicode", "Helvetica");
2055 pref("font.name-list.monospace.x-unicode", "Courier");
2056 pref("font.name-list.cursive.x-unicode", "Apple Chancery");
2057 pref("font.name-list.fantasy.x-unicode", "Papyrus");
2059 pref("font.name.serif.x-western", "Times");
2060 pref("font.name.sans-serif.x-western", "Helvetica");
2061 pref("font.name.monospace.x-western", "Courier");
2062 pref("font.name.cursive.x-western", "Apple Chancery");
2063 pref("font.name.fantasy.x-western", "Papyrus");
2064 pref("font.name-list.serif.x-western", "Times");
2065 pref("font.name-list.sans-serif.x-western", "Helvetica");
2066 pref("font.name-list.monospace.x-western", "Courier");
2067 pref("font.name-list.cursive.x-western", "Apple Chancery");
2068 pref("font.name-list.fantasy.x-western", "Papyrus");
2070 pref("font.name.serif.zh-CN", "STSong");
2071 pref("font.name.sans-serif.zh-CN", "STHeiti");
2072 pref("font.name.monospace.zh-CN", "STHeiti");
2073 pref("font.name-list.serif.zh-CN", "STSong");
2074 pref("font.name-list.sans-serif.zh-CN", "STHeiti");
2075 pref("font.name-list.monospace.zh-CN", "STHeiti");
2077 pref("font.name.serif.zh-TW", "Apple LiSung"); 
2078 pref("font.name.sans-serif.zh-TW", "Apple LiGothic");  
2079 pref("font.name.monospace.zh-TW", "Apple LiGothic");  
2080 pref("font.name-list.serif.zh-TW", "Apple LiSung"); 
2081 pref("font.name-list.sans-serif.zh-TW", "Apple LiGothic");  
2082 pref("font.name-list.monospace.zh-TW", "Apple LiGothic");  
2084 pref("font.name.serif.zh-HK", "LiSong Pro");
2085 pref("font.name.sans-serif.zh-HK", "LiHei Pro");
2086 pref("font.name.monospace.zh-HK", "LiHei Pro");
2087 pref("font.name-list.serif.zh-HK", "LiSong Pro");
2088 pref("font.name-list.sans-serif.zh-HK", "LiHei Pro");
2089 pref("font.name-list.monospace.zh-HK", "LiHei Pro");
2091 pref("font.default.ar", "sans-serif");
2092 pref("font.size.variable.ar", 16);
2093 pref("font.size.fixed.ar", 13);
2095 pref("font.default.el", "serif");
2096 pref("font.size.variable.el", 16);
2097 pref("font.size.fixed.el", 13);
2099 pref("font.default.he", "sans-serif");
2100 pref("font.size.variable.he", 16);
2101 pref("font.size.fixed.he", 13);
2103 pref("font.default.ja", "sans-serif");
2104 pref("font.size.variable.ja", 16);
2105 pref("font.size.fixed.ja", 16);
2107 pref("font.default.ko", "sans-serif");
2108 pref("font.size.variable.ko", 16);
2109 pref("font.size.fixed.ko", 16);
2111 pref("font.default.th", "serif");
2112 pref("font.size.variable.th", 16);
2113 pref("font.size.fixed.th", 13);
2114 pref("font.minimum-size.th", 10);
2116 pref("font.default.tr", "serif");
2117 pref("font.size.variable.tr", 16);
2118 pref("font.size.fixed.tr", 13);
2120 pref("font.default.x-armn", "serif");
2121 pref("font.size.variable.x-armn", 16);
2122 pref("font.size.fixed.x-armn", 13);
2124 pref("font.default.x-baltic", "serif");
2125 pref("font.size.variable.x-baltic", 16);
2126 pref("font.size.fixed.x-baltic", 13);
2128 pref("font.default.x-beng", "serif");
2129 pref("font.size.variable.x-beng", 16);
2130 pref("font.size.fixed.x-beng", 13);
2132 pref("font.default.x-cans", "serif");
2133 pref("font.size.variable.x-cans", 16);
2134 pref("font.size.fixed.x-cans", 13);
2136 pref("font.default.x-central-euro", "serif");
2137 pref("font.size.variable.x-central-euro", 16);
2138 pref("font.size.fixed.x-central-euro", 13);
2140 pref("font.default.x-cyrillic", "serif");
2141 pref("font.size.variable.x-cyrillic", 16);
2142 pref("font.size.fixed.x-cyrillic", 13);
2144 pref("font.default.x-devanagari", "serif");
2145 pref("font.size.variable.x-devanagari", 16);
2146 pref("font.size.fixed.x-devanagari", 13);
2148 pref("font.default.x-ethi", "serif");
2149 pref("font.size.variable.x-ethi", 16);
2150 pref("font.size.fixed.x-ethi", 13);
2152 pref("font.default.x-geor", "serif");
2153 pref("font.size.variable.x-geor", 16);
2154 pref("font.size.fixed.x-geor", 13);
2156 pref("font.default.x-gujr", "serif");
2157 pref("font.size.variable.x-gujr", 16);
2158 pref("font.size.fixed.x-gujr", 13);
2160 pref("font.default.x-guru", "serif");
2161 pref("font.size.variable.x-guru", 16);
2162 pref("font.size.fixed.x-guru", 13);
2164 pref("font.default.x-khmr", "serif");
2165 pref("font.size.variable.x-khmr", 16);
2166 pref("font.size.fixed.x-khmr", 13);
2168 pref("font.default.x-mlym", "serif");
2169 pref("font.size.variable.x-mlym", 16);
2170 pref("font.size.fixed.x-mlym", 13);
2172 pref("font.default.x-tamil", "serif");
2173 pref("font.size.variable.x-tamil", 16);
2174 pref("font.size.fixed.x-tamil", 13);
2176 pref("font.default.x-orya", "serif");
2177 pref("font.size.variable.x-orya", 16);
2178 pref("font.size.fixed.x-orya", 13);
2180 pref("font.default.x-telu", "serif");
2181 pref("font.size.variable.x-telu", 16);
2182 pref("font.size.fixed.x-telu", 13);
2184 pref("font.default.x-knda", "serif");
2185 pref("font.size.variable.x-knda", 16);
2186 pref("font.size.fixed.x-knda", 13);
2188 pref("font.default.x-sinh", "serif");
2189 pref("font.size.variable.x-sinh", 16);
2190 pref("font.size.fixed.x-sinh", 13);
2192 pref("font.default.x-tibt", "serif");
2193 pref("font.size.variable.x-tibt", 16);
2194 pref("font.size.fixed.x-tibt", 13);
2196 pref("font.default.x-unicode", "serif");
2197 pref("font.size.variable.x-unicode", 16);
2198 pref("font.size.fixed.x-unicode", 13);
2200 pref("font.default.x-western", "serif");
2201 pref("font.size.variable.x-western", 16);
2202 pref("font.size.fixed.x-western", 13);
2204 pref("font.default.zh-CN", "sans-serif");
2205 pref("font.size.variable.zh-CN", 15);
2206 pref("font.size.fixed.zh-CN", 16);
2208 pref("font.default.zh-TW", "sans-serif");
2209 pref("font.size.variable.zh-TW", 15);
2210 pref("font.size.fixed.zh-TW", 16);
2212 pref("font.default.zh-HK", "sans-serif");
2213 pref("font.size.variable.zh-HK", 15);
2214 pref("font.size.fixed.zh-HK", 16);
2216 // Apple's Symbol is Unicode so use it
2217 pref("font.mathfont-family", "STIXNonUnicode, STIXSizeOneSym, STIXSize1, STIXGeneral, Symbol, DejaVu Sans, Cambria Math");
2219 // individual font faces to be treated as independent families
2220 // names are Postscript names of each face
2221 pref("font.single-face-list", "Osaka-Mono");
2223 // optimization hint for fonts with localized names to be read in at startup, otherwise read in at lookup miss
2224 // names are canonical family names (typically English names)
2225 pref("font.preload-names-list", "Hiragino Kaku Gothic Pro,Hiragino Mincho Pro,STSong");
2227 // Override the Windows settings: no menu key, meta accelerator key. ctrl for general access key in HTML/XUL
2228 // Use 17 for Ctrl, 18 for Option, 224 for Cmd, 0 for none
2229 pref("ui.key.menuAccessKey", 0);
2230 pref("ui.key.accelKey", 224);
2231 // (pinkerton, joki, saari) IE5 for mac uses Control for access keys. The HTML4 spec
2232 // suggests to use command on mac, but this really sucks (imagine someone having a "q"
2233 // as an access key and not letting you quit the app!). As a result, we've made a 
2234 // command decision 1 day before tree lockdown to change it to the control key.
2235 pref("ui.key.generalAccessKey", -1);
2237 // If generalAccessKey is -1, use the following two prefs instead.
2238 // Use 0 for disabled, 1 for Shift, 2 for Ctrl, 4 for Alt, 8 for Meta (Cmd)
2239 // (values can be combined, e.g. 3 for Ctrl+Shift)
2240 pref("ui.key.chromeAccess", 2);
2241 pref("ui.key.contentAccess", 2);
2243 // print_extra_margin enables platforms to specify an extra gap or margin
2244 // around the content of the page for Print Preview only
2245 pref("print.print_extra_margin", 90); // twips (90 twips is an eigth of an inch)
2247 // See bug 404131, topmost <panel> element wins to Dashboard on MacOSX.
2248 pref("ui.panel.default_level_parent", false);
2250 pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
2252 # XP_MACOSX
2253 #endif
2255 #ifdef XP_OS2
2257 pref("ui.key.menuAccessKeyFocuses", true);
2259 pref("font.alias-list", "sans,sans-serif,serif,monospace,Tms Rmn,Helv,Courier,Times New Roman");
2261 pref("font.mathfont-family", "STIXNonUnicode, STIXSizeOneSym, STIXSize1, STIXGeneral, DejaVu Sans");
2263 // Languages only need lists if we have a default that might not be available.
2264 // Tms Rmn and Helv cannot be used by Thebes but the OS/2 version of FontConfig
2265 // maps them to Times New Roman and Helvetica, respectively. Those fonts and
2266 // Courier are available on OS/2 by default.
2268 pref("font.name.serif.ar", "Tms Rmn");
2269 pref("font.name.sans-serif.ar", "Helv");
2270 pref("font.name.monospace.ar", "Courier");
2272 pref("font.name.serif.el", "Tms Rmn");
2273 pref("font.name.sans-serif.el", "Helv");
2274 pref("font.name.monospace.el", "Courier");
2276 pref("font.name.serif.he", "Tms Rmn");
2277 pref("font.name.sans-serif.he", "Helv");
2278 pref("font.name.monospace.he", "Courier");
2280 pref("font.name.serif.ja", "Times New Roman WT J");
2281 pref("font.name-list.serif.ja", "Times New Roman WT J, Times New Roman WT, Times New Roman MT 30, Tms Rmn");
2282 pref("font.name.sans-serif.ja", "Helv");
2283 pref("font.name.monospace.ja", "Kochi Gothic");
2284 pref("font.name-list.monospace.ja", "Kochi Gothic, Kochi Mincho, Courier New, Courier");
2286 pref("font.name.serif.ko", "Times New Roman WT K");
2287 pref("font.name-list.serif.ko", "Times New Roman WT K, Times New Roman WT, Times New Roman MT 30, Tms Rmn");
2288 pref("font.name.sans-serif.ko", "Helv");
2289 pref("font.name.monospace.ko", "Courier");
2291 pref("font.name.serif.th", "Tms Rmn");
2292 pref("font.name.sans-serif.th", "Helv");
2293 pref("font.name.monospace.th", "Courier");
2295 pref("font.name.serif.tr", "Tms Rmn");
2296 pref("font.name.sans-serif.tr", "Helv");
2297 pref("font.name.monospace.tr", "Courier");
2299 pref("font.name.serif.x-baltic", "Tms Rmn");
2300 pref("font.name.sans-serif.x-baltic", "Helv");
2301 pref("font.name.monospace.x-baltic", "Courier");
2303 pref("font.name.serif.x-central-euro", "Tms Rmn");
2304 pref("font.name.sans-serif.x-central-euro", "Helv");
2305 pref("font.name.monospace.x-central-euro", "Courier");
2307 pref("font.name.serif.x-cyrillic", "Tms Rmn");
2308 pref("font.name.sans-serif.x-cyrillic", "Helv");
2309 pref("font.name.monospace.x-cyrillic", "Courier");
2311 // Unicode fonts
2312 // Fontconfig will match substrings, so that we only need to list e.g.
2313 // Times New Roman WT and it will search for the J, SC, TC, K variants.
2314 // The DejaVu fonts are shipped with eCS, so list them first but include other
2315 // fonts that OS/2 users are likely to have.
2316 pref("font.name.serif.x-unicode", "Times New Roman MT 30");
2317 pref("font.name-list.serif.x-unicode", "DejaVu Serif, FreeSerif, Times New Roman WT, Times New Roman MT 30, Tms Rmn");
2318 pref("font.name.sans-serif.x-unicode", "Lucida Sans Unicode");
2319 pref("font.name-list.sans-serif.x-unicode", "DejaVu Sans, FreeSans, Arial Unicode, Lucida Sans Unicode, Helv");
2320 pref("font.name.monospace.x-unicode", "DejaVu Sans Mono");
2321 pref("font.name-list.monospace.x-unicode", "DejaVu Sans Mono, FreeMono, Andale Mono, Courier New, Courier");
2322 pref("font.name.fantasy.x-unicode", "Times New Roman MT 30");
2323 pref("font.name-list.fantasy.x-unicode", "DejaVu Serif, FreeSerif, Times New Roman WT, Times New Roman MT 30");
2324 pref("font.name.cursive.x-unicode", "Times New Roman MT 30");
2325 pref("font.name-list.cursive.x-unicode", "DejaVu Serif, FreeSerif, Times New Roman WT, Times New Roman MT 30");
2327 pref("font.name.serif.x-western", "Tms Rmn");
2328 pref("font.name.sans-serif.x-western", "Helv");
2329 pref("font.name.monospace.x-western", "Courier");
2331 pref("font.name.serif.zh-CN", "Times New Roman WT SC");
2332 pref("font.name-list.serif.zh_CN", "Times New Roman WT SC, Times New Roman MT 30, Times New Roman WT, Tms Rmn");
2333 pref("font.name.sans-serif.zh-CN", "Helv");
2334 pref("font.name.monospace.zh-CN", "Courier");
2336 pref("font.name.serif.zh-TW", "Times New Roman WT TC");
2337 pref("font.name-list.serif.zh-TW", "Times New Roman WT TC, Times New Roman MT 30, Times New Roman WT, Tms Rmn");
2338 pref("font.name.sans-serif.zh-TW", "Helv");
2339 pref("font.name.monospace.zh-TW", "Courier");
2341 // just copied values from zh-TW
2342 pref("font.name.serif.zh-HK", "Times New Roman WT TC");
2343 pref("font.name-list.serif.zh-HK", "Times New Roman WT TC, Times New Roman MT 30, Times New Roman WT, Tms Rmn");
2344 pref("font.name.sans-serif.zh-HK", "Helv");
2345 pref("font.name.monospace.zh-HK", "Courier");
2347 pref("font.default", "serif");
2349 pref("font.default.ar", "serif");
2350 pref("font.size.variable.ar", 16);
2351 pref("font.size.fixed.ar", 13);
2353 pref("font.default.el", "serif");
2354 pref("font.size.variable.el", 16);
2355 pref("font.size.fixed.el", 13);
2357 pref("font.default.he", "serif");
2358 pref("font.size.variable.he", 16);
2359 pref("font.size.fixed.he", 13);
2361 pref("font.default.ja", "serif");
2362 pref("font.size.variable.ja", 16);
2363 pref("font.size.fixed.ja", 16);
2365 pref("font.default.ko", "serif");
2366 pref("font.size.variable.ko", 16);
2367 pref("font.size.fixed.ko", 16);
2369 pref("font.default.th", "serif");
2370 pref("font.size.variable.th", 16);
2371 pref("font.size.fixed.th", 13);
2373 pref("font.default.tr", "serif");
2374 pref("font.size.variable.tr", 16);
2375 pref("font.size.fixed.tr", 13);
2377 pref("font.default.x-baltic", "serif");
2378 pref("font.size.variable.x-baltic", 16);
2379 pref("font.size.fixed.x-baltic", 13);
2381 pref("font.default.x-central-euro", "serif");
2382 pref("font.size.variable.x-central-euro", 16);
2383 pref("font.size.fixed.x-central-euro", 13);
2385 pref("font.default.x-cyrillic", "serif");
2386 pref("font.size.variable.x-cyrillic", 16);
2387 pref("font.size.fixed.x-cyrillic", 13);
2389 pref("font.default.x-devanagari", "serif");
2390 pref("font.size.variable.x-devanagari", 16);
2391 pref("font.size.fixed.x-devanagari", 13);
2393 pref("font.default.x-tamil", "serif");
2394 pref("font.size.variable.x-tamil", 16);
2395 pref("font.size.fixed.x-tamil", 13);
2397 pref("font.default.x-unicode", "serif");
2398 pref("font.size.variable.x-unicode", 16);
2399 pref("font.size.fixed.x-unicode", 13);
2401 pref("font.default.x-western", "serif");
2402 pref("font.size.variable.x-western", 16);
2403 pref("font.size.fixed.x-western", 13);
2405 pref("font.default.zh-CN", "serif");
2406 pref("font.size.variable.zh-CN", 16);
2407 pref("font.size.fixed.zh-CN", 16);
2409 pref("font.default.zh-TW", "serif");
2410 pref("font.size.variable.zh-TW", 16);
2411 pref("font.size.fixed.zh-TW", 16);
2413 pref("font.default.zh-HK", "serif");
2414 pref("font.size.variable.zh-HK", 16);
2415 pref("font.size.fixed.zh-HK", 16);
2417 pref("netinst.profile.show_profile_wizard", true); 
2419 pref("middlemouse.paste", true);
2421 // override double-click word selection behavior.
2422 pref("layout.word_select.eat_space_to_next_word", true);
2423 pref("layout.word_select.stop_at_punctuation", false);
2425 // If false, will always use closest matching size for a given
2426 // image font.  If true, will substitute a vector font for a given
2427 // image font if the given size is smaller/larger than can be handled
2428 // by the image font.
2429 pref("browser.display.substitute_vector_fonts", true);
2431 // print_extra_margin enables platforms to specify an extra gap or margin
2432 // around the content of the page for Print Preview only
2433 pref("print.print_extra_margin", 90); // twips (90 twips is an eigth of an inch)
2435 pref("applications.telnet", "telnetpm.exe");
2436 pref("applications.telnet.host", "%host%");
2437 pref("applications.telnet.port", "-p %port%");
2439 pref("mail.compose.max_recycled_windows", 0);
2441 // Disable IPv6 name lookups by default.
2442 // This is because OS/2 doesn't support IPv6
2443 pref("network.dns.disableIPv6", true);
2445 // IMEs of OS/2 might use non-topmost windows for topmost <panel> element,
2446 // see bug 451015. If there are other problems by this value, we may need to
2447 // change this value.
2448 pref("ui.panel.default_level_parent", false);
2450 pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
2452 # OS2
2453 #endif
2455 #ifdef XP_BEOS
2457 pref("intl.font_charset", "");
2458 pref("intl.font_spec_list", "");
2459 pref("mail.signature_date", 0);
2461 pref("font.alias-list", "sans,sans-serif,serif,monospace");
2463 pref("font.default.ar", "sans-serif");
2464 pref("font.size.variable.ar", 16);
2465 pref("font.size.fixed.ar", 13);
2467 pref("font.default.el", "serif");
2468 pref("font.size.variable.el", 16);
2469 pref("font.size.fixed.el", 13);
2471 pref("font.default.he", "sans-serif");
2472 pref("font.size.variable.he", 16);
2473 pref("font.size.fixed.he", 13);
2475 pref("font.default.ja", "sans-serif");
2476 pref("font.size.variable.ja", 16);
2477 pref("font.size.fixed.ja", 16);
2479 pref("font.default.ko", "sans-serif");
2480 pref("font.size.variable.ko", 16);
2481 pref("font.size.fixed.ko", 16);
2483 pref("font.default.th", "serif");
2484 pref("font.size.variable.th", 16);
2485 pref("font.size.fixed.th", 13);
2487 pref("font.default.tr", "serif");
2488 pref("font.size.variable.tr", 16);
2489 pref("font.size.fixed.tr", 13);
2491 pref("font.default.x-baltic", "serif");
2492 pref("font.size.variable.x-baltic", 16);
2493 pref("font.size.fixed.x-baltic", 13);
2495 pref("font.default.x-central-euro", "serif");
2496 pref("font.size.variable.x-central-euro", 16);
2497 pref("font.size.fixed.x-central-euro", 13);
2499 pref("font.default.x-cyrillic", "serif");
2500 pref("font.size.variable.x-cyrillic", 16);
2501 pref("font.size.fixed.x-cyrillic", 13);
2503 pref("font.default.x-unicode", "serif");
2504 pref("font.size.variable.x-unicode", 16);
2505 pref("font.size.fixed.x-unicode", 13);
2507 pref("font.default.x-western", "serif");
2508 pref("font.size.variable.x-western", 16);
2509 pref("font.size.fixed.x-western", 13);
2511 pref("font.default.zh-CN", "sans-serif");
2512 pref("font.size.variable.zh-CN", 16);
2513 pref("font.size.fixed.zh-CN", 16);
2515 pref("font.default.zh-TW", "sans-serif");
2516 pref("font.size.variable.zh-TW", 16);
2517 pref("font.size.fixed.zh-TW", 16);
2519 pref("font.default.zh-HK", "sans-serif");
2520 pref("font.size.variable.zh-HK", 16);
2521 pref("font.size.fixed.zh-HK", 16);
2524  * Set default accelKey to "Alt", which is the default under BeOS.
2525  * The generalAccessKey is used for shortcuts on web pages, set to
2526  * Ctrl+Shift. The menuAccessKey is now the "windows" key.
2527  */
2528 pref("ui.key.accelKey", 18);
2529 pref("ui.key.menuAccessKey", 17);
2530 pref("ui.key.generalAccessKey", -1);
2532 // If generalAccessKey is -1, use the following two prefs instead.
2533 // Use 0 for disabled, 1 for Shift, 2 for Ctrl, 4 for Alt, 8 for Meta
2534 // (values can be combined, e.g. 3 for Ctrl+Shift)
2535 pref("ui.key.chromeAccess", 2);
2536 pref("ui.key.contentAccess", 3);
2538 // xxx toolkit?
2539 pref("browser.download.dir", "/boot/home/Downloads");
2541 // IMEs of BeOS might use non-topmost windows for topmost <panel> element,
2542 // see bug 451015. If there are other problems by this value, we may need to
2543 // change this value.
2544 pref("ui.panel.default_level_parent", false);
2546 pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
2548 # BeOS
2549 #endif
2551 #ifdef ANDROID
2552 // Handled differently under Mac/Windows
2553 pref("network.protocol-handler.warn-external.file", false);
2554 pref("browser.drag_out_of_frame_style", 1);
2556 // Middle-mouse handling
2557 pref("middlemouse.paste", true);
2558 pref("middlemouse.contentLoadURL", true);
2559 pref("middlemouse.openNewWindow", true);
2560 pref("middlemouse.scrollbarPosition", true);
2562 // Clipboard behavior
2563 pref("clipboard.autocopy", true);
2565 pref("browser.urlbar.clickSelectsAll", false);
2567 // Tab focus model bit field:
2568 // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
2569 // Leave this at the default, 7, to match mozilla1.0-era user expectations.
2570 // pref("accessibility.tabfocus", 1);
2572 // autocomplete keyboard grab workaround
2573 pref("autocomplete.grab_during_popup", true);
2574 pref("autocomplete.ungrab_during_mode_switch", true);
2576 // Default to using the system filepicker if possible, but allow
2577 // toggling to use the XUL filepicker
2578 pref("ui.allow_platform_file_picker", true);
2580 pref("helpers.global_mime_types_file", "/etc/mime.types");
2581 pref("helpers.global_mailcap_file", "/etc/mailcap");
2582 pref("helpers.private_mime_types_file", "~/.mime.types");
2583 pref("helpers.private_mailcap_file", "~/.mailcap");
2584 pref("java.global_java_version_file", "/etc/.java/versions");
2585 pref("java.private_java_version_file", "~/.java/versions");
2586 pref("java.default_java_location_solaris", "/usr/j2se");
2587 pref("java.default_java_location_others", "/usr/java");
2588 pref("java.java_plugin_library_name", "javaplugin_oji");
2589 pref("applications.telnet", "xterm -e telnet %h %p");
2590 pref("applications.tn3270", "xterm -e tn3270 %h");
2591 pref("applications.rlogin", "xterm -e rlogin %h");
2592 pref("applications.rlogin_with_user", "xterm -e rlogin %h -l %u");
2593 pref("print.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
2594 pref("print.printer_list", ""); // list of printers, separated by spaces
2595 pref("print.print_reversed", false);
2596 pref("print.print_color", true);
2597 pref("print.print_landscape", false);
2598 pref("print.print_paper_size", 0);
2600 // print_extra_margin enables platforms to specify an extra gap or margin
2601 // around the content of the page for Print Preview only
2602 pref("print.print_extra_margin", 0); // twips
2604 pref("font.allow_double_byte_special_chars", true);
2605 // font names
2607 pref("font.alias-list", "sans,sans-serif,serif,monospace");
2609 // ar
2611 pref("font.name.serif.el", "Droid Serif");
2612 pref("font.name.sans-serif.el", "Droid Sans");
2613 pref("font.name.monospace.el", "Droid Sans Mono");
2615 pref("font.name.serif.he", "Droid Serif");
2616 pref("font.name.sans-serif.he", "Droid Sans");
2617 pref("font.name.monospace.he", "Droid Sans Mono");
2619 pref("font.name.serif.ja", "Droid Serif");
2620 pref("font.name.sans-serif.ja", "Droid Sans");
2621 pref("font.name.monospace.ja", "Droid Sans Mono");
2623 pref("font.name.serif.ko", "Droid Serif");
2624 pref("font.name.sans-serif.ko", "Droid Sans");
2625 pref("font.name.monospace.ko", "Droid Sans Mono");
2627 pref("font.name.serif.th", "Droid Serif");
2628 pref("font.name.sans-serif.th", "Droid Sans");
2629 pref("font.name.monospace.th", "Droid Sans Mono");
2631 pref("font.name.serif.tr", "Droid Serif");
2632 pref("font.name.sans-serif.tr", "Droid Sans");
2633 pref("font.name.monospace.tr", "Droid Sans Mono");
2635 pref("font.name.serif.x-baltic", "Droid Serif");
2636 pref("font.name.sans-serif.x-baltic", "Droid Sans");
2637 pref("font.name.monospace.x-baltic", "Droid Sans Mono");
2639 pref("font.name.serif.x-central-euro", "Droid Serif");
2640 pref("font.name.sans-serif.x-central-euro", "Droid Sans");
2641 pref("font.name.monospace.x-central-euro", "Droid Sans Mono");
2643 pref("font.name.serif.x-cyrillic", "Droid Serif");
2644 pref("font.name.sans-serif.x-cyrillic", "Droid Sans");
2645 pref("font.name.monospace.x-cyrillic", "Droid Sans Mono");
2647 pref("font.name.serif.x-unicode", "Droid Serif");
2648 pref("font.name.sans-serif.x-unicode", "Droid Sans");
2649 pref("font.name.monospace.x-unicode", "Droid Sans Mono");
2651 pref("font.name.serif.x-user-def", "Droid Serif");
2652 pref("font.name.sans-serif.x-user-def", "Droid Sans");
2653 pref("font.name.monospace.x-user-def", "Droid Sans Mono");
2655 pref("font.name.serif.x-western", "Droid Serif");
2656 pref("font.name.sans-serif.x-western", "Droid Sans");
2657 pref("font.name.monospace.x-western", "Droid Sans Mono");
2659 pref("font.name.serif.zh-CN", "Droid Serif");
2660 pref("font.name.sans-serif.zh-CN", "Droid Sans");
2661 pref("font.name.monospace.zh-CN", "Droid Sans Mono");
2663 // ming_uni.ttf (HKSCS-2001) 
2664 // http://www.info.gov.hk/digital21/eng/hkscs/download/uime.exe
2665 pref("font.name.serif.zh-HK", "Droid Serif");
2666 pref("font.name.sans-serif.zh-HK", "Droid Sans");
2667 pref("font.name.monospace.zh-HK", "Droid Sans Mono");
2669 // zh-TW
2671 pref("font.default.ar", "sans-serif");
2672 pref("font.size.variable.ar", 16);
2673 pref("font.size.fixed.ar", 12);
2675 pref("font.default.el", "sans-serif");
2676 pref("font.size.variable.el", 16);
2677 pref("font.size.fixed.el", 12);
2679 pref("font.default.he", "sans-serif");
2680 pref("font.size.variable.he", 16);
2681 pref("font.size.fixed.he", 12);
2683 pref("font.default.ja", "sans-serif");
2684 pref("font.size.variable.ja", 16);
2685 pref("font.size.fixed.ja", 16);
2687 pref("font.default.ko", "sans-serif");
2688 pref("font.size.variable.ko", 16);
2689 pref("font.size.fixed.ko", 16);
2691 pref("font.default.th", "serif");
2692 pref("font.size.variable.th", 16);
2693 pref("font.size.fixed.th", 13);
2694 pref("font.minimum-size.th", 13);
2696 pref("font.default.tr", "sans-serif");
2697 pref("font.size.variable.tr", 16);
2698 pref("font.size.fixed.tr", 12);
2700 pref("font.default.x-baltic", "sans-serif");
2701 pref("font.size.variable.x-baltic", 16);
2702 pref("font.size.fixed.x-baltic", 12);
2704 pref("font.default.x-central-euro", "sans-serif");
2705 pref("font.size.variable.x-central-euro", 16);
2706 pref("font.size.fixed.x-central-euro", 12);
2708 pref("font.default.x-cyrillic", "sans-serif");
2709 pref("font.size.variable.x-cyrillic", 16);
2710 pref("font.size.fixed.x-cyrillic", 12);
2712 pref("font.default.x-unicode", "sans-serif");
2713 pref("font.size.variable.x-unicode", 16);
2714 pref("font.size.fixed.x-unicode", 12);
2716 pref("font.default.x-user-def", "sans-serif");
2717 pref("font.size.variable.x-user-def", 16);
2718 pref("font.size.fixed.x-user-def", 12);
2720 pref("font.default.x-western", "sans-serif");
2721 pref("font.size.variable.x-western", 16);
2722 pref("font.size.fixed.x-western", 12);
2724 pref("font.default.zh-CN", "sans-serif");
2725 pref("font.size.variable.zh-CN", 16);
2726 pref("font.size.fixed.zh-CN", 16);
2728 pref("font.default.zh-TW", "sans-serif");
2729 pref("font.size.variable.zh-TW", 16);
2730 pref("font.size.fixed.zh-TW", 16);
2732 pref("font.default.zh-HK", "sans-serif");
2733 pref("font.size.variable.zh-HK", 16);
2734 pref("font.size.fixed.zh-HK", 16);
2736 pref("font.default.x-devanagari", "serif");
2737 pref("font.size.variable.x-devanagari", 16);
2738 pref("font.size.fixed.x-devanagari", 13);
2740 pref("font.default.x-tamil", "serif");
2741 pref("font.size.variable.x-tamil", 16);
2742 pref("font.size.fixed.x-tamil", 13);
2744 pref("font.default.x-armn", "serif");
2745 pref("font.size.variable.x-armn", 16);
2746 pref("font.size.fixed.x-armn", 13);
2748 pref("font.default.x-beng", "serif");
2749 pref("font.size.variable.x-beng", 16);
2750 pref("font.size.fixed.x-beng", 13);
2752 pref("font.default.x-cans", "serif");
2753 pref("font.size.variable.x-cans", 16);
2754 pref("font.size.fixed.x-cans", 13);
2756 pref("font.default.x-ethi", "serif");
2757 pref("font.size.variable.x-ethi", 16);
2758 pref("font.size.fixed.x-ethi", 13);
2760 pref("font.default.x-geor", "serif");
2761 pref("font.size.variable.x-geor", 16);
2762 pref("font.size.fixed.x-geor", 13);
2764 pref("font.default.x-gujr", "serif");
2765 pref("font.size.variable.x-gujr", 16);
2766 pref("font.size.fixed.x-gujr", 13);
2768 pref("font.default.x-guru", "serif");
2769 pref("font.size.variable.x-guru", 16);
2770 pref("font.size.fixed.x-guru", 13);
2772 pref("font.default.x-khmr", "serif");
2773 pref("font.size.variable.x-khmr", 16);
2774 pref("font.size.fixed.x-khmr", 13);
2776 pref("font.default.x-mlym", "serif");
2777 pref("font.size.variable.x-mlym", 16);
2778 pref("font.size.fixed.x-mlym", 13);
2780 pref("font.default.x-orya", "serif");
2781 pref("font.size.variable.x-orya", 16);
2782 pref("font.size.fixed.x-orya", 13);
2784 pref("font.default.x-telu", "serif");
2785 pref("font.size.variable.x-telu", 16);
2786 pref("font.size.fixed.x-telu", 13);
2788 pref("font.default.x-knda", "serif");
2789 pref("font.size.variable.x-knda", 16);
2790 pref("font.size.fixed.x-knda", 13);
2792 pref("font.default.x-sinh", "serif");
2793 pref("font.size.variable.x-sinh", 16);
2794 pref("font.size.fixed.x-sinh", 13);
2796 pref("font.default.x-tibt", "serif");
2797 pref("font.size.variable.x-tibt", 16);
2798 pref("font.size.fixed.x-tibt", 13);
2800 /* PostScript print module prefs */
2801 // pref("print.postscript.enabled",      true);
2802 pref("print.postscript.paper_size",    "letter");
2803 pref("print.postscript.orientation",   "portrait");
2804 pref("print.postscript.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
2806 // Setting default_level_parent to true makes the default level for popup
2807 // windows "top" instead of "parent".  On GTK2 platform, this is implemented
2808 // with override-redirect windows which is the normal way to implement
2809 // temporary popup windows.  Setting this to false would make the default
2810 // level "parent" which is implemented with managed windows.
2811 // A problem with using managed windows is that metacity sometimes deactivates
2812 // the parent window when the managed popup is shown.
2813 pref("ui.panel.default_level_parent", true);
2815 pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
2817 # ANDROID
2818 #endif
2820 #ifndef ANDROID
2821 #ifndef XP_MACOSX
2822 #ifdef XP_UNIX
2823 // Handled differently under Mac/Windows
2824 pref("network.protocol-handler.warn-external.file", false);
2825 pref("browser.drag_out_of_frame_style", 1);
2827 // Middle-mouse handling
2828 pref("middlemouse.paste", true);
2829 pref("middlemouse.contentLoadURL", true);
2830 pref("middlemouse.openNewWindow", true);
2831 pref("middlemouse.scrollbarPosition", true);
2833 // Clipboard behavior
2834 pref("clipboard.autocopy", true);
2836 pref("browser.urlbar.clickSelectsAll", false);
2838 // Tab focus model bit field:
2839 // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
2840 // Leave this at the default, 7, to match mozilla1.0-era user expectations.
2841 // pref("accessibility.tabfocus", 1);
2843 // autocomplete keyboard grab workaround
2844 pref("autocomplete.grab_during_popup", true);
2845 pref("autocomplete.ungrab_during_mode_switch", true);
2847 // Default to using the system filepicker if possible, but allow
2848 // toggling to use the XUL filepicker
2849 pref("ui.allow_platform_file_picker", true);
2851 pref("helpers.global_mime_types_file", "/etc/mime.types");
2852 pref("helpers.global_mailcap_file", "/etc/mailcap");
2853 pref("helpers.private_mime_types_file", "~/.mime.types");
2854 pref("helpers.private_mailcap_file", "~/.mailcap");
2855 pref("java.global_java_version_file", "/etc/.java/versions");
2856 pref("java.private_java_version_file", "~/.java/versions");
2857 pref("java.default_java_location_solaris", "/usr/j2se");
2858 pref("java.default_java_location_others", "/usr/java");
2859 pref("java.java_plugin_library_name", "javaplugin_oji");
2860 pref("applications.telnet", "xterm -e telnet %h %p");
2861 pref("applications.tn3270", "xterm -e tn3270 %h");
2862 pref("applications.rlogin", "xterm -e rlogin %h");
2863 pref("applications.rlogin_with_user", "xterm -e rlogin %h -l %u");
2864 pref("print.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
2865 pref("print.printer_list", ""); // list of printers, separated by spaces
2866 pref("print.print_reversed", false);
2867 pref("print.print_color", true);
2868 pref("print.print_landscape", false);
2869 pref("print.print_paper_size", 0);
2871 // print_extra_margin enables platforms to specify an extra gap or margin
2872 // around the content of the page for Print Preview only
2873 pref("print.print_extra_margin", 0); // twips
2875 pref("font.allow_double_byte_special_chars", true);
2876 // font names
2878 pref("font.alias-list", "sans,sans-serif,serif,monospace");
2880 // ar
2882 pref("font.name.serif.el", "serif");
2883 pref("font.name.sans-serif.el", "sans-serif");
2884 pref("font.name.monospace.el", "monospace");
2886 pref("font.name.serif.he", "serif");
2887 pref("font.name.sans-serif.he", "sans-serif");
2888 pref("font.name.monospace.he", "monospace");
2890 pref("font.name.serif.ja", "serif");
2891 pref("font.name.sans-serif.ja", "sans-serif");
2892 pref("font.name.monospace.ja", "monospace");
2894 pref("font.name.serif.ko", "serif");
2895 pref("font.name.sans-serif.ko", "sans-serif");
2896 pref("font.name.monospace.ko", "monospace");
2898 pref("font.name.serif.th", "serif");
2899 pref("font.name.sans-serif.th", "sans-serif");
2900 pref("font.name.monospace.th", "monospace");
2902 pref("font.name.serif.tr", "serif");
2903 pref("font.name.sans-serif.tr", "sans-serif");
2904 pref("font.name.monospace.tr", "monospace");
2906 pref("font.name.serif.x-baltic", "serif");
2907 pref("font.name.sans-serif.x-baltic", "sans-serif");
2908 pref("font.name.monospace.x-baltic", "monospace");
2910 pref("font.name.serif.x-central-euro", "serif");
2911 pref("font.name.sans-serif.x-central-euro", "sans-serif");
2912 pref("font.name.monospace.x-central-euro", "monospace");
2914 pref("font.name.serif.x-cyrillic", "serif");
2915 pref("font.name.sans-serif.x-cyrillic", "sans-serif");
2916 pref("font.name.monospace.x-cyrillic", "monospace");
2918 pref("font.name.serif.x-unicode", "serif");
2919 pref("font.name.sans-serif.x-unicode", "sans-serif");
2920 pref("font.name.monospace.x-unicode", "monospace");
2922 pref("font.name.serif.x-user-def", "serif");
2923 pref("font.name.sans-serif.x-user-def", "sans-serif");
2924 pref("font.name.monospace.x-user-def", "monospace");
2926 pref("font.name.serif.x-western", "serif");
2927 pref("font.name.sans-serif.x-western", "sans-serif");
2928 pref("font.name.monospace.x-western", "monospace");
2930 pref("font.name.serif.zh-CN", "serif");
2931 pref("font.name.sans-serif.zh-CN", "sans-serif");
2932 pref("font.name.monospace.zh-CN", "monospace");
2934 // ming_uni.ttf (HKSCS-2001) 
2935 // http://www.info.gov.hk/digital21/eng/hkscs/download/uime.exe
2936 pref("font.name.serif.zh-HK", "serif");
2937 pref("font.name.sans-serif.zh-HK", "sans-serif");
2938 pref("font.name.monospace.zh-HK", "monospace");
2940 // zh-TW
2942 pref("font.default.ar", "sans-serif");
2943 pref("font.size.variable.ar", 16);
2944 pref("font.size.fixed.ar", 12);
2946 pref("font.default.el", "serif");
2947 pref("font.size.variable.el", 16);
2948 pref("font.size.fixed.el", 12);
2950 pref("font.default.he", "sans-serif");
2951 pref("font.size.variable.he", 16);
2952 pref("font.size.fixed.he", 12);
2954 pref("font.default.ja", "sans-serif");
2955 pref("font.size.variable.ja", 16);
2956 pref("font.size.fixed.ja", 16);
2958 pref("font.default.ko", "sans-serif");
2959 pref("font.size.variable.ko", 16);
2960 pref("font.size.fixed.ko", 16);
2962 pref("font.default.th", "serif");
2963 pref("font.size.variable.th", 16);
2964 pref("font.size.fixed.th", 13);
2965 pref("font.minimum-size.th", 13);
2967 pref("font.default.tr", "serif");
2968 pref("font.size.variable.tr", 16);
2969 pref("font.size.fixed.tr", 12);
2971 pref("font.default.x-baltic", "serif");
2972 pref("font.size.variable.x-baltic", 16);
2973 pref("font.size.fixed.x-baltic", 12);
2975 pref("font.default.x-central-euro", "serif");
2976 pref("font.size.variable.x-central-euro", 16);
2977 pref("font.size.fixed.x-central-euro", 12);
2979 pref("font.default.x-cyrillic", "serif");
2980 pref("font.size.variable.x-cyrillic", 16);
2981 pref("font.size.fixed.x-cyrillic", 12);
2983 pref("font.default.x-unicode", "serif");
2984 pref("font.size.variable.x-unicode", 16);
2985 pref("font.size.fixed.x-unicode", 12);
2987 pref("font.default.x-user-def", "serif");
2988 pref("font.size.variable.x-user-def", 16);
2989 pref("font.size.fixed.x-user-def", 12);
2991 pref("font.default.x-western", "serif");
2992 pref("font.size.variable.x-western", 16);
2993 pref("font.size.fixed.x-western", 12);
2995 pref("font.default.zh-CN", "sans-serif");
2996 pref("font.size.variable.zh-CN", 16);
2997 pref("font.size.fixed.zh-CN", 16);
2999 pref("font.default.zh-TW", "sans-serif");
3000 pref("font.size.variable.zh-TW", 16);
3001 pref("font.size.fixed.zh-TW", 16);
3003 pref("font.default.zh-HK", "sans-serif");
3004 pref("font.size.variable.zh-HK", 16);
3005 pref("font.size.fixed.zh-HK", 16);
3007 pref("font.default.x-devanagari", "serif");
3008 pref("font.size.variable.x-devanagari", 16);
3009 pref("font.size.fixed.x-devanagari", 13);
3011 pref("font.default.x-tamil", "serif");
3012 pref("font.size.variable.x-tamil", 16);
3013 pref("font.size.fixed.x-tamil", 13);
3015 pref("font.default.x-armn", "serif");
3016 pref("font.size.variable.x-armn", 16);
3017 pref("font.size.fixed.x-armn", 13);
3019 pref("font.default.x-beng", "serif");
3020 pref("font.size.variable.x-beng", 16);
3021 pref("font.size.fixed.x-beng", 13);
3023 pref("font.default.x-cans", "serif");
3024 pref("font.size.variable.x-cans", 16);
3025 pref("font.size.fixed.x-cans", 13);
3027 pref("font.default.x-ethi", "serif");
3028 pref("font.size.variable.x-ethi", 16);
3029 pref("font.size.fixed.x-ethi", 13);
3031 pref("font.default.x-geor", "serif");
3032 pref("font.size.variable.x-geor", 16);
3033 pref("font.size.fixed.x-geor", 13);
3035 pref("font.default.x-gujr", "serif");
3036 pref("font.size.variable.x-gujr", 16);
3037 pref("font.size.fixed.x-gujr", 13);
3039 pref("font.default.x-guru", "serif");
3040 pref("font.size.variable.x-guru", 16);
3041 pref("font.size.fixed.x-guru", 13);
3043 pref("font.default.x-khmr", "serif");
3044 pref("font.size.variable.x-khmr", 16);
3045 pref("font.size.fixed.x-khmr", 13);
3047 pref("font.default.x-mlym", "serif");
3048 pref("font.size.variable.x-mlym", 16);
3049 pref("font.size.fixed.x-mlym", 13);
3051 pref("font.default.x-orya", "serif");
3052 pref("font.size.variable.x-orya", 16);
3053 pref("font.size.fixed.x-orya", 13);
3055 pref("font.default.x-telu", "serif");
3056 pref("font.size.variable.x-telu", 16);
3057 pref("font.size.fixed.x-telu", 13);
3059 pref("font.default.x-knda", "serif");
3060 pref("font.size.variable.x-knda", 16);
3061 pref("font.size.fixed.x-knda", 13);
3063 pref("font.default.x-sinh", "serif");
3064 pref("font.size.variable.x-sinh", 16);
3065 pref("font.size.fixed.x-sinh", 13);
3067 pref("font.default.x-tibt", "serif");
3068 pref("font.size.variable.x-tibt", 16);
3069 pref("font.size.fixed.x-tibt", 13);
3071 /* PostScript print module prefs */
3072 // pref("print.postscript.enabled",      true);
3073 pref("print.postscript.paper_size",    "letter");
3074 pref("print.postscript.orientation",   "portrait");
3075 pref("print.postscript.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
3077 // On GTK2 platform, we should use topmost window level for the default window
3078 // level of <panel> element of XUL. GTK2 has only two window types. One is
3079 // normal top level window, other is popup window. The popup window is always
3080 // topmost window level, therefore, we are using normal top level window for
3081 // non-topmost panel, but it is pretty hacky. On some Window Managers, we have
3082 // 2 problems:
3083 // 1. The non-topmost panel steals focus from its parent window at showing.
3084 // 2. The parent of non-topmost panel is not activated when the panel is hidden.
3085 // So, we have no reasons we should use non-toplevel window for popup.
3086 pref("ui.panel.default_level_parent", true);
3088 pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
3090 # XP_UNIX
3091 #endif
3092 #endif
3093 #endif
3095 #if OS_ARCH==OpenVMS
3097 pref("mail.use_builtin_movemail", false);
3099 pref("helpers.global_mime_types_file", "/sys$manager/netscape/mime.types");
3100 pref("helpers.global_mailcap_file", "/sys$manager/netscape/mailcap");
3101 pref("helpers.private_mime_types_file", "/sys$login/.mime.types");
3102 pref("helpers.private_mailcaptypes_file", "/sys$login/.mailcap");
3104 pref("applications.telnet", "create /term /detach \"telnet %h %p\"");
3105 pref("applications.tn3270", "create /term /detach \"telnet /term=IBM-3278-5 %h %p\"");
3106 pref("applications.rlogin", "create /term /detach \"rlogin %h\"");
3107 pref("applications.rlogin_with_user", "create /term /detach \"rlogin %h -l %u\"");
3109 /* PostScript module specific (see unix.js for additional configuration details) */
3110 pref("print.postscript.print_command", "print /delete");
3111 /* Print module independent */
3112 pref("print.print_command", "print /delete");
3113 pref("print.print_color", false);
3115 pref("browser.cache.disk.capacity", 4096);
3116 pref("plugin.soname.list", "");
3118 # OpenVMS
3119 #endif
3121 #if OS_ARCH==AIX
3123 // Override default Japanese fonts
3124 pref("font.name.serif.ja", "dt-interface system-jisx0208.1983-0");
3125 pref("font.name.sans-serif.ja", "dt-interface system-jisx0208.1983-0");
3126 pref("font.name.monospace.ja", "dt-interface user-jisx0208.1983-0");
3128 // Override default Cyrillic fonts
3129 pref("font.name.serif.x-cyrillic", "dt-interface system-iso8859-5");
3130 pref("font.name.sans-serif.x-cyrillic", "dt-interface system-iso8859-5");
3131 pref("font.name.monospace.x-cyrillic", "dt-interface user-iso8859-5");
3133 // Override default Unicode fonts
3134 pref("font.name.serif.x-unicode", "dt-interface system-ucs2.cjk_japan-0");
3135 pref("font.name.sans-serif.x-unicode", "dt-interface system-ucs2.cjk_japan-0");
3136 pref("font.name.monospace.x-unicode", "dt-interface user-ucs2.cjk_japan-0");
3138 # AIX
3139 #endif
3141 #ifdef SOLARIS
3143 pref("print.postscript.print_command", "lp -c -s ${MOZ_PRINTER_NAME:+-d\"$MOZ_PRINTER_NAME\"}");
3144 pref("print.print_command", "lp -c -s ${MOZ_PRINTER_NAME:+-d\"$MOZ_PRINTER_NAME\"}");
3146 # Solaris
3147 #endif
3149 // Login Manager prefs
3150 pref("signon.rememberSignons",              true);
3151 pref("signon.SignonFileName",               "signons.txt"); // obsolete 
3152 pref("signon.SignonFileName2",              "signons2.txt"); // obsolete
3153 pref("signon.SignonFileName3",              "signons3.txt"); // obsolete
3154 pref("signon.autofillForms",                true);
3155 pref("signon.autologin.proxy",              false);
3156 pref("signon.debug",                        false);
3158 // Satchel (Form Manager) prefs
3159 pref("browser.formfill.debug",            false);
3160 pref("browser.formfill.enable",           true);
3161 pref("browser.formfill.expire_days",      180);
3162 pref("browser.formfill.saveHttpsForms",   true);
3163 pref("browser.formfill.agedWeight",       2);
3164 pref("browser.formfill.bucketSize",       1);
3165 pref("browser.formfill.maxTimeGroupings", 25);
3166 pref("browser.formfill.timeGroupingSize", 604800);
3167 pref("browser.formfill.boundaryWeight",   25);
3168 pref("browser.formfill.prefixWeight",     5);
3170 // Zoom prefs
3171 pref("browser.zoom.full", false);
3172 pref("zoom.minPercent", 30);
3173 pref("zoom.maxPercent", 300);
3174 pref("toolkit.zoomManager.zoomValues", ".3,.5,.67,.8,.9,1,1.1,1.2,1.33,1.5,1.7,2,2.4,3");
3176 // Image cache prefs
3177 // The maximum size, in bytes, of the decoded images we cache
3178 pref("image.cache.size", 5242880);
3179 // A weight, from 0-1000, to place on time when comparing to size.
3180 // Size is given a weight of 1000 - timeweight.
3181 pref("image.cache.timeweight", 500);
3183 // The default Accept header sent for images loaded over HTTP(S)
3184 pref("image.http.accept", "image/png,image/*;q=0.8,*/*;q=0.5");
3187 // Image memory management prefs
3190 // Discards inactive image frames and re-decodes them on demand from
3191 // compressed data.
3192 pref("image.mem.discardable", true);
3194 // Prevents images from automatically being decoded on load, instead allowing
3195 // them to be decoded on demand when they are drawn.
3196 pref("image.mem.decodeondraw", false);
3198 // Minimum timeout for image discarding (in milliseconds). The actual time in
3199 // which an image must inactive for it to be discarded will vary between this
3200 // value and twice this value.
3201 pref("image.mem.min_discard_timeout_ms", 120000);
3203 // Chunk size for calls to the image decoders
3204 pref("image.mem.decode_bytes_at_a_time", 200000);
3206 // The longest time we can spend in an iteration of an async decode
3207 pref("image.mem.max_ms_before_yield", 400);
3209 // The maximum source data size for which we auto sync decode
3210 pref("image.mem.max_bytes_for_sync_decode", 150000);
3212 // WebGL prefs
3213 pref("webgl.force-enabled", false);
3214 pref("webgl.disabled", false);
3215 pref("webgl.shader_validator", true);
3216 pref("webgl.force_osmesa", false);
3217 pref("webgl.osmesalib", "");
3218 pref("webgl.verbose", false);
3219 pref("webgl.prefer-native-gl", false);
3221 #ifdef XP_WIN
3222 #ifndef WINCE
3223 // The default TCP send window on Windows is too small, and autotuning only occurs on receive
3224 pref("network.tcp.sendbuffer", 131072);
3225 #endif
3226 #endif
3228 #ifdef WINCE
3229 pref("mozilla.widget.disable-native-theme", true);
3230 pref("gfx.color_management.mode", 0);
3231 #endif
3233 // Whether to disable acceleration for all widgets.
3234 pref("layers.acceleration.disabled", false);
3236 // Whether to force acceleration on, ignoring blacklists.
3237 pref("layers.acceleration.force-enabled", false);
3239 #ifdef XP_WIN
3240 #ifndef WINCE
3241 // Whether to disable the automatic detection and use of direct2d.
3242 pref("gfx.direct2d.disabled", false);
3243 // Whether to attempt to enable Direct2D regardless of automatic detection or
3244 // blacklisting
3245 pref("gfx.direct2d.force-enabled", false);
3247 pref("layers.prefer-opengl", false);
3248 pref("layers.prefer-d3d9", false);
3249 #endif
3250 #endif
3252 // Enable/Disable the geolocation API for content
3253 pref("geo.enabled", true);
3255 // Enable/Disable the orientation API for content
3256 pref("accelerometer.enabled", true);
3258 // Enable/Disable HTML5 parser
3259 pref("html5.enable", true);
3260 // Toggle which thread the HTML5 parser uses for stream parsing
3261 pref("html5.offmainthread", true);
3262 // Time in milliseconds between the time a network buffer is seen and the 
3263 // timer firing when the timer hasn't fired previously in this parse in the 
3264 // off-the-main-thread HTML5 parser.
3265 pref("html5.flushtimer.initialdelay", 120);
3266 // Time in milliseconds between the time a network buffer is seen and the 
3267 // timer firing when the timer has already fired previously in this parse.
3268 pref("html5.flushtimer.subsequentdelay", 120);
3270 // Push/Pop/Replace State prefs
3271 pref("browser.history.allowPushState", true);
3272 pref("browser.history.allowReplaceState", true);
3273 pref("browser.history.allowPopState", true);
3274 pref("browser.history.maxStateObjectSize", 655360);
3276 // XPInstall prefs
3277 pref("xpinstall.whitelist.required", true);
3278 pref("extensions.alwaysUnpack", false);
3280 pref("network.buffer.cache.count", 24);
3281 pref("network.buffer.cache.size",  32768);
3283 // Desktop Notification
3284 pref("notification.feature.enabled", false);