Backing out Elantech patches (bug 593372) because they broke scroll wheel functionali...
[mozilla-central.git] / modules / libpref / src / init / all.js
blob1b2ae391e4c9302c6eb16724ac8c6710e4ed08ba
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.sanitize", true);
196 #ifdef XP_MACOSX
197 pref("gfx.downloadable_fonts.sanitize.preserve_otl_tables", false);
198 #else
199 pref("gfx.downloadable_fonts.sanitize.preserve_otl_tables", true);
200 #endif
202 pref("gfx.font_rendering.harfbuzz.level", 2);
204 #ifdef XP_WIN
205 #ifndef WINCE
206 pref("gfx.font_rendering.directwrite.enabled", false);
207 pref("gfx.font_rendering.directwrite.use_gdi_table_loading", true);
208 #endif
209 #endif
211 pref("accessibility.browsewithcaret", false);
212 pref("accessibility.warn_on_browsewithcaret", true);
214 pref("accessibility.browsewithcaret_shortcut.enabled", true);
216 #ifndef XP_MACOSX
217 // Tab focus model bit field:
218 // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
219 // Most users will want 1, 3, or 7.
220 // On OS X, we use Full Keyboard Access system preference,
221 // unless accessibility.tabfocus is set by the user.
222 pref("accessibility.tabfocus", 7);
223 pref("accessibility.tabfocus_applies_to_xul", false);
225 // Forcibly disable a11y on win32, even if something attempts
226 // to enable it.
227 pref("accessibility.win32.force_disabled", false);
229 // On OS X, we follow the "Click in the scrollbar to:" system preference
230 // unless this preference was set manually
231 pref("ui.scrollToClick", 0);
233 #else
234 // Only on mac tabfocus is expected to handle UI widgets as well as web content
235 pref("accessibility.tabfocus_applies_to_xul", true);
236 #endif
238 pref("accessibility.usetexttospeech", "");
239 pref("accessibility.usebrailledisplay", "");
240 pref("accessibility.accesskeycausesactivation", true);
241 pref("accessibility.mouse_focuses_formcontrol", false);
243 // Type Ahead Find
244 pref("accessibility.typeaheadfind", true);
245 pref("accessibility.typeaheadfind.autostart", true);
246 // casesensitive: controls the find bar's case-sensitivity
247 //     0 - "never"  (case-insensitive)
248 //     1 - "always" (case-sensitive)
249 // other - "auto"   (case-sensitive for mixed-case input, insensitive otherwise)
250 pref("accessibility.typeaheadfind.casesensitive", 0);
251 pref("accessibility.typeaheadfind.linksonly", true);
252 pref("accessibility.typeaheadfind.startlinksonly", false);
253 pref("accessibility.typeaheadfind.timeout", 4000);
254 pref("accessibility.typeaheadfind.enabletimeout", true);
255 pref("accessibility.typeaheadfind.soundURL", "beep");
256 pref("accessibility.typeaheadfind.enablesound", true);
257 pref("accessibility.typeaheadfind.prefillwithselection", true);
259 // use Mac OS X Appearance panel text smoothing setting when rendering text, disabled by default
260 pref("gfx.use_text_smoothing_setting", false);
262 // loading and rendering of framesets and iframes
263 pref("browser.frames.enabled", true);
265 // Number of characters to consider emphasizing for rich autocomplete results
266 pref("toolkit.autocomplete.richBoundaryCutoff", 200);
268 pref("toolkit.scrollbox.smoothScroll", true);
269 pref("toolkit.scrollbox.scrollIncrement", 20);
270 pref("toolkit.scrollbox.clickToScroll.scrollDelay", 150);
272 // view source
273 pref("view_source.syntax_highlight", true);
274 pref("view_source.wrap_long_lines", false);
275 pref("view_source.editor.external", false);
276 pref("view_source.editor.path", "");
277 // allows to add further arguments to the editor; use the %LINE% placeholder
278 // for jumping to a specific line (e.g. "/line:%LINE%" or "--goto %LINE%")
279 pref("view_source.editor.args", "");
281 // dispatch left clicks only to content in browser (still allows clicks to chrome/xul)
282 pref("nglayout.events.dispatchLeftClickOnly", true);
284 // whether or not to draw images while dragging
285 pref("nglayout.enable_drag_images", true);
287 // scrollbar snapping region
288 // 0 - off
289 // 1 and higher - slider thickness multiple
290 pref("slider.snapMultiplier", 0);
292 // option to choose plug-in finder
293 pref("application.use_ns_plugin_finder", false);
295 // URI fixup prefs
296 pref("browser.fixup.alternate.enabled", true);
297 pref("browser.fixup.alternate.prefix", "www.");
298 pref("browser.fixup.alternate.suffix", ".com");
299 pref("browser.fixup.hide_user_pass", true);
301 // Location Bar AutoComplete
302 pref("browser.urlbar.autocomplete.enabled", true);
304 // Print header customization
305 // Use the following codes:
306 // &T - Title
307 // &U - Document URL
308 // &D - Date/Time
309 // &P - Page Number
310 // &PT - Page Number "of" Page total
311 // Set each header to a string containing zero or one of these codes
312 // and the code will be replaced in that string by the corresponding data
313 pref("print.print_headerleft", "&T");
314 pref("print.print_headercenter", "");
315 pref("print.print_headerright", "&U");
316 pref("print.print_footerleft", "&PT");
317 pref("print.print_footercenter", "");
318 pref("print.print_footerright", "&D");
319 pref("print.show_print_progress", true);
321 // xxxbsmedberg: more toolkit prefs
323 // When this is set to false each window has its own PrintSettings
324 // and a change in one window does not affect the others
325 pref("print.use_global_printsettings", true);
327 // Save the Printings after each print job
328 pref("print.save_print_settings", true);
330 pref("print.whileInPrintPreview", true);
332 // Cache old Presentation when going into Print Preview
333 pref("print.always_cache_old_pres", false);
335 // Enables you to specify the amount of the paper that is to be treated
336 // as unwriteable.  The print_edge_XXX and print_margin_XXX preferences
337 // are treated as offsets that are added to this pref.
338 // Default is "-1", which means "use the system default".  (If there is
339 // no system default, then the -1 is treated as if it were 0.)
340 // This is used by both Printing and Print Preview.
341 // Units are in 1/100ths of an inch.
342 pref("print.print_unwriteable_margin_top",    -1);
343 pref("print.print_unwriteable_margin_left",   -1);
344 pref("print.print_unwriteable_margin_right",  -1);
345 pref("print.print_unwriteable_margin_bottom", -1);
347 // Enables you to specify the gap from the edge of the paper's 
348 // unwriteable area to the margin.
349 // This is used by both Printing and Print Preview
350 // Units are in 1/100ths of an inch.
351 pref("print.print_edge_top", 0);
352 pref("print.print_edge_left", 0);
353 pref("print.print_edge_right", 0);
354 pref("print.print_edge_bottom", 0);
356 // Pref used by the spellchecker extension to control the 
357 // maximum number of misspelled words that will be underlined
358 // in a document.
359 pref("extensions.spellcheck.inline.max-misspellings", 500);
361 // Prefs used by libeditor. Prefs specific to seamonkey composer
362 // belong in comm-central/editor/ui/composer.js
364 pref("editor.use_custom_colors", false);
365 pref("editor.singleLine.pasteNewlines",      2);
366 pref("editor.quotesPreformatted",            false);
367 pref("editor.use_css",                       true);
368 pref("editor.css.default_length_unit",       "px");
369 pref("editor.resizing.preserve_ratio",       true);
370 pref("editor.positioning.offset",            0);
373 // Default Capability Preferences: Security-Critical! 
374 // Editing these may create a security risk - be sure you know what you're doing
375 //pref("capability.policy.default.barprop.visible.set", "UniversalBrowserWrite");
377 pref("capability.policy.default_policynames", "mailnews");
379 pref("capability.policy.default.DOMException.code", "allAccess");
380 pref("capability.policy.default.DOMException.message", "allAccess");
381 pref("capability.policy.default.DOMException.name", "allAccess");
382 pref("capability.policy.default.DOMException.result", "allAccess");
383 pref("capability.policy.default.DOMException.toString.get", "allAccess");
385 pref("capability.policy.default.History.back.get", "allAccess");
386 pref("capability.policy.default.History.current", "UniversalBrowserRead");
387 pref("capability.policy.default.History.forward.get", "allAccess");
388 pref("capability.policy.default.History.go.get", "allAccess");
389 pref("capability.policy.default.History.item", "UniversalBrowserRead");
390 pref("capability.policy.default.History.next", "UniversalBrowserRead");
391 pref("capability.policy.default.History.previous", "UniversalBrowserRead");
392 pref("capability.policy.default.History.toString", "UniversalBrowserRead");
394 pref("capability.policy.default.Location.hash.set", "allAccess");
395 pref("capability.policy.default.Location.href.set", "allAccess");
396 pref("capability.policy.default.Location.replace.get", "allAccess");
398 pref("capability.policy.default.Navigator.preference", "allAccess");
399 pref("capability.policy.default.Navigator.preferenceinternal.get", "UniversalPreferencesRead");
400 pref("capability.policy.default.Navigator.preferenceinternal.set", "UniversalPreferencesWrite");
402 pref("capability.policy.default.Window.blur.get", "allAccess");
403 pref("capability.policy.default.Window.close.get", "allAccess");
404 pref("capability.policy.default.Window.closed.get", "allAccess");
405 pref("capability.policy.default.Window.focus.get", "allAccess");
406 pref("capability.policy.default.Window.frames.get", "allAccess");
407 pref("capability.policy.default.Window.history.get", "allAccess");
408 pref("capability.policy.default.Window.length.get", "allAccess");
409 pref("capability.policy.default.Window.location", "allAccess");
410 pref("capability.policy.default.Window.opener.get", "allAccess");
411 pref("capability.policy.default.Window.parent.get", "allAccess");
412 pref("capability.policy.default.Window.postMessage.get", "allAccess");
413 pref("capability.policy.default.Window.self.get", "allAccess");
414 pref("capability.policy.default.Window.top.get", "allAccess");
415 pref("capability.policy.default.Window.window.get", "allAccess");
417 pref("capability.policy.default.Selection.addSelectionListener", "UniversalXPConnect");
418 pref("capability.policy.default.Selection.removeSelectionListener", "UniversalXPConnect");
420 // Restrictions on the DOM for mail/news - see bugs 66938 and 84545
421 pref("capability.policy.mailnews.sites", "mailbox: imap: news:");
423 pref("capability.policy.mailnews.*.attributes.get", "noAccess");
424 pref("capability.policy.mailnews.*.baseURI.get", "noAccess");
425 pref("capability.policy.mailnews.*.data.get", "noAccess");
426 pref("capability.policy.mailnews.*.getAttribute", "noAccess");
427 pref("capability.policy.mailnews.HTMLDivElement.getAttribute", "sameOrigin");
428 pref("capability.policy.mailnews.*.getAttributeNS", "noAccess");
429 pref("capability.policy.mailnews.*.getAttributeNode", "noAccess");
430 pref("capability.policy.mailnews.*.getAttributeNodeNS", "noAccess");
431 pref("capability.policy.mailnews.*.getNamedItem", "noAccess");
432 pref("capability.policy.mailnews.*.getNamedItemNS", "noAccess");
433 pref("capability.policy.mailnews.*.host.get", "noAccess");
434 pref("capability.policy.mailnews.*.hostname.get", "noAccess");
435 pref("capability.policy.mailnews.*.href.get", "noAccess");
436 pref("capability.policy.mailnews.*.innerHTML.get", "noAccess");
437 pref("capability.policy.mailnews.*.lowSrc.get", "noAccess");
438 pref("capability.policy.mailnews.*.nodeValue.get", "noAccess");
439 pref("capability.policy.mailnews.*.pathname.get", "noAccess");
440 pref("capability.policy.mailnews.*.protocol.get", "noAccess");
441 pref("capability.policy.mailnews.*.src.get", "noAccess");
442 pref("capability.policy.mailnews.*.substringData.get", "noAccess");
443 pref("capability.policy.mailnews.*.text.get", "noAccess");
444 pref("capability.policy.mailnews.*.textContent", "noAccess");
445 pref("capability.policy.mailnews.*.title.get", "noAccess");
446 pref("capability.policy.mailnews.*.wholeText", "noAccess");
447 pref("capability.policy.mailnews.DOMException.toString", "noAccess");
448 pref("capability.policy.mailnews.HTMLAnchorElement.toString", "noAccess");
449 pref("capability.policy.mailnews.HTMLDocument.domain", "noAccess");
450 pref("capability.policy.mailnews.HTMLDocument.URL", "noAccess");
451 pref("capability.policy.mailnews.*.documentURI", "noAccess");
452 pref("capability.policy.mailnews.Location.toString", "noAccess");
453 pref("capability.policy.mailnews.Range.toString", "noAccess");
454 pref("capability.policy.mailnews.Window.blur", "noAccess");
455 pref("capability.policy.mailnews.Window.focus", "noAccess");
456 pref("capability.policy.mailnews.Window.innerWidth.set", "noAccess");
457 pref("capability.policy.mailnews.Window.innerHeight.set", "noAccess");
458 pref("capability.policy.mailnews.Window.moveBy", "noAccess");
459 pref("capability.policy.mailnews.Window.moveTo", "noAccess");
460 pref("capability.policy.mailnews.Window.name.set", "noAccess");
461 pref("capability.policy.mailnews.Window.outerHeight.set", "noAccess");
462 pref("capability.policy.mailnews.Window.outerWidth.set", "noAccess");
463 pref("capability.policy.mailnews.Window.resizeBy", "noAccess");
464 pref("capability.policy.mailnews.Window.resizeTo", "noAccess");
465 pref("capability.policy.mailnews.Window.screenX.set", "noAccess");
466 pref("capability.policy.mailnews.Window.screenY.set", "noAccess");
467 pref("capability.policy.mailnews.Window.sizeToContent", "noAccess");
468 pref("capability.policy.mailnews.document.load", "noAccess");
469 pref("capability.policy.mailnews.XMLHttpRequest.channel", "noAccess");
470 pref("capability.policy.mailnews.XMLHttpRequest.getInterface", "noAccess");
471 pref("capability.policy.mailnews.XMLHttpRequest.responseXML", "noAccess");
472 pref("capability.policy.mailnews.XMLHttpRequest.responseText", "noAccess");
473 pref("capability.policy.mailnews.XMLHttpRequest.status", "noAccess");
474 pref("capability.policy.mailnews.XMLHttpRequest.statusText", "noAccess");
475 pref("capability.policy.mailnews.XMLHttpRequest.abort", "noAccess");
476 pref("capability.policy.mailnews.XMLHttpRequest.getAllResponseHeaders", "noAccess");
477 pref("capability.policy.mailnews.XMLHttpRequest.getResponseHeader", "noAccess");
478 pref("capability.policy.mailnews.XMLHttpRequest.open", "noAccess");
479 pref("capability.policy.mailnews.XMLHttpRequest.send", "noAccess");
480 pref("capability.policy.mailnews.XMLHttpRequest.setRequestHeader", "noAccess");
481 pref("capability.policy.mailnews.XMLHttpRequest.readyState", "noAccess");
482 pref("capability.policy.mailnews.XMLHttpRequest.overrideMimeType", "noAccess");
483 pref("capability.policy.mailnews.XMLHttpRequest.onload", "noAccess");
484 pref("capability.policy.mailnews.XMLHttpRequest.onerror", "noAccess");
485 pref("capability.policy.mailnews.XMLHttpRequest.onreadystatechange", "noAccess");
486 pref("capability.policy.mailnews.XMLSerializer.serializeToString", "noAccess");
487 pref("capability.policy.mailnews.XMLSerializer.serializeToStream", "noAccess");
488 pref("capability.policy.mailnews.DOMParser.parseFromString", "noAccess");
489 pref("capability.policy.mailnews.DOMParser.parseFromStream", "noAccess");
490 pref("capability.policy.mailnews.SOAPCall.transportURI", "noAccess");
491 pref("capability.policy.mailnews.SOAPCall.verifySourceHeader", "noAccess");
492 pref("capability.policy.mailnews.SOAPCall.invoke", "noAccess");
493 pref("capability.policy.mailnews.SOAPCall.asyncInvoke", "noAccess");
494 pref("capability.policy.mailnews.SOAPResponse.fault", "noAccess");
495 pref("capability.policy.mailnews.SOAPEncoding.styleURI", "noAccess");
496 pref("capability.policy.mailnews.SOAPEncoding.getAssociatedEncoding", "noAccess");
497 pref("capability.policy.mailnews.SOAPEncoding.setEncoder", "noAccess");
498 pref("capability.policy.mailnews.SOAPEncoding.getEncoder", "noAccess");
499 pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
500 pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
501 pref("capability.policy.mailnews.SOAPEncoding.getDecoder", "noAccess");
502 pref("capability.policy.mailnews.SOAPEncoding.defaultEncoder", "noAccess");
503 pref("capability.policy.mailnews.SOAPEncoding.defaultDecoder", "noAccess");
504 pref("capability.policy.mailnews.SOAPEncoding.schemaCollection", "noAccess");
505 pref("capability.policy.mailnews.SOAPEncoding.encode", "noAccess");
506 pref("capability.policy.mailnews.SOAPEncoding.decode", "noAccess");
507 pref("capability.policy.mailnews.SOAPEncoding.mapSchemaURI", "noAccess");
508 pref("capability.policy.mailnews.SOAPEncoding.unmapSchemaURI", "noAccess");
509 pref("capability.policy.mailnews.SOAPEncoding.getInternalSchemaURI", "noAccess");
510 pref("capability.policy.mailnews.SOAPEncoding.getExternalSchemaURI", "noAccess");
511 pref("capability.policy.mailnews.SOAPFault.element", "noAccess");
512 pref("capability.policy.mailnews.SOAPFault.faultNamespaceURI", "noAccess");
513 pref("capability.policy.mailnews.SOAPFault.faultCode", "noAccess");
514 pref("capability.policy.mailnews.SOAPFault.faultString", "noAccess");
515 pref("capability.policy.mailnews.SOAPFault.faultActor", "noAccess");
516 pref("capability.policy.mailnews.SOAPFault.detail", "noAccess");
517 pref("capability.policy.mailnews.SOAPHeaderBlock.actorURI", "noAccess");
518 pref("capability.policy.mailnews.SOAPHeaderBlock.mustUnderstand", "noAccess");
519 pref("capability.policy.mailnews.SOAPParameter", "noAccess");
520 pref("capability.policy.mailnews.SOAPPropertyBagMutator.propertyBag", "noAccess");
521 pref("capability.policy.mailnews.SOAPPropertyBagMutator.addProperty", "noAccess");
522 pref("capability.policy.mailnews.SchemaLoader.load", "noAccess");
523 pref("capability.policy.mailnews.SchemaLoader.loadAsync", "noAccess");
524 pref("capability.policy.mailnews.SchemaLoader.processSchemaElement", "noAccess");
525 pref("capability.policy.mailnews.SchemaLoader.onLoad", "noAccess");
526 pref("capability.policy.mailnews.SchemaLoader.onError", "noAccess");
527 pref("capability.policy.mailnews.WSDLLoader.load", "noAccess");
528 pref("capability.policy.mailnews.WSDLLoader.loadAsync", "noAccess");
529 pref("capability.policy.mailnews.WSDLLoader.onLoad", "noAccess");
530 pref("capability.policy.mailnews.WSDLLoader.onError", "noAccess");
531 pref("capability.policy.mailnews.WebServiceProxyFactory.createProxy", "noAccess");
532 pref("capability.policy.mailnews.WebServiceProxyFactory.createProxyAsync", "noAccess");
533 pref("capability.policy.mailnews.WebServiceProxyFactory.onLoad", "noAccess");
534 pref("capability.policy.mailnews.WebServiceProxyFactory.onError", "noAccess");
536 // XMLExtras
537 pref("capability.policy.default.XMLHttpRequest.channel", "noAccess");
538 pref("capability.policy.default.XMLHttpRequest.getInterface", "noAccess");
539 pref("capability.policy.default.XMLHttpRequest.open-uri", "allAccess");
540 pref("capability.policy.default.DOMParser.parseFromStream", "noAccess");
542 // Clipboard
543 pref("capability.policy.default.Clipboard.cutcopy", "noAccess");
544 pref("capability.policy.default.Clipboard.paste", "noAccess");
546 // Scripts & Windows prefs
547 pref("dom.disable_image_src_set",           false);
548 pref("dom.disable_window_flip",             false);
549 pref("dom.disable_window_move_resize",      false);
550 pref("dom.disable_window_status_change",    false);
552 pref("dom.disable_window_open_feature.titlebar",    false);
553 pref("dom.disable_window_open_feature.close",       false);
554 pref("dom.disable_window_open_feature.toolbar",     false);
555 pref("dom.disable_window_open_feature.location",    false);
556 pref("dom.disable_window_open_feature.personalbar", false);
557 pref("dom.disable_window_open_feature.menubar",     false);
558 pref("dom.disable_window_open_feature.scrollbars",  false);
559 pref("dom.disable_window_open_feature.resizable",   true);
560 pref("dom.disable_window_open_feature.minimizable", false);
561 pref("dom.disable_window_open_feature.status",      true);
563 pref("dom.allow_scripts_to_close_windows",          false);
565 pref("dom.disable_open_during_load",                false);
566 pref("dom.popup_maximum",                           20);
567 pref("dom.popup_allowed_events", "change click dblclick mouseup reset submit");
568 pref("dom.disable_open_click_delay", 1000);
570 pref("dom.storage.enabled", true);
571 pref("dom.storage.default_quota",      5120);
573 pref("dom.send_after_paint_to_content", false);
575 // Timeout clamp in ms for timeouts we clamp
576 pref("dom.min_timeout_value", 10);
578 // Parsing perf prefs. For now just mimic what the old code did.
579 #ifndef XP_WIN
580 pref("content.sink.pending_event_mode", 0);
581 #endif
583 // Disable popups from plugins by default
584 //   0 = openAllowed
585 //   1 = openControlled
586 //   2 = openAbused
587 pref("privacy.popups.disable_from_plugins", 2);
589 // "do not track" HTTP header, disabled by default
590 pref("privacy.donottrackheader.enabled",    false);
592 pref("dom.event.contextmenu.enabled",       true);
594 pref("javascript.enabled",                  true);
595 pref("javascript.options.strict",           false);
596 #ifdef DEBUG
597 pref("javascript.options.strict.debug",     true);
598 #endif
599 pref("javascript.options.relimit",          true);
600 pref("javascript.options.tracejit.content",  true);
601 pref("javascript.options.tracejit.chrome",   true);
602 pref("javascript.options.methodjit.content", true);
603 pref("javascript.options.methodjit.chrome",  false);
604 pref("javascript.options.jitprofiling.content", true);
605 pref("javascript.options.jitprofiling.chrome",  false);
606 // This preference limits the memory usage of javascript.
607 // If you want to change these values for your device,
608 // please find Bug 417052 comment 17 and Bug 456721
609 // Comment 32 and Bug 613551.
610 pref("javascript.options.mem.high_water_mark", 128);
611 pref("javascript.options.mem.max", -1);
612 pref("javascript.options.mem.gc_frequency",   300);
613 pref("javascript.options.mem.gc_per_compartment", true);
615 // advanced prefs
616 pref("advanced.mailftp",                    false);
617 pref("image.animation_mode",                "normal");
619 // Same-origin policy for file URIs, "false" is traditional
620 pref("security.fileuri.strict_origin_policy", true);
622 // If there is ever a security firedrill that requires
623 // us to block certian ports global, this is the pref 
624 // to use.  Is is a comma delimited list of port numbers
625 // for example:
626 //   pref("network.security.ports.banned", "1,2,3,4,5");
627 // prevents necko connecting to ports 1-5 unless the protocol
628 // overrides.
630 // Default action for unlisted external protocol handlers
631 pref("network.protocol-handler.external-default", true);      // OK to load
632 pref("network.protocol-handler.warn-external-default", true); // warn before load
634 // Prevent using external protocol handlers for these schemes
635 pref("network.protocol-handler.external.hcp", false);
636 pref("network.protocol-handler.external.vbscript", false);
637 pref("network.protocol-handler.external.javascript", false);
638 pref("network.protocol-handler.external.data", false);
639 pref("network.protocol-handler.external.ms-help", false);
640 pref("network.protocol-handler.external.shell", false);
641 pref("network.protocol-handler.external.vnd.ms.radio", false);
642 #ifdef XP_MACOSX
643 pref("network.protocol-handler.external.help", false);
644 #endif
645 pref("network.protocol-handler.external.disk", false);
646 pref("network.protocol-handler.external.disks", false);
647 pref("network.protocol-handler.external.afp", false);
648 pref("network.protocol-handler.external.moz-icon", false);
650 // An exposed protocol handler is one that can be used in all contexts.  A
651 // non-exposed protocol handler is one that can only be used internally by the
652 // application.  For example, a non-exposed protocol would not be loaded by the
653 // application in response to a link click or a X-remote openURL command.
654 // Instead, it would be deferred to the system's external protocol handler.
655 // Only internal/built-in protocol handlers can be marked as exposed.
657 // This pref controls the default settings.  Per protocol settings can be used
658 // to override this value.
659 pref("network.protocol-handler.expose-all", true);
661 // Example: make IMAP an exposed protocol
662 // pref("network.protocol-handler.expose.imap", true);
664 // <http>
665 pref("network.http.version", "1.1");      // default
666 // pref("network.http.version", "1.0");   // uncomment this out in case of problems
667 // pref("network.http.version", "0.9");   // it'll work too if you're crazy
668 // keep-alive option is effectively obsolete. Nevertheless it'll work with
669 // some older 1.0 servers:
671 pref("network.http.proxy.version", "1.1");    // default
672 // pref("network.http.proxy.version", "1.0"); // uncomment this out in case of problems
673                                               // (required if using junkbuster proxy)
675 // enable caching of http documents
676 pref("network.http.use-cache", true);
678 // this preference can be set to override the socket type used for normal
679 // HTTP traffic.  an empty value indicates the normal TCP/IP socket type.
680 pref("network.http.default-socket-type", "");
682 pref("network.http.keep-alive", true); // set it to false in case of problems
683 pref("network.http.proxy.keep-alive", true);
684 // There is a problem with some IIS7 servers that don't close the connection
685 // properly after it times out (bug #491541). Default timeout on IIS7 is
686 // 120 seconds. We need to reuse or drop the connection within this time.
687 // We set the timeout a little shorter to keep a reserve for cases when
688 // the packet is lost or delayed on the route.
689 pref("network.http.keep-alive.timeout", 115);
691 // limit the absolute number of http connections.
692 pref("network.http.max-connections", 30);
694 // limit the absolute number of http connections that can be established per
695 // host.  if a http proxy server is enabled, then the "server" is the proxy
696 // server.  Otherwise, "server" is the http origin server.
697 pref("network.http.max-connections-per-server", 15);
699 // if network.http.keep-alive is true, and if NOT connecting via a proxy, then
700 // a new connection will only be attempted if the number of active persistent
701 // connections to the server is less then max-persistent-connections-per-server.
702 pref("network.http.max-persistent-connections-per-server", 6);
704 // if network.http.keep-alive is true, and if connecting via a proxy, then a
705 // new connection will only be attempted if the number of active persistent
706 // connections to the proxy is less then max-persistent-connections-per-proxy.
707 pref("network.http.max-persistent-connections-per-proxy", 8);
709 // amount of time (in seconds) to suspend pending requests, before spawning a
710 // new connection, once the limit on the number of persistent connections per
711 // host has been reached.  however, a new connection will not be created if
712 // max-connections or max-connections-per-server has also been reached.
713 pref("network.http.request.max-start-delay", 10);
715 // Headers
716 pref("network.http.accept.default", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
717 pref("network.http.sendRefererHeader",      2); // 0=don't send any, 1=send only on clicks, 2=send on image requests as well
719 // Controls whether we send HTTPS referres to other HTTPS sites.
720 // By default this is enabled for compatibility (see bug 141641)
721 pref("network.http.sendSecureXSiteReferrer", true);
723 // Maximum number of consecutive redirects before aborting.
724 pref("network.http.redirection-limit", 20);
726 // Enable http compression: comment this out in case of problems with 1.1
727 // NOTE: support for "compress" has been disabled per bug 196406.
728 // NOTE: separate values with comma+space (", "): see bug 576033
729 pref("network.http.accept-encoding", "gzip, deflate");
731 pref("network.http.pipelining"      , false);
732 pref("network.http.pipelining.ssl"  , false); // disable pipelining over SSL
733 pref("network.http.proxy.pipelining", false);
735 // Max number of requests in the pipeline
736 pref("network.http.pipelining.maxrequests" , 4);
738 // Prompt for 307 redirects
739 pref("network.http.prompt-temp-redirect", true);
741 // On networks deploying QoS, it is recommended that these be lockpref()'d,
742 // since inappropriate marking can easily overwhelm bandwidth reservations
743 // for certain services (i.e. EF for VoIP, AF4x for interactive video,
744 // AF3x for broadcast/streaming video, etc)
746 // default value for HTTP
747 // in a DSCP environment this should be 40 (0x28, or AF11), per RFC-4594,
748 // Section 4.8 "High-Throughput Data Service Class"
749 pref("network.http.qos", 0);
751 // default values for FTP
752 // in a DSCP environment this should be 40 (0x28, or AF11), per RFC-4594,
753 // Section 4.8 "High-Throughput Data Service Class", and 80 (0x50, or AF22)
754 // per Section 4.7 "Low-Latency Data Service Class".
755 pref("network.ftp.data.qos", 0);
756 pref("network.ftp.control.qos", 0);
758 // </http>
760 // <ws>: WebSocket
761 // The -76 websocket network protocol may be subject to HTTP cache poisoning
762 // attacks. Until there is a secure open standard available and implemented
763 // in necko the override-security-block preference must be set to true before
764 // the normal enabled preference is considered. Bug 616733
765 pref("network.websocket.override-security-block", false);
766 pref("network.websocket.enabled", true);
767 // </ws>
769 // If false, remote JAR files that are served with a content type other than
770 // application/java-archive or application/x-jar will not be opened
771 // by the jar channel.
772 pref("network.jar.open-unsafe-types", false);
774 // This preference controls whether or not internationalized domain names (IDN)
775 // are handled.  IDN requires a nsIIDNService implementation.
776 pref("network.enableIDN", true);
778 // This preference, if true, causes all UTF-8 domain names to be normalized to
779 // punycode.  The intention is to allow UTF-8 domain names as input, but never
780 // generate them from punycode.
781 pref("network.IDN_show_punycode", false);
783 // TLDs with "network.IDN.whitelist.tld" explicitly set to true are treated as 
784 // IDN-safe. Otherwise, they're treated as unsafe and punycode will be used
785 // for displaying them in the UI (e.g. URL bar). Note that these preferences
786 // are referred to ONLY when "network.IDN_show_punycode" is false. In other
787 // words, all IDNs will be shown in punycode if "network.IDN_show_punycode"
788 // is true.
790 // ccTLDs
791 pref("network.IDN.whitelist.ac", true);
792 pref("network.IDN.whitelist.ar", true);
793 pref("network.IDN.whitelist.at", true);
794 pref("network.IDN.whitelist.br", true);
795 pref("network.IDN.whitelist.ch", true);
796 pref("network.IDN.whitelist.cl", true);
797 pref("network.IDN.whitelist.cn", true);
798 pref("network.IDN.whitelist.de", true);
799 pref("network.IDN.whitelist.dk", true);
800 pref("network.IDN.whitelist.es", true);
801 pref("network.IDN.whitelist.fi", true);
802 pref("network.IDN.whitelist.gr", true);
803 pref("network.IDN.whitelist.hu", true);
804 pref("network.IDN.whitelist.il", true);
805 pref("network.IDN.whitelist.io", true);
806 pref("network.IDN.whitelist.ir", true);
807 pref("network.IDN.whitelist.is", true);
808 pref("network.IDN.whitelist.jp", true);
809 pref("network.IDN.whitelist.kr", true);
810 pref("network.IDN.whitelist.li", true);
811 pref("network.IDN.whitelist.lt", true);
812 pref("network.IDN.whitelist.lu", true);
813 pref("network.IDN.whitelist.no", true);
814 pref("network.IDN.whitelist.nu", true);
815 pref("network.IDN.whitelist.nz", true);
816 pref("network.IDN.whitelist.pl", true);
817 pref("network.IDN.whitelist.pr", true);
818 pref("network.IDN.whitelist.se", true);
819 pref("network.IDN.whitelist.sh", true);
820 pref("network.IDN.whitelist.th", true);
821 pref("network.IDN.whitelist.tm", true);
822 pref("network.IDN.whitelist.tw", true);
823 pref("network.IDN.whitelist.vn", true);
825 // IDN ccTLDs
826 // ae, UAE, .<Emarat>
827 pref("network.IDN.whitelist.xn--mgbaam7a8h", true); 
828 // cn, China, .<China> with variants
829 pref("network.IDN.whitelist.xn--fiqz9s", true); // Traditional
830 pref("network.IDN.whitelist.xn--fiqs8s", true); // Simplified
831 // hk, Hong Kong, .<Hong Kong>
832 pref("network.IDN.whitelist.xn--j6w193g", true);
833 // ir, Iran, <.Iran> with variants
834 pref("network.IDN.whitelist.xn--mgba3a4f16a", true);
835 pref("network.IDN.whitelist.xn--mgba3a4fra", true);
836 // jo, Jordan, .<Al-Ordon>
837 pref("network.IDN.whitelist.xn--mgbayh7gpa", true);
838 // qa, Qatar, .<Qatar>
839 pref("network.IDN.whitelist.xn--wgbl6a", true);
840 // ru, Russian Federation, .<RF>
841 pref("network.IDN.whitelist.xn--p1ai", true);
842 // sa, Saudi Arabia, .<al-Saudiah> with variants
843 pref("network.IDN.whitelist.xn--mgberp4a5d4ar", true); 
844 pref("network.IDN.whitelist.xn--mgberp4a5d4a87g", true);
845 pref("network.IDN.whitelist.xn--mgbqly7c0a67fbc", true);
846 pref("network.IDN.whitelist.xn--mgbqly7cvafr", true);
847 // tw, Taiwan, <.Taiwan> with variants
848 pref("network.IDN.whitelist.xn--kpry57d", true);  // Traditional
849 pref("network.IDN.whitelist.xn--kprw13d", true);  // Simplified
851 // gTLDs
852 pref("network.IDN.whitelist.biz", true);
853 pref("network.IDN.whitelist.cat", true);
854 pref("network.IDN.whitelist.info", true);
855 pref("network.IDN.whitelist.museum", true);
856 pref("network.IDN.whitelist.org", true);
857 pref("network.IDN.whitelist.tel", true);
859 // NOTE: Before these can be removed, one of bug 414812's tests must be updated
860 //       or it will likely fail!  Please CC jwalden+bmo on the bug associated
861 //       with removing these so he can provide a patch to make the necessary
862 //       changes to avoid bustage.
863 // ".test" localised TLDs for ICANN's top-level IDN trial
864 pref("network.IDN.whitelist.xn--0zwm56d", true);
865 pref("network.IDN.whitelist.xn--11b5bs3a9aj6g", true);
866 pref("network.IDN.whitelist.xn--80akhbyknj4f", true);
867 pref("network.IDN.whitelist.xn--9t4b11yi5a", true);
868 pref("network.IDN.whitelist.xn--deba0ad", true);
869 pref("network.IDN.whitelist.xn--g6w251d", true);
870 pref("network.IDN.whitelist.xn--hgbk6aj7f53bba", true);
871 pref("network.IDN.whitelist.xn--hlcj6aya9esc7a", true);
872 pref("network.IDN.whitelist.xn--jxalpdlp", true);
873 pref("network.IDN.whitelist.xn--kgbechtv", true);
874 pref("network.IDN.whitelist.xn--zckzah", true);
876 // If a domain includes any of the following characters, it may be a spoof 
877 // attempt and so we always display the domain name as punycode. This would 
878 // override the settings "network.IDN_show_punycode" and 
879 // "network.IDN.whitelist.*".
880 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");
882 // This preference specifies a list of domains for which DNS lookups will be
883 // IPv4 only. Works around broken DNS servers which can't handle IPv6 lookups
884 // and/or allows the user to disable IPv6 on a per-domain basis. See bug 68796.
885 pref("network.dns.ipv4OnlyDomains", "");
887 // This preference can be used to turn off IPv6 name lookups. See bug 68796.
888 pref("network.dns.disableIPv6", false);
890 // This preference controls whether or not URLs with UTF-8 characters are
891 // escaped.  Set this preference to TRUE for strict RFC2396 conformance.
892 pref("network.standard-url.escape-utf8", true);
894 // This preference controls whether or not URLs are always encoded and sent as
895 // UTF-8.
896 pref("network.standard-url.encode-utf8", true);
898 // This preference controls whether or not queries are encoded and sent as
899 // UTF-8.
900 pref("network.standard-url.encode-query-utf8", false);
902 // Idle timeout for ftp control connections - 5 minute default
903 pref("network.ftp.idleConnectionTimeout", 300);
905 // directory listing format
906 // 2: HTML
907 // 3: XUL directory viewer
908 // all other values are treated like 2
909 pref("network.dir.format", 2);
911 // enables the prefetch service (i.e., prefetching of <link rel="next"> URLs).
912 pref("network.prefetch-next", true);
915 // The following prefs pertain to the negotiate-auth extension (see bug 17578),
916 // which provides transparent Kerberos or NTLM authentication using the SPNEGO
917 // protocol.  Each pref is a comma-separated list of keys, where each key has
918 // the format:
919 //   [scheme "://"] [host [":" port]]
920 // For example, "foo.com" would match "http://www.foo.com/bar", etc.
922 // This list controls which URIs can use the negotiate-auth protocol.  This
923 // list should be limited to the servers you know you'll need to login to.
924 pref("network.negotiate-auth.trusted-uris", "");
925 // This list controls which URIs can support delegation.
926 pref("network.negotiate-auth.delegation-uris", "");
928 // Allow SPNEGO by default when challenged by a proxy server.
929 pref("network.negotiate-auth.allow-proxies", true);
931 // Path to a specific gssapi library
932 pref("network.negotiate-auth.gsslib", "");
934 // Specify if the gss lib comes standard with the OS
935 pref("network.negotiate-auth.using-native-gsslib", true);
937 #ifdef XP_WIN
939 // Default to using the SSPI intead of GSSAPI on windows 
940 pref("network.auth.use-sspi", true);
942 #endif
944 // Controls which NTLM authentication implementation we default to. True forces
945 // the use of our generic (internal) NTLM authentication implementation vs. any
946 // native implementation provided by the os. This pref is for diagnosing issues
947 // with native NTLM. (See bug 520607 for details.) Using generic NTLM authentication
948 // can expose the user to reflection attack vulnerabilities. Do not change this
949 // unless you know what you're doing!
950 // This pref should be removed 6 months after the release of firefox 3.6. 
951 pref("network.auth.force-generic-ntlm", false);
953 // The following prefs are used to enable automatic use of the operating
954 // system's NTLM implementation to silently authenticate the user with their
955 // Window's domain logon.  The trusted-uris pref follows the format of the
956 // trusted-uris pref for negotiate authentication.
957 pref("network.automatic-ntlm-auth.allow-proxies", true);
958 pref("network.automatic-ntlm-auth.trusted-uris", "");
960 // This preference controls whether or not the LM hash will be included in
961 // response to a NTLM challenge.  By default, this is disabled since servers
962 // should almost never need the LM hash, and the LM hash is what makes NTLM
963 // authentication less secure.  See bug 250691 for further details.
964 // NOTE: automatic-ntlm-auth which leverages the OS-provided NTLM
965 //       implementation will not be affected by this preference.
966 pref("network.ntlm.send-lm-response", false);
968 pref("permissions.default.image",           1); // 1-Accept, 2-Deny, 3-dontAcceptForeign
970 pref("network.proxy.type",                  5);
971 pref("network.proxy.ftp",                   "");
972 pref("network.proxy.ftp_port",              0);
973 pref("network.proxy.http",                  "");
974 pref("network.proxy.http_port",             0);
975 pref("network.proxy.ssl",                   "");
976 pref("network.proxy.ssl_port",              0);
977 pref("network.proxy.socks",                 "");
978 pref("network.proxy.socks_port",            0);
979 pref("network.proxy.socks_version",         5);
980 pref("network.proxy.socks_remote_dns",      false);
981 pref("network.proxy.no_proxies_on",         "localhost, 127.0.0.1");
982 pref("network.proxy.failover_timeout",      1800); // 30 minutes
983 pref("network.online",                      true); //online/offline
984 pref("network.cookie.cookieBehavior",       0); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
985 pref("network.cookie.thirdparty.sessionOnly", false);
986 pref("network.cookie.lifetimePolicy",       0); // accept normally, 1-askBeforeAccepting, 2-acceptForSession,3-acceptForNDays
987 pref("network.cookie.alwaysAcceptSessionCookies", false);
988 pref("network.cookie.prefsMigrated",        false);
989 pref("network.cookie.lifetime.days",        90);
991 // The PAC file to load.  Ignored unless network.proxy.type is 2.
992 pref("network.proxy.autoconfig_url", "");
994 // If we cannot load the PAC file, then try again (doubling from interval_min
995 // until we reach interval_max or the PAC file is successfully loaded).
996 pref("network.proxy.autoconfig_retry_interval_min", 5);    // 5 seconds
997 pref("network.proxy.autoconfig_retry_interval_max", 300);  // 5 minutes
999 pref("converter.html2txt.structs",          true); // Output structured phrases (strong, em, code, sub, sup, b, i, u)
1000 pref("converter.html2txt.header_strategy",  1); // 0 = no indention; 1 = indention, increased with header level; 2 = numbering and slight indention
1002 pref("intl.accept_languages",               "chrome://global/locale/intl.properties");
1003 pref("intl.accept_charsets",                "iso-8859-1,*,utf-8");
1004 pref("intl.menuitems.alwaysappendaccesskeys","chrome://global/locale/intl.properties");
1005 pref("intl.menuitems.insertseparatorbeforeaccesskeys","chrome://global/locale/intl.properties");
1006 pref("intl.charsetmenu.browser.static",     "chrome://global/locale/intl.properties");
1007 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");
1008 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");
1009 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");
1010 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");
1011 pref("intl.charsetmenu.browser.more5",      "ISO-8859-6, windows-1256, IBM864, ISO-8859-8-I, windows-1255, ISO-8859-8, IBM862");
1012 pref("intl.charsetmenu.browser.unicode",    "UTF-8, UTF-16LE, UTF-16BE, UTF-32, UTF-32LE, UTF-32BE");
1013 pref("intl.charsetmenu.mailedit",           "chrome://global/locale/intl.properties");
1014 pref("intl.charsetmenu.browser.cache",      "");
1015 pref("intl.charsetmenu.mailview.cache",     "");
1016 pref("intl.charsetmenu.composer.cache",     "");
1017 pref("intl.charsetmenu.browser.cache.size", 5);
1018 pref("intl.charset.detector",               "chrome://global/locale/intl.properties");
1019 pref("intl.charset.default",                "chrome://global-platform/locale/intl.properties");
1020 pref("intl.ellipsis",                       "chrome://global-platform/locale/intl.properties");
1021 pref("intl.locale.matchOS",                 false);
1022 // fallback charset list for Unicode conversion (converting from Unicode)
1023 // currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes)
1024 // for ISO-8859-1
1025 pref("intl.fallbackCharsetList.ISO-8859-1", "windows-1252");
1026 pref("font.language.group",                 "chrome://global/locale/intl.properties");
1028 // these locales have right-to-left UI
1029 pref("intl.uidirection.ar", "rtl");
1030 pref("intl.uidirection.he", "rtl");
1031 pref("intl.uidirection.fa", "rtl");
1033 pref("font.mathfont-family", "STIXNonUnicode, STIXSizeOneSym, STIXSize1, STIXGeneral, Standard Symbols L, DejaVu Sans, Cambria Math");
1035 // Some CJK fonts have bad underline offset, their CJK character glyphs are overlapped (or adjoined)  to its underline.
1036 // These fonts are ignored the underline offset, instead of it, the underline is lowered to bottom of its em descent.
1037 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");
1039 pref("images.dither", "auto");
1040 pref("security.directory",              "");
1042 pref("signed.applets.codebase_principal_support", false);
1043 pref("security.checkloaduri", true);
1044 pref("security.xpconnect.plugin.unrestricted", true);
1045 // security-sensitive dialogs should delay button enabling. In milliseconds.
1046 pref("security.dialog_enable_delay", 2000);
1048 pref("security.csp.enable", true);
1049 pref("security.csp.debug", false);
1051 // Modifier key prefs: default to Windows settings,
1052 // menu access key = alt, accelerator key = control.
1053 // Use 17 for Ctrl, 18 for Alt, 224 for Meta, 0 for none. Mac settings in macprefs.js
1054 pref("ui.key.accelKey", 17);
1055 pref("ui.key.menuAccessKey", 18);
1056 pref("ui.key.generalAccessKey", -1);
1058 // If generalAccessKey is -1, use the following two prefs instead.
1059 // Use 0 for disabled, 1 for Shift, 2 for Ctrl, 4 for Alt, 8 for Meta
1060 // (values can be combined, e.g. 5 for Alt+Shift)
1061 pref("ui.key.chromeAccess", 4);
1062 pref("ui.key.contentAccess", 5);
1064 pref("ui.key.menuAccessKeyFocuses", false); // overridden below
1065 pref("ui.key.saveLink.shift", true); // true = shift, false = meta
1067 // Disable page loading activity cursor by default.
1068 pref("ui.use_activity_cursor", false);
1070 // Middle-mouse handling
1071 pref("middlemouse.paste", false);
1072 pref("middlemouse.openNewWindow", true);
1073 pref("middlemouse.contentLoadURL", false);
1074 pref("middlemouse.scrollbarPosition", false);
1076 // Clipboard behavior
1077 pref("clipboard.autocopy", false);
1079 // mouse wheel scroll transaction period of time (in milliseconds)
1080 pref("mousewheel.transaction.timeout", 1500);
1081 // mouse wheel scroll transaction is held even if the mouse cursor is moved.
1082 pref("mousewheel.transaction.ignoremovedelay", 100);
1084 // Macbook touchpad two finger pixel scrolling
1085 pref("mousewheel.enable_pixel_scrolling", true);
1087 // prefs for app level mouse wheel scrolling acceleration.
1088 // number of mousewheel clicks when acceleration starts
1089 // acceleration can be turned off if pref is set to -1
1090 pref("mousewheel.acceleration.start", -1);
1091 // factor to be multiplied for constant acceleration
1092 pref("mousewheel.acceleration.factor", 10);
1094 // Prefs for override the system mouse wheel scrolling speed on the root
1095 // content of the web pages.  When
1096 // "mousewheel.system_scroll_override_on_root_content.enabled" is true and the system
1097 // scrolling speed isn't customized by the user, the root content scrolling
1098 // speed is multiplied by the following factors.  The value will be used as
1099 // 1/100.  E.g., 200 means 2.00.
1100 // NOTE: Even if "mousewheel.system_scroll_override_on_root_content.enabled" is
1101 // true, when Gecko detects the user customized the system scrolling speed
1102 // settings, the override isn't executed.
1103 pref("mousewheel.system_scroll_override_on_root_content.vertical.factor", 200);
1104 pref("mousewheel.system_scroll_override_on_root_content.horizontal.factor", 200);
1106 // 0=lines, 1=pages, 2=history , 3=text size
1107 pref("mousewheel.withnokey.action",0);
1108 pref("mousewheel.withnokey.numlines",6);
1109 pref("mousewheel.withnokey.sysnumlines",true);
1110 pref("mousewheel.withcontrolkey.action",0);
1111 pref("mousewheel.withcontrolkey.numlines",1);
1112 pref("mousewheel.withcontrolkey.sysnumlines",true);
1113 // mousewheel.withshiftkey, see the Mac note below.
1114 pref("mousewheel.withshiftkey.action",0);
1115 pref("mousewheel.withshiftkey.numlines",1);
1116 pref("mousewheel.withshiftkey.sysnumlines",true);
1117 pref("mousewheel.withaltkey.action",2);
1118 pref("mousewheel.withaltkey.numlines",1);
1119 pref("mousewheel.withaltkey.sysnumlines",false);
1120 pref("mousewheel.withmetakey.action",0);
1121 pref("mousewheel.withmetakey.numlines",1);
1122 pref("mousewheel.withmetakey.sysnumlines",true);
1124 // activate horizontal scrolling by default
1125 pref("mousewheel.horizscroll.withnokey.action",0);
1126 pref("mousewheel.horizscroll.withnokey.numlines",1);
1127 pref("mousewheel.horizscroll.withnokey.sysnumlines",true);
1128 pref("mousewheel.horizscroll.withcontrolkey.action",0);
1129 pref("mousewheel.horizscroll.withcontrolkey.numlines",1);
1130 pref("mousewheel.horizscroll.withcontrolkey.sysnumlines",true);
1131 pref("mousewheel.horizscroll.withshiftkey.action",0);
1132 pref("mousewheel.horizscroll.withshiftkey.numlines",1);
1133 pref("mousewheel.horizscroll.withshiftkey.sysnumlines",true);
1134 pref("mousewheel.horizscroll.withaltkey.action",2);
1135 pref("mousewheel.horizscroll.withaltkey.numlines",-1);
1136 pref("mousewheel.horizscroll.withaltkey.sysnumlines",false);
1137 pref("mousewheel.horizscroll.withmetakey.action",0);
1138 pref("mousewheel.horizscroll.withmetakey.numlines",1);
1139 pref("mousewheel.horizscroll.withmetakey.sysnumlines",true);
1141 pref("profile.confirm_automigration",true);
1142 // profile.migration_behavior determines how the profiles root is set
1143 // 0 - use NS_APP_USER_PROFILES_ROOT_DIR
1144 // 1 - create one based on the NS4.x profile root
1145 // 2 - use, if not empty, profile.migration_directory otherwise same as 0
1146 pref("profile.migration_behavior",0);
1147 pref("profile.migration_directory", "");
1149 // the amount of time (in seconds) that must elapse
1150 // before we think your mozilla profile is defunct
1151 // and you'd benefit from re-migrating from 4.x
1152 // see bug #137886 for more details
1154 // if -1, we never think your profile is defunct
1155 // and users will never see the remigrate UI.
1156 pref("profile.seconds_until_defunct", -1);
1157 // We can show it anytime from menus
1158 pref("profile.manage_only_at_launch", false);
1160 pref("prefs.converted-to-utf8",false);
1162 // --------------------------------------------------
1163 // IBMBIDI 
1164 // --------------------------------------------------
1166 // ------------------
1167 //  Text Direction
1168 // ------------------
1169 // 1 = directionLTRBidi *
1170 // 2 = directionRTLBidi
1171 pref("bidi.direction", 1);
1172 // ------------------
1173 //  Text Type
1174 // ------------------
1175 // 1 = charsettexttypeBidi *
1176 // 2 = logicaltexttypeBidi
1177 // 3 = visualtexttypeBidi
1178 pref("bidi.texttype", 1);
1179 // ------------------
1180 //  Numeral Style
1181 // ------------------
1182 // 0 = nominalnumeralBidi *
1183 // 1 = regularcontextnumeralBidi
1184 // 2 = hindicontextnumeralBidi
1185 // 3 = arabicnumeralBidi
1186 // 4 = hindinumeralBidi
1187 // 5 = persiancontextnumeralBidi
1188 // 6 = persiannumeralBidi
1189 pref("bidi.numeral", 0);
1190 // ------------------
1191 //  Support Mode
1192 // ------------------
1193 // 1 = mozillaBidisupport *
1194 // 2 = OsBidisupport
1195 // 3 = disableBidisupport
1196 pref("bidi.support", 1);
1197 // ------------------
1198 //  Charset Mode
1199 // ------------------
1200 // 1 = doccharactersetBidi *
1201 // 2 = defaultcharactersetBidi
1202 pref("bidi.characterset", 1);
1203 // Whether delete and backspace should immediately delete characters not
1204 // visually adjacent to the caret, or adjust the visual position of the caret
1205 // on the first keypress and delete the character on a second keypress
1206 pref("bidi.edit.delete_immediately", false);
1208 // Bidi caret movement style:
1209 // 0 = logical
1210 // 1 = visual
1211 // 2 = visual, but logical during selection
1212 pref("bidi.edit.caret_movement_style", 2);
1214 // Setting this pref to |true| forces Bidi UI menu items and keyboard shortcuts
1215 // to be exposed, and enables the directional caret hook. By default, only
1216 // expose it for bidi-associated system locales.
1217 pref("bidi.browser.ui", false);
1219 // used for double-click word selection behavior. Win will override.
1220 pref("layout.word_select.eat_space_to_next_word", false);
1221 pref("layout.word_select.stop_at_punctuation", true);
1223 // controls caret style and word-delete during text selection
1224 // 0 = use platform default
1225 // 1 = caret moves and blinks as when there is no selection; word
1226 //     delete deselects the selection and then deletes word (Windows default)
1227 // 2 = caret moves to selection edge and is not visible during selection; 
1228 //     word delete deletes the selection (Mac default)
1229 // 3 = caret moves and blinks as when there is no selection; word delete
1230 //     deletes the selection (Unix default)
1231 pref("layout.selection.caret_style", 0);
1233 // pref to control whether or not to replace backslashes with Yen signs
1234 // in documents encoded in one of Japanese legacy encodings (EUC-JP, 
1235 // Shift_JIS, ISO-2022-JP)
1236 pref("layout.enable_japanese_specific_transform", false);
1238 // pref to force frames to be resizable
1239 pref("layout.frames.force_resizability", false);
1241 // pref to report CSS errors to the error console
1242 pref("layout.css.report_errors", true);
1244 // Should the :visited selector ever match (otherwise :link matches instead)?
1245 pref("layout.css.visited_links_enabled", true);
1247 // Override DPI. A value of -1 means use the maximum of 96 and the system DPI.
1248 // A value of 0 means use the system DPI. A positive value is used as the DPI.
1249 // This sets the physical size of a device pixel and thus controls the
1250 // interpretation of physical units such as "pt".
1251 pref("layout.css.dpi", -1);
1253 // Set the number of device pixels per CSS pixel. A value <= 0 means choose
1254 // automatically based on user settings for the platform (e.g., "UI scale factor"
1255 // on Mac). A positive value is used as-is. This effectively controls the size
1256 // of a CSS "px". This is only used for windows on the screen, not for printing.
1257 // XXX the default value here should be 0, but before we can set it to 0,
1258 // we have to get this feature working on all platforms.
1259 pref("layout.css.devPixelsPerPx", "1.0");
1261 // pref for which side vertical scrollbars should be on
1262 // 0 = end-side in UI direction
1263 // 1 = end-side in document/content direction
1264 // 2 = right
1265 // 3 = left
1266 pref("layout.scrollbar.side", 0);
1268 // pref to control browser frame rate, in Hz. A value <= 0 means choose
1269 // automatically based on knowledge of the platform (or 60Hz if no platform-
1270 // specific information is available).
1271 pref("layout.frame_rate", -1);
1273 // pref to control precision of the frame rate timer. When true,
1274 // we use a "precise" timer, which means each notification fires
1275 // Nms after the start of the last notification. That means if the
1276 // processing of the notification is slow, the timer can fire immediately
1277 // after we've just finished processing the last notification, which might
1278 // lead to starvation problems.
1279 // When false, we use a "slack" timer which fires Nms after the *end*
1280 // of the last notification. This can give less tight frame rates
1281 // but provides more time for other operations when the browser is
1282 // heavily loaded.
1283 pref("layout.frame_rate.precise", false);
1285 // pref to permit users to make verified SOAP calls by default
1286 pref("capability.policy.default.SOAPCall.invokeVerifySourceHeader", "allAccess");
1288 // if true, allow plug-ins to override internal imglib decoder mime types in full-page mode
1289 pref("plugin.override_internal_types", false);
1290 pref("plugin.expose_full_path", false); // if true navigator.plugins reveals full path
1292 // See bug 136985.  Gives embedders a pref to hook into to show
1293 // a popup blocker if they choose.
1294 pref("browser.popups.showPopupBlocker", true);
1296 // Pref to control whether the viewmanager code does double-buffering or not
1297 // See http://bugzilla.mozilla.org/show_bug.cgi?id=169483 for further details...
1298 pref("viewmanager.do_doublebuffering", true);
1300 // whether use prefs from system
1301 pref("config.use_system_prefs", false);
1303 // if the system has enabled accessibility
1304 pref("config.use_system_prefs.accessibility", false);
1306 // enable single finger gesture input (win7+ tablets)
1307 pref("gestures.enable_single_finger_input", true);
1310  * What are the entities that you want Mozilla to save using mnemonic
1311  * names rather than numeric codes? E.g. If set, we'll output &nbsp;
1312  * otherwise, we may output 0xa0 depending on the charset.
1314  * "none"   : don't use any entity names; only use numeric codes.
1315  * "basic"  : use entity names just for &nbsp; &amp; &lt; &gt; &quot; for 
1316  *            interoperability/exchange with products that don't support more
1317  *            than that.
1318  * "latin1" : use entity names for 8bit accented letters and other special
1319  *            symbols between 128 and 255.
1320  * "html"   : use entity names for 8bit accented letters, greek letters, and
1321  *            other special markup symbols as defined in HTML4.
1322  */
1323 //pref("editor.encode_entity",                 "html");
1325 pref("editor.resizing.preserve_ratio",       true);
1326 pref("editor.positioning.offset",            0);
1328 pref("dom.max_chrome_script_run_time", 20);
1329 pref("dom.max_script_run_time", 10);
1331 #ifndef DEBUG
1332 // How long a plugin is allowed to process a synchronous IPC message
1333 // before we consider it "hung".
1334 pref("dom.ipc.plugins.timeoutSecs", 45);
1335 // How long a plugin launch is allowed to take before
1336 // we consider it failed.
1337 pref("dom.ipc.plugins.processLaunchTimeoutSecs", 45);
1338 #else
1339 // No timeout in DEBUG builds
1340 pref("dom.ipc.plugins.timeoutSecs", 0);
1341 pref("dom.ipc.plugins.processLaunchTimeoutSecs", 0);
1342 #endif
1344 // Disable oopp for standard java. They run their own process isolation (which
1345 // conflicts with our implementation, at least on Windows).
1346 pref("dom.ipc.plugins.java.enabled", false);
1348 #ifndef ANDROID
1349 #ifndef XP_MACOSX
1350 #ifdef XP_UNIX
1351 // Linux plugins using Xt instead of Xembed don't work out-of-process yet.
1352 pref("dom.ipc.plugins.enabled.libvlcplugin.so", false);
1353 pref("dom.ipc.plugins.enabled.nppdf.so", false);
1354 #endif
1355 #endif
1356 #endif
1358 pref("svg.smil.enabled", true);
1360 pref("font.minimum-size.ar", 0);
1361 pref("font.minimum-size.x-armn", 0);
1362 pref("font.minimum-size.x-beng", 0);
1363 pref("font.minimum-size.x-baltic", 0);
1364 pref("font.minimum-size.x-central-euro", 0);
1365 pref("font.minimum-size.zh-CN", 0);
1366 pref("font.minimum-size.zh-HK", 0);
1367 pref("font.minimum-size.zh-TW", 0);
1368 pref("font.minimum-size.x-cyrillic", 0);
1369 pref("font.minimum-size.x-devanagari", 0);
1370 pref("font.minimum-size.x-ethi", 0);
1371 pref("font.minimum-size.x-geor", 0);
1372 pref("font.minimum-size.el", 0);
1373 pref("font.minimum-size.x-gujr", 0);
1374 pref("font.minimum-size.x-guru", 0);
1375 pref("font.minimum-size.he", 0);
1376 pref("font.minimum-size.ja", 0);
1377 pref("font.minimum-size.x-knda", 0);
1378 pref("font.minimum-size.x-khmr", 0);
1379 pref("font.minimum-size.ko", 0);
1380 pref("font.minimum-size.x-mlym", 0);
1381 pref("font.minimum-size.x-orya", 0);
1382 pref("font.minimum-size.x-sinh", 0);
1383 pref("font.minimum-size.x-tamil", 0);
1384 pref("font.minimum-size.x-telu", 0);
1385 pref("font.minimum-size.x-tibt", 0);
1386 pref("font.minimum-size.th", 0);
1387 pref("font.minimum-size.tr", 0);
1388 pref("font.minimum-size.x-cans", 0);
1389 pref("font.minimum-size.x-western", 0);
1390 pref("font.minimum-size.x-unicode", 0);
1391 pref("font.minimum-size.x-user-def", 0);
1393 #ifdef XP_WIN
1395 pref("font.name.serif.ar", "Times New Roman");
1396 pref("font.name.sans-serif.ar", "Arial");
1397 pref("font.name.monospace.ar", "Courier New");
1398 pref("font.name.cursive.ar", "Comic Sans MS");
1400 pref("font.name.serif.el", "Times New Roman");
1401 pref("font.name.sans-serif.el", "Arial");
1402 pref("font.name.monospace.el", "Courier New");
1403 pref("font.name.cursive.el", "Comic Sans MS");
1405 pref("font.name.serif.he", "Narkisim");
1406 pref("font.name.sans-serif.he", "Arial");
1407 pref("font.name.monospace.he", "Fixed Miriam Transparent");
1408 pref("font.name.cursive.he", "Guttman Yad");
1409 pref("font.name-list.serif.he", "Narkisim, David");
1410 pref("font.name-list.monospace.he", "Fixed Miriam Transparent, Miriam Fixed, Rod, Courier New");
1411 pref("font.name-list.cursive.he", "Guttman Yad, Ktav, Arial");
1413 pref("font.name.serif.ja", "MS P明朝"); // "MS PMincho"
1414 pref("font.name.sans-serif.ja", "MS Pゴシック"); // "MS PGothic"
1415 pref("font.name.monospace.ja", "MS ゴシック"); // "MS Gothic"
1416 pref("font.name-list.serif.ja", "MS PMincho, MS Mincho, MS PGothic, MS Gothic");
1417 pref("font.name-list.sans-serif.ja", "MS PGothic, MS Gothic, MS PMincho, MS Mincho");
1418 pref("font.name-list.monospace.ja", "MS Gothic, MS Mincho, MS PGothic, MS PMincho");
1420 pref("font.name.serif.ko", "바탕"); // "Batang" 
1421 pref("font.name.sans-serif.ko", "굴림"); // "Gulim" 
1422 pref("font.name.monospace.ko", "굴림체"); // "GulimChe" 
1423 pref("font.name.cursive.ko", "궁서"); // "Gungseo"
1425 pref("font.name-list.serif.ko", "Batang, Gulim"); 
1426 pref("font.name-list.sans-serif.ko", "Gulim"); 
1427 pref("font.name-list.monospace.ko", "GulimChe"); 
1428 pref("font.name-list.cursive.ko", "Gungseo"); 
1430 pref("font.name.serif.th", "Tahoma");
1431 pref("font.name.sans-serif.th", "Tahoma");
1432 pref("font.name.monospace.th", "Tahoma");
1433 pref("font.name.cursive.th", "Tahoma");
1435 pref("font.name.serif.tr", "Times New Roman");
1436 pref("font.name.sans-serif.tr", "Arial");
1437 pref("font.name.monospace.tr", "Courier New");
1438 pref("font.name.cursive.tr", "Comic Sans MS");
1440 pref("font.name.serif.x-baltic", "Times New Roman");
1441 pref("font.name.sans-serif.x-baltic", "Arial");
1442 pref("font.name.monospace.x-baltic", "Courier New");
1443 pref("font.name.cursive.x-baltic", "Comic Sans MS");
1445 pref("font.name.serif.x-central-euro", "Times New Roman");
1446 pref("font.name.sans-serif.x-central-euro", "Arial");
1447 pref("font.name.monospace.x-central-euro", "Courier New");
1448 pref("font.name.cursive.x-central-euro", "Comic Sans MS");
1450 pref("font.name.serif.x-cyrillic", "Times New Roman");
1451 pref("font.name.sans-serif.x-cyrillic", "Arial");
1452 pref("font.name.monospace.x-cyrillic", "Courier New");
1453 pref("font.name.cursive.x-cyrillic", "Comic Sans MS");
1455 pref("font.name.serif.x-unicode", "Times New Roman");
1456 pref("font.name.sans-serif.x-unicode", "Arial");
1457 pref("font.name.monospace.x-unicode", "Courier New");
1458 pref("font.name.cursive.x-unicode", "Comic Sans MS");
1460 pref("font.name.serif.x-western", "Times New Roman");
1461 pref("font.name.sans-serif.x-western", "Arial");
1462 pref("font.name.monospace.x-western", "Courier New");
1463 pref("font.name.cursive.x-western", "Comic Sans MS");
1465 pref("font.name.serif.zh-CN", "宋体"); //MS Song
1466 pref("font.name.sans-serif.zh-CN", "宋体"); //MS Song
1467 pref("font.name.monospace.zh-CN", "宋体"); //MS Song
1468 pref("font.name-list.serif.zh-CN", "MS Song, SimSun");
1469 pref("font.name-list.sans-serif.zh-CN", "MS Song, SimSun");
1470 pref("font.name-list.monospace.zh-CN", "MS Song, SimSun");
1472 // Per Taiwanese users' demand. They don't want to use TC fonts for
1473 // rendering Latin letters. (bug 88579)
1474 pref("font.name.serif.zh-TW", "Times New Roman"); 
1475 pref("font.name.sans-serif.zh-TW", "Arial");
1476 pref("font.name.monospace.zh-TW", "細明體");  // MingLiU
1477 pref("font.name-list.serif.zh-TW", "PMingLiu, MingLiU"); 
1478 pref("font.name-list.sans-serif.zh-TW", "PMingLiU, MingLiU");
1479 pref("font.name-list.monospace.zh-TW", "MingLiU");
1481 // hkscsm3u.ttf (HKSCS-2001) :  http://www.microsoft.com/hk/hkscs 
1482 // Hong Kong users have the same demand about glyphs for Latin letters (bug 88579) 
1483 pref("font.name.serif.zh-HK", "Times New Roman"); 
1484 pref("font.name.sans-serif.zh-HK", "Arial");
1485 pref("font.name.monospace.zh-HK", "細明體_HKSCS"); 
1486 pref("font.name-list.serif.zh-HK", "MingLiu_HKSCS, Ming(for ISO10646), MingLiU"); 
1487 pref("font.name-list.sans-serif.zh-HK", "MingLiU_HKSCS, Ming(for ISO10646), MingLiU");  
1488 pref("font.name-list.monospace.zh-HK", "MingLiU_HKSCS, Ming(for ISO10646), MingLiU");
1490 pref("font.name.serif.x-devanagari", "Mangal");
1491 pref("font.name.sans-serif.x-devanagari", "Raghindi");
1492 pref("font.name.monospace.x-devanagari", "Mangal");
1493 pref("font.name-list.serif.x-devanagari", "Mangal, Raghindi");
1494 pref("font.name-list.monospace.x-devanagari", "Mangal, Raghindi");
1496 pref("font.name.serif.x-tamil", "Latha");
1497 pref("font.name.sans-serif.x-tamil", "Code2000");
1498 pref("font.name.monospace.x-tamil", "Latha");
1499 pref("font.name-list.serif.x-tamil", "Latha, Code2000");
1500 pref("font.name-list.monospace.x-tamil", "Latha, Code2000");
1502 # http://www.alanwood.net/unicode/fonts.html
1504 pref("font.name.serif.x-armn", "Sylfaen");
1505 pref("font.name.sans-serif.x-armn", "Arial AMU");
1506 pref("font.name.monospace.x-armn", "Arial AMU");
1507 pref("font.name-list.serif.x-armn", "Sylfaen,Arial Unicode MS, Code2000");
1508 pref("font.name-list.monospace.x-armn", "Arial AMU, Arial Unicode MS, Code2000");
1510 pref("font.name.serif.x-beng", "Vrinda");
1511 pref("font.name.sans-serif.x-beng", "Vrinda");
1512 pref("font.name.monospace.x-beng", "Mitra Mono");
1513 pref("font.name-list.serif.x-beng", "Vrinda, Akaash, Likhan, Ekushey Punarbhaba, Code2000, Arial Unicode MS"); 
1514 pref("font.name-list.sans-serif.x-beng", "Vrinda, Akaash, Likhan, Ekushey Punarbhaba, Code2000, Arial Unicode MS"); 
1515 pref("font.name-list.monospace.x-beng", "Likhan, Mukti Narrow, Code2000, Arial Unicode MS");
1517 pref("font.name.serif.x-cans", "Aboriginal Serif");
1518 pref("font.name.sans-serif.x-cans", "Aboriginal Sans");
1519 pref("font.name.monospace.x-cans", "Aboriginal Sans");
1520 pref("font.name-list.serif.x-cans", "Aboriginal Serif, BJCree Uni");
1521 pref("font.name-list.monospace.x-cans", "Aboriginal Sans, OskiDakelh, Pigiarniq, Uqammaq");
1523 pref("font.name.serif.x-ethi", "Visual Geez Unicode");
1524 pref("font.name.sans-serif.x-ethi", "GF Zemen Unicode");
1525 pref("font.name.cursive.x-ethi", "Visual Geez Unicode Title");
1526 pref("font.name.monospace.x-ethi", "Ethiopia Jiret");
1527 pref("font.name-list.serif.x-ethi", "Visual Geez Unicode, Visual Geez Unicode Agazian, Code2000");
1528 pref("font.name-list.monospace.x-ethi", "Ethiopia Jiret, Code2000");
1530 pref("font.name.serif.x-geor", "Sylfaen");
1531 pref("font.name.sans-serif.x-geor", "BPG Classic 99U");
1532 pref("font.name.monospace.x-geor", "Code2000");
1533 pref("font.name-list.serif.x-geor", "Sylfaen, BPG Paata Khutsuri U, TITUS Cyberbit Basic"); 
1534 pref("font.name-list.monospace.x-geor", "BPG Classic 99U, Code2000, Arial Unicode MS");
1536 pref("font.name.serif.x-gujr", "Shruti");
1537 pref("font.name.sans-serif.x-gujr", "Shruti");
1538 pref("font.name.monospace.x-gujr", "Code2000");
1539 pref("font.name-list.serif.x-gujr", "Shruti, Code2000, Arial Unicode MS"); 
1540 pref("font.name-list.monospace.x-gujr", "Code2000, Shruti, Arial Unicode MS");
1542 pref("font.name.serif.x-guru", "Raavi");
1543 pref("font.name.sans-serif.x-guru", "Code2000");
1544 pref("font.name.monospace.x-guru", "Code2000");
1545 pref("font.name-list.serif.x-guru", "Raavi, Saab, Code2000, Arial Unicode MS"); 
1546 pref("font.name-list.monospace.x-guru", "Code2000, Raavi, Saab, Arial Unicode MS");
1548 pref("font.name.serif.x-khmr", "PhnomPenh OT");
1549 pref("font.name.sans-serif.x-khmr", "Khmer OS");
1550 pref("font.name.monospace.x-khmr", "Code2000");
1551 pref("font.name-list.serif.x-khmr", "PhnomPenh OT,.Mondulkiri U GR 1.5, Khmer OS");
1552 pref("font.name-list.monospace.x-khmr", "Code2000, Khmer OS, Khmer OS System");
1554 pref("font.name.serif.x-mlym", "Rachana_w01");
1555 pref("font.name.sans-serif.x-mlym", "Rachana_w01");
1556 pref("font.name.monospace.x-mlym", "Rachana_w01");
1557 pref("font.name-list.serif.x-mlym", "AnjaliOldLipi, Kartika, ThoolikaUnicode, Code2000, Arial Unicode MS");
1558 pref("font.name-list.sans-serif.x-mlym", "AnjaliOldLipi, Kartika, ThoolikaUnicode, Code2000, Arial Unicode MS");
1559 pref("font.name-list.monospace.x-mlym", "AnjaliOldLipi, Kartika, ThoolikaUnicode, Code2000, Arial Unicode MS");
1561 pref("font.name.serif.x-orya", "ori1Uni");
1562 pref("font.name.sans-serif.x-orya", "ori1Uni");
1563 pref("font.name.monospace.x-orya", "ori1Uni");
1564 pref("font.name-list.serif.x-orya", "Kalinga, ori1Uni, Code2000, Arial Unicode MS");
1565 pref("font.name-list.sans-serif.x-orya", "Kalinga, ori1Uni, Code2000, Arial Unicode MS");
1566 pref("font.name-list.monospace.x-orya", "Kalinga, ori1Uni, Code2000, Arial Unicode MS");
1568 pref("font.name.serif.x-telu", "Gautami");
1569 pref("font.name.sans-serif.x-telu", "Gautami");
1570 pref("font.name.monospace.x-telu", "Gautami");
1571 pref("font.name-list.serif.x-telu", "Gautami, Akshar Unicode, Code2000, Arial Unicode MS");
1572 pref("font.name-list.sans-serif.x-telu", "Gautami, Akshar Unicode, Code2000, Arial Unicode MS");
1573 pref("font.name-list.monospace.x-telu", "Gautami, Akshar Unicode, Code2000, Arial Unicode MS");
1575 pref("font.name.serif.x-knda", "Tunga");
1576 pref("font.name.sans-serif.x-knda", "Tunga");
1577 pref("font.name.monospace.x-knda", "Tunga");
1578 pref("font.name-list.serif.x-knda", "Tunga, AksharUnicode, Code2000, Arial Unicode MS");
1579 pref("font.name-list.sans-serif.x-knda", "Tunga, AksharUnicode, Code2000, Arial Unicode MS");
1580 pref("font.name-list.monospace.x-knda", "Tunga, AksharUnicode, Code2000, Arial Unicode MS");
1582 pref("font.name.serif.x-sinh", "Iskoola Pota");
1583 pref("font.name.sans-serif.x-sinh", "Iskoola Pota");
1584 pref("font.name.monospace.x-sinh", "Iskoola Pota");
1585 pref("font.name-list.serif.x-sinh", "Iskoola Pota, AksharUnicode");
1586 pref("font.name-list.sans-serif.x-sinh", "Iskoola Pota, AksharUnicode");
1587 pref("font.name-list.monospace.x-sinh", "Iskoola Pota, AksharUnicode");
1589 pref("font.name.serif.x-tibt", "Tibetan Machine Uni");
1590 pref("font.name.sans-serif.x-tibt", "Tibetan Machine Uni");
1591 pref("font.name.monospace.x-tibt", "Tibetan Machine Uni");
1592 pref("font.name-list.serif.x-tibt", "Tibetan Machine Uni, Jomolhari, Microsoft Himalaya");
1593 pref("font.name-list.sans-serif.x-tibt", "Tibetan Machine Uni, Jomolhari, Microsoft Himalaya");
1594 pref("font.name-list.monospace.x-tibt", "Tibetan Machine Uni, Jomolhari, Microsoft Himalaya");
1596 pref("font.default.ar", "sans-serif");
1597 pref("font.size.variable.ar", 16);
1598 pref("font.size.fixed.ar", 13);
1600 pref("font.default.el", "serif");
1601 pref("font.size.variable.el", 16);
1602 pref("font.size.fixed.el", 13);
1604 pref("font.default.he", "sans-serif");
1605 pref("font.size.variable.he", 16);
1606 pref("font.size.fixed.he", 13);
1608 pref("font.default.ja", "sans-serif");
1609 pref("font.size.variable.ja", 16);
1610 pref("font.size.fixed.ja", 16);
1612 pref("font.default.ko", "sans-serif");
1613 pref("font.size.variable.ko", 16);
1614 pref("font.size.fixed.ko", 16);
1616 pref("font.default.th", "serif");
1617 pref("font.size.variable.th", 16);
1618 pref("font.size.fixed.th", 13);
1619 pref("font.minimum-size.th", 10);
1621 pref("font.default.tr", "serif");
1622 pref("font.size.variable.tr", 16);
1623 pref("font.size.fixed.tr", 13);
1625 pref("font.default.x-baltic", "serif");
1626 pref("font.size.variable.x-baltic", 16);
1627 pref("font.size.fixed.x-baltic", 13);
1629 pref("font.default.x-central-euro", "serif");
1630 pref("font.size.variable.x-central-euro", 16);
1631 pref("font.size.fixed.x-central-euro", 13);
1633 pref("font.default.x-cyrillic", "serif");
1634 pref("font.size.variable.x-cyrillic", 16);
1635 pref("font.size.fixed.x-cyrillic", 13);
1637 pref("font.default.x-devanagari", "serif");
1638 pref("font.size.variable.x-devanagari", 16);
1639 pref("font.size.fixed.x-devanagari", 13);
1641 pref("font.default.x-tamil", "serif");
1642 pref("font.size.variable.x-tamil", 16);
1643 pref("font.size.fixed.x-tamil", 13);
1645 pref("font.default.x-armn", "serif");
1646 pref("font.size.variable.x-armn", 16);
1647 pref("font.size.fixed.x-armn", 13);
1649 pref("font.default.x-beng", "serif");
1650 pref("font.size.variable.x-beng", 16);
1651 pref("font.size.fixed.x-beng", 13);
1653 pref("font.default.x-cans", "serif");
1654 pref("font.size.variable.x-cans", 16);
1655 pref("font.size.fixed.x-cans", 13);
1657 pref("font.default.x-ethi", "serif");
1658 pref("font.size.variable.x-ethi", 16);
1659 pref("font.size.fixed.x-ethi", 13);
1661 pref("font.default.x-geor", "serif");
1662 pref("font.size.variable.x-geor", 16);
1663 pref("font.size.fixed.x-geor", 13);
1665 pref("font.default.x-gujr", "serif");
1666 pref("font.size.variable.x-gujr", 16);
1667 pref("font.size.fixed.x-gujr", 13);
1669 pref("font.default.x-guru", "serif");
1670 pref("font.size.variable.x-guru", 16);
1671 pref("font.size.fixed.x-guru", 13);
1673 pref("font.default.x-khmr", "serif");
1674 pref("font.size.variable.x-khmr", 16);
1675 pref("font.size.fixed.x-khmr", 13);
1677 pref("font.default.x-mlym", "serif");
1678 pref("font.size.variable.x-mlym", 16);
1679 pref("font.size.fixed.x-mlym", 13);
1681 pref("font.default.x-orya", "serif");
1682 pref("font.size.variable.x-orya", 16);
1683 pref("font.size.fixed.x-orya", 13);
1685 pref("font.default.x-telu", "serif");
1686 pref("font.size.variable.x-telu", 16);
1687 pref("font.size.fixed.x-telu", 13);
1689 pref("font.default.x-knda", "serif");
1690 pref("font.size.variable.x-knda", 16);
1691 pref("font.size.fixed.x-knda", 13);
1693 pref("font.default.x-sinh", "serif");
1694 pref("font.size.variable.x-sinh", 16);
1695 pref("font.size.fixed.x-sinh", 13);
1697 pref("font.default.x-tibt", "serif");
1698 pref("font.size.variable.x-tibt", 16);
1699 pref("font.size.fixed.x-tibt", 13);
1701 pref("font.default.x-unicode", "serif");
1702 pref("font.size.variable.x-unicode", 16);
1703 pref("font.size.fixed.x-unicode", 13);
1705 pref("font.default.x-western", "serif");
1706 pref("font.size.variable.x-western", 16);
1707 pref("font.size.fixed.x-western", 13);
1709 pref("font.default.zh-CN", "sans-serif");
1710 pref("font.size.variable.zh-CN", 16);
1711 pref("font.size.fixed.zh-CN", 16);
1713 pref("font.default.zh-TW", "sans-serif");
1714 pref("font.size.variable.zh-TW", 16);
1715 pref("font.size.fixed.zh-TW", 16);
1717 pref("font.default.zh-HK", "sans-serif");
1718 pref("font.size.variable.zh-HK", 16);
1719 pref("font.size.fixed.zh-HK", 16);
1721 // We have special support for Monotype Symbol on Windows.
1722 pref("font.mathfont-family", "STIXNonUnicode, STIXSizeOneSym, STIXSize1, STIXGeneral, Symbol, DejaVu Sans, Cambria Math");
1724 // cleartype settings - false implies default system settings 
1726 // use cleartype rendering for downloadable fonts (win xp only)
1727 pref("gfx.font_rendering.cleartype.use_for_downloadable_fonts", true);
1729 // use cleartype rendering for all fonts always (win xp only)
1730 pref("gfx.font_rendering.cleartype.always_use_for_content", false);
1732 pref("ui.key.menuAccessKeyFocuses", true);
1734 // override double-click word selection behavior.
1735 pref("layout.word_select.eat_space_to_next_word", true);
1737 // scrollbar snapping region
1738 pref("slider.snapMultiplier", 6);
1740 // print_extra_margin enables platforms to specify an extra gap or margin
1741 // around the content of the page for Print Preview only
1742 pref("print.print_extra_margin", 90); // twips (90 twips is an eigth of an inch)
1744 // Whether to extend the native dialog with information on printing frames.
1745 pref("print.extend_native_print_dialog", true);
1747 // Locate Java by scanning the Sun JRE installation directory with a minimum version
1748 // Note: Does not scan if security.enable_java is not true
1749 pref("plugin.scan.SunJRE", "1.3");
1751 // Locate plugins by scanning the Adobe Acrobat installation directory with a minimum version
1752 pref("plugin.scan.Acrobat", "5.0");
1754 // Locate plugins by scanning the Quicktime installation directory with a minimum version
1755 pref("plugin.scan.Quicktime", "5.0");
1757 // Locate and scan the Window Media Player installation directory for plugins with a minimum version
1758 pref("plugin.scan.WindowsMediaPlayer", "7.0");
1760 // Locate plugins by the directories specified in the Windows registry for PLIDs
1761 // Which is currently HKLM\Software\MozillaPlugins\xxxPLIDxxx\Path
1762 pref("plugin.scan.plid.all", true);
1764 // Controls the scanning of the Navigator 4.x directory for plugins
1765 // When pref is missing, the default is to pickup popular plugins such as
1766 // Flash, Shockwave, Acrobat, and Quicktime. If set to true, ALL plugins
1767 // will be picked up and if set to false the scan will not happen at all
1768 //pref("plugin.scan.4xPluginFolder", false);
1770 // Help Windows NT, 2000, and XP dialup a RAS connection
1771 // when a network address is unreachable.
1772 pref("network.autodial-helper.enabled", true);
1774 // Pref to control whether we set ddeexec subkeys for the http
1775 // Internet shortcut protocol if we are handling it.  These
1776 // subkeys will be set only while we are running (to avoid the
1777 // problem of Windows showing an alert when it tries to use DDE
1778 // and we're not already running).
1779 pref("advanced.system.supportDDEExec", true);
1781 // Switch the keyboard layout per window
1782 pref("intl.keyboard.per_window_layout", false);
1784 #ifdef NS_ENABLE_TSF
1785 // Enable/Disable TSF support
1786 pref("intl.enable_tsf_support", false);
1788 // We need to notify the layout change to TSF, but we cannot check the actual
1789 // change now, therefore, we always notify it by this fequency.
1790 pref("intl.tsf.on_layout_change_interval", 100);
1791 #endif
1793 #ifdef WINCE
1794 // bug 506798 - can't type in bookmarks panel on WinCE
1795 pref("ui.panel.default_level_parent", true);
1796 #else
1797 // See bug 448927, on topmost panel, some IMEs are not usable on Windows.
1798 pref("ui.panel.default_level_parent", false);
1799 #endif
1801 pref("mousewheel.system_scroll_override_on_root_content.enabled", true);
1803 // If your mouse drive sends WM_*SCROLL messages when you turn your mouse wheel,
1804 // set this to true.  Then, gecko processes them as mouse wheel messages.
1805 pref("mousewheel.emulate_at_wm_scroll", false);
1807 // Enables or disabled the TrackPoint hack, -1 is autodetect, 0 is off,
1808 // and 1 is on.  Set this to 1 if TrackPoint scrolling is not working.
1809 pref("ui.trackpoint_hack.enabled", -1);
1811 // Setting this to a non-empty string overrides the Win32 "window class" used
1812 // for "normal" windows. Setting this to MozillaUIWindowClass might make
1813 // some trackpad drivers behave better.
1814 pref("ui.window_class_override", "");
1816 # WINNT
1817 #endif
1819 #ifdef XP_MACOSX
1820 // Mac specific preference defaults
1821 pref("browser.drag_out_of_frame_style", 1);
1822 pref("ui.key.saveLink.shift", false); // true = shift, false = meta
1824 // default fonts (in UTF8 and using canonical names)
1825 // to determine canonical font names, use a debug build and 
1826 // enable NSPR logging for module fontInfoLog:5
1827 // canonical names immediately follow '(fontinit) family:' in the log
1829 pref("font.name.serif.ar", "Al Bayan");
1830 pref("font.name.sans-serif.ar", "Geeza Pro");
1831 pref("font.name.monospace.ar", "Geeza Pro");
1832 pref("font.name.cursive.ar", "DecoType Naskh");
1833 pref("font.name.fantasy.ar", "KufiStandardGK");
1834 pref("font.name-list.serif.ar", "Al Bayan");
1835 pref("font.name-list.sans-serif.ar", "Geeza Pro");
1836 pref("font.name-list.monospace.ar", "Geeza Pro");
1837 pref("font.name-list.cursive.ar", "DecoType Naskh");
1838 pref("font.name-list.fantasy.ar", "KufiStandardGK");
1840 pref("font.name.serif.el", "Lucida Grande");
1841 pref("font.name.sans-serif.el", "Lucida Grande");
1842 pref("font.name.monospace.el", "Lucida Grande");
1843 pref("font.name.cursive.el", "Lucida Grande");
1844 pref("font.name.fantasy.el", "Lucida Grande");
1845 pref("font.name-list.serif.el", "Lucida Grande");
1846 pref("font.name-list.sans-serif.el", "Lucida Grande");
1847 pref("font.name-list.monospace.el", "Lucida Grande");
1848 pref("font.name-list.cursive.el", "Lucida Grande");
1849 pref("font.name-list.fantasy.el", "Lucida Grande");
1851 pref("font.name.serif.he", "Raanana");
1852 pref("font.name.sans-serif.he", "Arial Hebrew");
1853 pref("font.name.monospace.he", "Arial Hebrew");
1854 pref("font.name.cursive.he", "Corsiva Hebrew");
1855 pref("font.name.fantasy.he", "Corsiva Hebrew");
1856 pref("font.name-list.serif.he", "Raanana");
1857 pref("font.name-list.sans-serif.he", "Arial Hebrew");
1858 pref("font.name-list.monospace.he", "Arial Hebrew");
1859 pref("font.name-list.cursive.he", "Corsiva Hebrew");
1860 pref("font.name-list.fantasy.he", "Corsiva Hebrew");
1862 pref("font.name.serif.ja", "Hiragino Mincho Pro"); 
1863 pref("font.name.sans-serif.ja", "Hiragino Kaku Gothic Pro"); 
1864 pref("font.name.monospace.ja", "Osaka-Mono"); 
1865 pref("font.name-list.serif.ja", "Hiragino Mincho Pro"); 
1866 pref("font.name-list.sans-serif.ja", "Hiragino Kaku Gothic Pro"); 
1867 pref("font.name-list.monospace.ja", "Osaka-Mono"); 
1869 pref("font.name.serif.ko", "AppleMyungjo"); 
1870 pref("font.name.sans-serif.ko", "AppleGothic"); 
1871 pref("font.name.monospace.ko", "AppleGothic"); 
1872 pref("font.name-list.serif.ko", "AppleMyungjo"); 
1873 pref("font.name-list.sans-serif.ko", "AppleGothic"); 
1874 pref("font.name-list.monospace.ko", "AppleGothic"); 
1876 pref("font.name.serif.th", "Thonburi");
1877 pref("font.name.sans-serif.th", "Thonburi");
1878 pref("font.name.monospace.th", "Ayuthaya");
1879 pref("font.name-list.serif.th", "Thonburi");
1880 pref("font.name-list.sans-serif.th", "Thonburi");
1881 pref("font.name-list.monospace.th", "Ayuthaya");
1883 pref("font.name.serif.tr", "Times");
1884 pref("font.name.sans-serif.tr", "Helvetica");
1885 pref("font.name.monospace.tr", "Courier");
1886 pref("font.name.cursive.tr", "Apple Chancery");
1887 pref("font.name.fantasy.tr", "Papyrus");
1888 pref("font.name-list.serif.tr", "Times");
1889 pref("font.name-list.sans-serif.tr", "Helvetica");
1890 pref("font.name-list.monospace.tr", "Courier");
1891 pref("font.name-list.cursive.tr", "Apple Chancery");
1892 pref("font.name-list.fantasy.tr", "Papyrus");
1894 pref("font.name.serif.x-armn", "Mshtakan");
1895 pref("font.name.sans-serif.x-armn", "Mshtakan");
1896 pref("font.name.monospace.x-armn", "Mshtakan");
1897 pref("font.name-list.serif.x-armn", "Mshtakan");
1898 pref("font.name-list.sans-serif.x-armn", "Mshtakan");
1899 pref("font.name-list.monospace.x-armn", "Mshtakan");
1901 pref("font.name.serif.x-baltic", "Times");
1902 pref("font.name.sans-serif.x-baltic", "Helvetica");
1903 pref("font.name.monospace.x-baltic", "Courier");
1904 pref("font.name.cursive.x-baltic", "Apple Chancery");
1905 pref("font.name.fantasy.x-baltic", "Papyrus");
1906 pref("font.name-list.serif.x-baltic", "Times");
1907 pref("font.name-list.sans-serif.x-baltic", "Helvetica");
1908 pref("font.name-list.monospace.x-baltic", "Courier");
1909 pref("font.name-list.cursive.x-baltic", "Apple Chancery");
1910 pref("font.name-list.fantasy.x-baltic", "Papyrus");
1912 // no suitable fonts for bengali ship with mac os x
1913 // however two can be freely downloaded
1914 // SolaimanLipi, Rupali http://ekushey.org/?page/mac_download
1915 pref("font.name.serif.x-beng", "সোলাইমান লিপি");
1916 pref("font.name.sans-serif.x-beng", "রূপালী");
1917 pref("font.name.monospace.x-beng", "রূপালী");
1918 pref("font.name-list.serif.x-beng", "সোলাইমান লিপি");
1919 pref("font.name-list.sans-serif.x-beng", "রূপালী");
1920 pref("font.name-list.monospace.x-beng", "রূপালী");
1922 pref("font.name.serif.x-cans", "Euphemia UCAS");
1923 pref("font.name.sans-serif.x-cans", "Euphemia UCAS");
1924 pref("font.name.monospace.x-cans", "Euphemia UCAS");
1925 pref("font.name-list.serif.x-cans", "Euphemia UCAS");
1926 pref("font.name-list.sans-serif.x-cans", "Euphemia UCAS");
1927 pref("font.name-list.monospace.x-cans", "Euphemia UCAS");
1929 pref("font.name.serif.x-central-euro", "Times");
1930 pref("font.name.sans-serif.x-central-euro", "Helvetica");
1931 pref("font.name.monospace.x-central-euro", "Courier");
1932 pref("font.name.cursive.x-central-euro", "Apple Chancery");
1933 pref("font.name.fantasy.x-central-euro", "Papyrus");
1934 pref("font.name-list.serif.x-central-euro", "Times");
1935 pref("font.name-list.sans-serif.x-central-euro", "Helvetica");
1936 pref("font.name-list.monospace.x-central-euro", "Courier");
1937 pref("font.name-list.cursive.x-central-euro", "Apple Chancery");
1938 pref("font.name-list.fantasy.x-central-euro", "Papyrus");
1940 pref("font.name.serif.x-cyrillic", "Times CY");
1941 pref("font.name.sans-serif.x-cyrillic", "Helvetica CY");
1942 pref("font.name.monospace.x-cyrillic", "Monaco CY");
1943 pref("font.name.cursive.x-cyrillic", "Geneva CY");
1944 pref("font.name.fantasy.x-cyrillic", "Charcoal CY");
1945 pref("font.name-list.serif.x-cyrillic", "Times CY");
1946 pref("font.name-list.sans-serif.x-cyrillic", "Helvetica CY");
1947 pref("font.name-list.monospace.x-cyrillic", "Monaco CY");
1948 pref("font.name-list.cursive.x-cyrillic", "Geneva CY");
1949 pref("font.name-list.fantasy.x-cyrillic", "Charcoal CY");
1951 pref("font.name.serif.x-devanagari", "Devanagari MT");
1952 pref("font.name.sans-serif.x-devanagari", "Devanagari MT");
1953 pref("font.name.monospace.x-devanagari", "Devanagari MT");
1954 pref("font.name-list.serif.x-devanagari", "Devanagari MT");
1955 pref("font.name-list.sans-serif.x-devanagari", "Devanagari MT");
1956 pref("font.name-list.monospace.x-devanagari", "Devanagari MT");
1958 // no suitable fonts for ethiopic ship with mac os x
1959 // however one can be freely downloaded
1960 // Abyssinica SIL http://scripts.sil.org/AbyssinicaSIL_Download
1961 pref("font.name.serif.x-ethi", "Abyssinica SIL");
1962 pref("font.name.sans-serif.x-ethi", "Abyssinica SIL");
1963 pref("font.name.monospace.x-ethi", "Abyssinica SIL");
1964 pref("font.name-list.serif.x-ethi", "Abyssinica SIL");
1965 pref("font.name-list.sans-serif.x-ethi", "Abyssinica SIL");
1966 pref("font.name-list.monospace.x-ethi", "Abyssinica SIL");
1968 // no suitable fonts for georgian ship with mac os x
1969 // however some can be freely downloaded
1970 // TITUS Cyberbit Basic http://titus.fkidg1.uni-frankfurt.de/unicode/tituut.asp
1971 // Zuzumbo http://homepage.mac.com/rsiradze/FileSharing91.html
1972 pref("font.name.serif.x-geor", "TITUS Cyberbit Basic");
1973 pref("font.name.sans-serif.x-geor", "Zuzumbo");
1974 pref("font.name.monospace.x-geor", "Zuzumbo");
1975 pref("font.name-list.serif.x-geor", "TITUS Cyberbit Basic"); 
1976 pref("font.name-list.sans-serif.x-geor", "Zuzumbo");
1977 pref("font.name-list.monospace.x-geor", "Zuzumbo");
1979 pref("font.name.serif.x-gujr", "Gujarati MT");
1980 pref("font.name.sans-serif.x-gujr", "Gujarati MT");
1981 pref("font.name.monospace.x-gujr", "Gujarati MT");
1982 pref("font.name-list.serif.x-gujr", "Gujarati MT"); 
1983 pref("font.name-list.sans-serif.x-gujr", "Gujarati MT");
1984 pref("font.name-list.monospace.x-gujr", "Gujarati MT");
1986 pref("font.name.serif.x-guru", "Gurmukhi MT");
1987 pref("font.name.sans-serif.x-guru", "Gurmukhi MT");
1988 pref("font.name.monospace.x-guru", "Gurmukhi MT");
1989 pref("font.name-list.serif.x-guru", "Gurmukhi MT"); 
1990 pref("font.name-list.sans-serif.x-guru", "Gurmukhi MT");
1991 pref("font.name-list.monospace.x-guru", "Gurmukhi MT");
1993 // no suitable fonts for khmer ship with mac os x
1994 // add this section when fonts exist
1996 // no suitable fonts for malayalam ship with mac os x
1997 // add this section when fonts exist
1999 // no suitable fonts for oriya ship with mac os x
2000 // add this section when fonts exist
2002 // no suitable fonts for telugu ship with mac os x
2003 // however one can be freely downloaded
2004 // Pothana http://web.nickshanks.com/typography/telugu/
2005 pref("font.name.serif.x-telu", "Pothana");
2006 pref("font.name.sans-serif.x-telu", "Pothana");
2007 pref("font.name.monospace.x-telu", "Pothana");
2008 pref("font.name-list.serif.x-telu", "Pothana");
2009 pref("font.name-list.sans-serif.x-telu", "Pothana");
2010 pref("font.name-list.monospace.x-telu", "Pothana");
2012 // no suitable fonts for kannada ship with mac os x
2013 // however one can be freely downloaded
2014 // Kedage http://web.nickshanks.com/typography/kannada/
2015 pref("font.name.serif.x-knda", "Kedage");
2016 pref("font.name.sans-serif.x-knda", "Kedage");
2017 pref("font.name.monospace.x-knda", "Kedage");
2018 pref("font.name-list.serif.x-knda", "Kedage");
2019 pref("font.name-list.sans-serif.x-knda", "Kedage");
2020 pref("font.name-list.monospace.x-knda", "Kedage");
2022 // no suitable fonts for sinhala ship with mac os x
2023 // add this section when fonts exist
2025 pref("font.name.serif.x-tamil", "InaiMathi");
2026 pref("font.name.sans-serif.x-tamil", "InaiMathi");
2027 pref("font.name.monospace.x-tamil", "InaiMathi");
2028 pref("font.name-list.serif.x-tamil", "InaiMathi");
2029 pref("font.name-list.sans-serif.x-tamil", "InaiMathi");
2030 pref("font.name-list.monospace.x-tamil", "InaiMathi");
2032 // Kailasa ships with mac os x >= 10.5
2033 pref("font.name.serif.x-tibt", "Kailasa");
2034 pref("font.name.sans-serif.x-tibt", "Kailasa");
2035 pref("font.name.monospace.x-tibt", "Kailasa");
2036 pref("font.name-list.serif.x-tibt", "Kailasa");
2037 pref("font.name-list.sans-serif.x-tibt", "Kailasa");
2038 pref("font.name-list.monospace.x-tibt", "Kailasa");
2040 pref("font.name.serif.x-unicode", "Times");
2041 pref("font.name.sans-serif.x-unicode", "Helvetica");
2042 pref("font.name.monospace.x-unicode", "Courier");
2043 pref("font.name.cursive.x-unicode", "Apple Chancery");
2044 pref("font.name.fantasy.x-unicode", "Papyrus");
2045 pref("font.name-list.serif.x-unicode", "Times");
2046 pref("font.name-list.sans-serif.x-unicode", "Helvetica");
2047 pref("font.name-list.monospace.x-unicode", "Courier");
2048 pref("font.name-list.cursive.x-unicode", "Apple Chancery");
2049 pref("font.name-list.fantasy.x-unicode", "Papyrus");
2051 pref("font.name.serif.x-western", "Times");
2052 pref("font.name.sans-serif.x-western", "Helvetica");
2053 pref("font.name.monospace.x-western", "Courier");
2054 pref("font.name.cursive.x-western", "Apple Chancery");
2055 pref("font.name.fantasy.x-western", "Papyrus");
2056 pref("font.name-list.serif.x-western", "Times");
2057 pref("font.name-list.sans-serif.x-western", "Helvetica");
2058 pref("font.name-list.monospace.x-western", "Courier");
2059 pref("font.name-list.cursive.x-western", "Apple Chancery");
2060 pref("font.name-list.fantasy.x-western", "Papyrus");
2062 pref("font.name.serif.zh-CN", "STSong");
2063 pref("font.name.sans-serif.zh-CN", "STHeiti");
2064 pref("font.name.monospace.zh-CN", "STHeiti");
2065 pref("font.name-list.serif.zh-CN", "STSong");
2066 pref("font.name-list.sans-serif.zh-CN", "STHeiti");
2067 pref("font.name-list.monospace.zh-CN", "STHeiti");
2069 pref("font.name.serif.zh-TW", "Apple LiSung"); 
2070 pref("font.name.sans-serif.zh-TW", "Apple LiGothic");  
2071 pref("font.name.monospace.zh-TW", "Apple LiGothic");  
2072 pref("font.name-list.serif.zh-TW", "Apple LiSung"); 
2073 pref("font.name-list.sans-serif.zh-TW", "Apple LiGothic");  
2074 pref("font.name-list.monospace.zh-TW", "Apple LiGothic");  
2076 pref("font.name.serif.zh-HK", "LiSong Pro");
2077 pref("font.name.sans-serif.zh-HK", "LiHei Pro");
2078 pref("font.name.monospace.zh-HK", "LiHei Pro");
2079 pref("font.name-list.serif.zh-HK", "LiSong Pro");
2080 pref("font.name-list.sans-serif.zh-HK", "LiHei Pro");
2081 pref("font.name-list.monospace.zh-HK", "LiHei Pro");
2083 pref("font.default.ar", "sans-serif");
2084 pref("font.size.variable.ar", 16);
2085 pref("font.size.fixed.ar", 13);
2087 pref("font.default.el", "serif");
2088 pref("font.size.variable.el", 16);
2089 pref("font.size.fixed.el", 13);
2091 pref("font.default.he", "sans-serif");
2092 pref("font.size.variable.he", 16);
2093 pref("font.size.fixed.he", 13);
2095 pref("font.default.ja", "sans-serif");
2096 pref("font.size.variable.ja", 16);
2097 pref("font.size.fixed.ja", 16);
2099 pref("font.default.ko", "sans-serif");
2100 pref("font.size.variable.ko", 16);
2101 pref("font.size.fixed.ko", 16);
2103 pref("font.default.th", "serif");
2104 pref("font.size.variable.th", 16);
2105 pref("font.size.fixed.th", 13);
2106 pref("font.minimum-size.th", 10);
2108 pref("font.default.tr", "serif");
2109 pref("font.size.variable.tr", 16);
2110 pref("font.size.fixed.tr", 13);
2112 pref("font.default.x-armn", "serif");
2113 pref("font.size.variable.x-armn", 16);
2114 pref("font.size.fixed.x-armn", 13);
2116 pref("font.default.x-baltic", "serif");
2117 pref("font.size.variable.x-baltic", 16);
2118 pref("font.size.fixed.x-baltic", 13);
2120 pref("font.default.x-beng", "serif");
2121 pref("font.size.variable.x-beng", 16);
2122 pref("font.size.fixed.x-beng", 13);
2124 pref("font.default.x-cans", "serif");
2125 pref("font.size.variable.x-cans", 16);
2126 pref("font.size.fixed.x-cans", 13);
2128 pref("font.default.x-central-euro", "serif");
2129 pref("font.size.variable.x-central-euro", 16);
2130 pref("font.size.fixed.x-central-euro", 13);
2132 pref("font.default.x-cyrillic", "serif");
2133 pref("font.size.variable.x-cyrillic", 16);
2134 pref("font.size.fixed.x-cyrillic", 13);
2136 pref("font.default.x-devanagari", "serif");
2137 pref("font.size.variable.x-devanagari", 16);
2138 pref("font.size.fixed.x-devanagari", 13);
2140 pref("font.default.x-ethi", "serif");
2141 pref("font.size.variable.x-ethi", 16);
2142 pref("font.size.fixed.x-ethi", 13);
2144 pref("font.default.x-geor", "serif");
2145 pref("font.size.variable.x-geor", 16);
2146 pref("font.size.fixed.x-geor", 13);
2148 pref("font.default.x-gujr", "serif");
2149 pref("font.size.variable.x-gujr", 16);
2150 pref("font.size.fixed.x-gujr", 13);
2152 pref("font.default.x-guru", "serif");
2153 pref("font.size.variable.x-guru", 16);
2154 pref("font.size.fixed.x-guru", 13);
2156 pref("font.default.x-khmr", "serif");
2157 pref("font.size.variable.x-khmr", 16);
2158 pref("font.size.fixed.x-khmr", 13);
2160 pref("font.default.x-mlym", "serif");
2161 pref("font.size.variable.x-mlym", 16);
2162 pref("font.size.fixed.x-mlym", 13);
2164 pref("font.default.x-tamil", "serif");
2165 pref("font.size.variable.x-tamil", 16);
2166 pref("font.size.fixed.x-tamil", 13);
2168 pref("font.default.x-orya", "serif");
2169 pref("font.size.variable.x-orya", 16);
2170 pref("font.size.fixed.x-orya", 13);
2172 pref("font.default.x-telu", "serif");
2173 pref("font.size.variable.x-telu", 16);
2174 pref("font.size.fixed.x-telu", 13);
2176 pref("font.default.x-knda", "serif");
2177 pref("font.size.variable.x-knda", 16);
2178 pref("font.size.fixed.x-knda", 13);
2180 pref("font.default.x-sinh", "serif");
2181 pref("font.size.variable.x-sinh", 16);
2182 pref("font.size.fixed.x-sinh", 13);
2184 pref("font.default.x-tibt", "serif");
2185 pref("font.size.variable.x-tibt", 16);
2186 pref("font.size.fixed.x-tibt", 13);
2188 pref("font.default.x-unicode", "serif");
2189 pref("font.size.variable.x-unicode", 16);
2190 pref("font.size.fixed.x-unicode", 13);
2192 pref("font.default.x-western", "serif");
2193 pref("font.size.variable.x-western", 16);
2194 pref("font.size.fixed.x-western", 13);
2196 pref("font.default.zh-CN", "sans-serif");
2197 pref("font.size.variable.zh-CN", 15);
2198 pref("font.size.fixed.zh-CN", 16);
2200 pref("font.default.zh-TW", "sans-serif");
2201 pref("font.size.variable.zh-TW", 15);
2202 pref("font.size.fixed.zh-TW", 16);
2204 pref("font.default.zh-HK", "sans-serif");
2205 pref("font.size.variable.zh-HK", 15);
2206 pref("font.size.fixed.zh-HK", 16);
2208 // Apple's Symbol is Unicode so use it
2209 pref("font.mathfont-family", "STIXNonUnicode, STIXSizeOneSym, STIXSize1, STIXGeneral, Symbol, DejaVu Sans, Cambria Math");
2211 // individual font faces to be treated as independent families
2212 // names are Postscript names of each face
2213 pref("font.single-face-list", "Osaka-Mono");
2215 // optimization hint for fonts with localized names to be read in at startup, otherwise read in at lookup miss
2216 // names are canonical family names (typically English names)
2217 pref("font.preload-names-list", "Hiragino Kaku Gothic Pro,Hiragino Mincho Pro,STSong");
2219 // Override the Windows settings: no menu key, meta accelerator key. ctrl for general access key in HTML/XUL
2220 // Use 17 for Ctrl, 18 for Option, 224 for Cmd, 0 for none
2221 pref("ui.key.menuAccessKey", 0);
2222 pref("ui.key.accelKey", 224);
2223 // (pinkerton, joki, saari) IE5 for mac uses Control for access keys. The HTML4 spec
2224 // suggests to use command on mac, but this really sucks (imagine someone having a "q"
2225 // as an access key and not letting you quit the app!). As a result, we've made a 
2226 // command decision 1 day before tree lockdown to change it to the control key.
2227 pref("ui.key.generalAccessKey", -1);
2229 // If generalAccessKey is -1, use the following two prefs instead.
2230 // Use 0 for disabled, 1 for Shift, 2 for Ctrl, 4 for Alt, 8 for Meta (Cmd)
2231 // (values can be combined, e.g. 3 for Ctrl+Shift)
2232 pref("ui.key.chromeAccess", 2);
2233 pref("ui.key.contentAccess", 2);
2235 // print_extra_margin enables platforms to specify an extra gap or margin
2236 // around the content of the page for Print Preview only
2237 pref("print.print_extra_margin", 90); // twips (90 twips is an eigth of an inch)
2239 // See bug 404131, topmost <panel> element wins to Dashboard on MacOSX.
2240 pref("ui.panel.default_level_parent", false);
2242 pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
2244 # XP_MACOSX
2245 #endif
2247 #ifdef XP_OS2
2249 pref("ui.key.menuAccessKeyFocuses", true);
2251 pref("font.alias-list", "sans,sans-serif,serif,monospace,Tms Rmn,Helv,Courier,Times New Roman");
2253 pref("font.mathfont-family", "STIXNonUnicode, STIXSizeOneSym, STIXSize1, STIXGeneral, DejaVu Sans");
2255 // Languages only need lists if we have a default that might not be available.
2256 // Tms Rmn and Helv cannot be used by Thebes but the OS/2 version of FontConfig
2257 // maps them to Times New Roman and Helvetica, respectively. Those fonts and
2258 // Courier are available on OS/2 by default.
2260 pref("font.name.serif.ar", "Tms Rmn");
2261 pref("font.name.sans-serif.ar", "Helv");
2262 pref("font.name.monospace.ar", "Courier");
2264 pref("font.name.serif.el", "Tms Rmn");
2265 pref("font.name.sans-serif.el", "Helv");
2266 pref("font.name.monospace.el", "Courier");
2268 pref("font.name.serif.he", "Tms Rmn");
2269 pref("font.name.sans-serif.he", "Helv");
2270 pref("font.name.monospace.he", "Courier");
2272 pref("font.name.serif.ja", "Times New Roman WT J");
2273 pref("font.name-list.serif.ja", "Times New Roman WT J, Times New Roman WT, Times New Roman MT 30, Tms Rmn");
2274 pref("font.name.sans-serif.ja", "Helv");
2275 pref("font.name.monospace.ja", "Kochi Gothic");
2276 pref("font.name-list.monospace.ja", "Kochi Gothic, Kochi Mincho, Courier New, Courier");
2278 pref("font.name.serif.ko", "Times New Roman WT K");
2279 pref("font.name-list.serif.ko", "Times New Roman WT K, Times New Roman WT, Times New Roman MT 30, Tms Rmn");
2280 pref("font.name.sans-serif.ko", "Helv");
2281 pref("font.name.monospace.ko", "Courier");
2283 pref("font.name.serif.th", "Tms Rmn");
2284 pref("font.name.sans-serif.th", "Helv");
2285 pref("font.name.monospace.th", "Courier");
2287 pref("font.name.serif.tr", "Tms Rmn");
2288 pref("font.name.sans-serif.tr", "Helv");
2289 pref("font.name.monospace.tr", "Courier");
2291 pref("font.name.serif.x-baltic", "Tms Rmn");
2292 pref("font.name.sans-serif.x-baltic", "Helv");
2293 pref("font.name.monospace.x-baltic", "Courier");
2295 pref("font.name.serif.x-central-euro", "Tms Rmn");
2296 pref("font.name.sans-serif.x-central-euro", "Helv");
2297 pref("font.name.monospace.x-central-euro", "Courier");
2299 pref("font.name.serif.x-cyrillic", "Tms Rmn");
2300 pref("font.name.sans-serif.x-cyrillic", "Helv");
2301 pref("font.name.monospace.x-cyrillic", "Courier");
2303 // Unicode fonts
2304 // Fontconfig will match substrings, so that we only need to list e.g.
2305 // Times New Roman WT and it will search for the J, SC, TC, K variants.
2306 // The DejaVu fonts are shipped with eCS, so list them first but include other
2307 // fonts that OS/2 users are likely to have.
2308 pref("font.name.serif.x-unicode", "Times New Roman MT 30");
2309 pref("font.name-list.serif.x-unicode", "DejaVu Serif, FreeSerif, Times New Roman WT, Times New Roman MT 30, Tms Rmn");
2310 pref("font.name.sans-serif.x-unicode", "Lucida Sans Unicode");
2311 pref("font.name-list.sans-serif.x-unicode", "DejaVu Sans, FreeSans, Arial Unicode, Lucida Sans Unicode, Helv");
2312 pref("font.name.monospace.x-unicode", "DejaVu Sans Mono");
2313 pref("font.name-list.monospace.x-unicode", "DejaVu Sans Mono, FreeMono, Andale Mono, Courier New, Courier");
2314 pref("font.name.fantasy.x-unicode", "Times New Roman MT 30");
2315 pref("font.name-list.fantasy.x-unicode", "DejaVu Serif, FreeSerif, Times New Roman WT, Times New Roman MT 30");
2316 pref("font.name.cursive.x-unicode", "Times New Roman MT 30");
2317 pref("font.name-list.cursive.x-unicode", "DejaVu Serif, FreeSerif, Times New Roman WT, Times New Roman MT 30");
2319 pref("font.name.serif.x-western", "Tms Rmn");
2320 pref("font.name.sans-serif.x-western", "Helv");
2321 pref("font.name.monospace.x-western", "Courier");
2323 pref("font.name.serif.zh-CN", "Times New Roman WT SC");
2324 pref("font.name-list.serif.zh_CN", "Times New Roman WT SC, Times New Roman MT 30, Times New Roman WT, Tms Rmn");
2325 pref("font.name.sans-serif.zh-CN", "Helv");
2326 pref("font.name.monospace.zh-CN", "Courier");
2328 pref("font.name.serif.zh-TW", "Times New Roman WT TC");
2329 pref("font.name-list.serif.zh-TW", "Times New Roman WT TC, Times New Roman MT 30, Times New Roman WT, Tms Rmn");
2330 pref("font.name.sans-serif.zh-TW", "Helv");
2331 pref("font.name.monospace.zh-TW", "Courier");
2333 // just copied values from zh-TW
2334 pref("font.name.serif.zh-HK", "Times New Roman WT TC");
2335 pref("font.name-list.serif.zh-HK", "Times New Roman WT TC, Times New Roman MT 30, Times New Roman WT, Tms Rmn");
2336 pref("font.name.sans-serif.zh-HK", "Helv");
2337 pref("font.name.monospace.zh-HK", "Courier");
2339 pref("font.default", "serif");
2341 pref("font.default.ar", "serif");
2342 pref("font.size.variable.ar", 16);
2343 pref("font.size.fixed.ar", 13);
2345 pref("font.default.el", "serif");
2346 pref("font.size.variable.el", 16);
2347 pref("font.size.fixed.el", 13);
2349 pref("font.default.he", "serif");
2350 pref("font.size.variable.he", 16);
2351 pref("font.size.fixed.he", 13);
2353 pref("font.default.ja", "serif");
2354 pref("font.size.variable.ja", 16);
2355 pref("font.size.fixed.ja", 16);
2357 pref("font.default.ko", "serif");
2358 pref("font.size.variable.ko", 16);
2359 pref("font.size.fixed.ko", 16);
2361 pref("font.default.th", "serif");
2362 pref("font.size.variable.th", 16);
2363 pref("font.size.fixed.th", 13);
2365 pref("font.default.tr", "serif");
2366 pref("font.size.variable.tr", 16);
2367 pref("font.size.fixed.tr", 13);
2369 pref("font.default.x-baltic", "serif");
2370 pref("font.size.variable.x-baltic", 16);
2371 pref("font.size.fixed.x-baltic", 13);
2373 pref("font.default.x-central-euro", "serif");
2374 pref("font.size.variable.x-central-euro", 16);
2375 pref("font.size.fixed.x-central-euro", 13);
2377 pref("font.default.x-cyrillic", "serif");
2378 pref("font.size.variable.x-cyrillic", 16);
2379 pref("font.size.fixed.x-cyrillic", 13);
2381 pref("font.default.x-devanagari", "serif");
2382 pref("font.size.variable.x-devanagari", 16);
2383 pref("font.size.fixed.x-devanagari", 13);
2385 pref("font.default.x-tamil", "serif");
2386 pref("font.size.variable.x-tamil", 16);
2387 pref("font.size.fixed.x-tamil", 13);
2389 pref("font.default.x-unicode", "serif");
2390 pref("font.size.variable.x-unicode", 16);
2391 pref("font.size.fixed.x-unicode", 13);
2393 pref("font.default.x-western", "serif");
2394 pref("font.size.variable.x-western", 16);
2395 pref("font.size.fixed.x-western", 13);
2397 pref("font.default.zh-CN", "serif");
2398 pref("font.size.variable.zh-CN", 16);
2399 pref("font.size.fixed.zh-CN", 16);
2401 pref("font.default.zh-TW", "serif");
2402 pref("font.size.variable.zh-TW", 16);
2403 pref("font.size.fixed.zh-TW", 16);
2405 pref("font.default.zh-HK", "serif");
2406 pref("font.size.variable.zh-HK", 16);
2407 pref("font.size.fixed.zh-HK", 16);
2409 pref("netinst.profile.show_profile_wizard", true); 
2411 pref("middlemouse.paste", true);
2413 // override double-click word selection behavior.
2414 pref("layout.word_select.eat_space_to_next_word", true);
2415 pref("layout.word_select.stop_at_punctuation", false);
2417 // If false, will always use closest matching size for a given
2418 // image font.  If true, will substitute a vector font for a given
2419 // image font if the given size is smaller/larger than can be handled
2420 // by the image font.
2421 pref("browser.display.substitute_vector_fonts", true);
2423 // print_extra_margin enables platforms to specify an extra gap or margin
2424 // around the content of the page for Print Preview only
2425 pref("print.print_extra_margin", 90); // twips (90 twips is an eigth of an inch)
2427 pref("applications.telnet", "telnetpm.exe");
2428 pref("applications.telnet.host", "%host%");
2429 pref("applications.telnet.port", "-p %port%");
2431 pref("mail.compose.max_recycled_windows", 0);
2433 // Disable IPv6 name lookups by default.
2434 // This is because OS/2 doesn't support IPv6
2435 pref("network.dns.disableIPv6", true);
2437 // IMEs of OS/2 might use non-topmost windows for topmost <panel> element,
2438 // see bug 451015. If there are other problems by this value, we may need to
2439 // change this value.
2440 pref("ui.panel.default_level_parent", false);
2442 pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
2444 # OS2
2445 #endif
2447 #ifdef XP_BEOS
2449 pref("intl.font_charset", "");
2450 pref("intl.font_spec_list", "");
2451 pref("mail.signature_date", 0);
2453 pref("font.alias-list", "sans,sans-serif,serif,monospace");
2455 pref("font.default.ar", "sans-serif");
2456 pref("font.size.variable.ar", 16);
2457 pref("font.size.fixed.ar", 13);
2459 pref("font.default.el", "serif");
2460 pref("font.size.variable.el", 16);
2461 pref("font.size.fixed.el", 13);
2463 pref("font.default.he", "sans-serif");
2464 pref("font.size.variable.he", 16);
2465 pref("font.size.fixed.he", 13);
2467 pref("font.default.ja", "sans-serif");
2468 pref("font.size.variable.ja", 16);
2469 pref("font.size.fixed.ja", 16);
2471 pref("font.default.ko", "sans-serif");
2472 pref("font.size.variable.ko", 16);
2473 pref("font.size.fixed.ko", 16);
2475 pref("font.default.th", "serif");
2476 pref("font.size.variable.th", 16);
2477 pref("font.size.fixed.th", 13);
2479 pref("font.default.tr", "serif");
2480 pref("font.size.variable.tr", 16);
2481 pref("font.size.fixed.tr", 13);
2483 pref("font.default.x-baltic", "serif");
2484 pref("font.size.variable.x-baltic", 16);
2485 pref("font.size.fixed.x-baltic", 13);
2487 pref("font.default.x-central-euro", "serif");
2488 pref("font.size.variable.x-central-euro", 16);
2489 pref("font.size.fixed.x-central-euro", 13);
2491 pref("font.default.x-cyrillic", "serif");
2492 pref("font.size.variable.x-cyrillic", 16);
2493 pref("font.size.fixed.x-cyrillic", 13);
2495 pref("font.default.x-unicode", "serif");
2496 pref("font.size.variable.x-unicode", 16);
2497 pref("font.size.fixed.x-unicode", 13);
2499 pref("font.default.x-western", "serif");
2500 pref("font.size.variable.x-western", 16);
2501 pref("font.size.fixed.x-western", 13);
2503 pref("font.default.zh-CN", "sans-serif");
2504 pref("font.size.variable.zh-CN", 16);
2505 pref("font.size.fixed.zh-CN", 16);
2507 pref("font.default.zh-TW", "sans-serif");
2508 pref("font.size.variable.zh-TW", 16);
2509 pref("font.size.fixed.zh-TW", 16);
2511 pref("font.default.zh-HK", "sans-serif");
2512 pref("font.size.variable.zh-HK", 16);
2513 pref("font.size.fixed.zh-HK", 16);
2516  * Set default accelKey to "Alt", which is the default under BeOS.
2517  * The generalAccessKey is used for shortcuts on web pages, set to
2518  * Ctrl+Shift. The menuAccessKey is now the "windows" key.
2519  */
2520 pref("ui.key.accelKey", 18);
2521 pref("ui.key.menuAccessKey", 17);
2522 pref("ui.key.generalAccessKey", -1);
2524 // If generalAccessKey is -1, use the following two prefs instead.
2525 // Use 0 for disabled, 1 for Shift, 2 for Ctrl, 4 for Alt, 8 for Meta
2526 // (values can be combined, e.g. 3 for Ctrl+Shift)
2527 pref("ui.key.chromeAccess", 2);
2528 pref("ui.key.contentAccess", 3);
2530 // xxx toolkit?
2531 pref("browser.download.dir", "/boot/home/Downloads");
2533 // IMEs of BeOS might use non-topmost windows for topmost <panel> element,
2534 // see bug 451015. If there are other problems by this value, we may need to
2535 // change this value.
2536 pref("ui.panel.default_level_parent", false);
2538 pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
2540 # BeOS
2541 #endif
2543 #ifdef ANDROID
2544 // Handled differently under Mac/Windows
2545 pref("network.protocol-handler.warn-external.file", false);
2546 pref("browser.drag_out_of_frame_style", 1);
2548 // Middle-mouse handling
2549 pref("middlemouse.paste", true);
2550 pref("middlemouse.contentLoadURL", true);
2551 pref("middlemouse.openNewWindow", true);
2552 pref("middlemouse.scrollbarPosition", true);
2554 // Clipboard behavior
2555 pref("clipboard.autocopy", true);
2557 pref("browser.urlbar.clickSelectsAll", false);
2559 // Tab focus model bit field:
2560 // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
2561 // Leave this at the default, 7, to match mozilla1.0-era user expectations.
2562 // pref("accessibility.tabfocus", 1);
2564 // autocomplete keyboard grab workaround
2565 pref("autocomplete.grab_during_popup", true);
2566 pref("autocomplete.ungrab_during_mode_switch", true);
2568 // Default to using the system filepicker if possible, but allow
2569 // toggling to use the XUL filepicker
2570 pref("ui.allow_platform_file_picker", true);
2572 // should NetworkManager be authoritative for online/offline status?
2573 pref("toolkit.networkmanager.disable", true);
2575 pref("helpers.global_mime_types_file", "/etc/mime.types");
2576 pref("helpers.global_mailcap_file", "/etc/mailcap");
2577 pref("helpers.private_mime_types_file", "~/.mime.types");
2578 pref("helpers.private_mailcap_file", "~/.mailcap");
2579 pref("java.global_java_version_file", "/etc/.java/versions");
2580 pref("java.private_java_version_file", "~/.java/versions");
2581 pref("java.default_java_location_solaris", "/usr/j2se");
2582 pref("java.default_java_location_others", "/usr/java");
2583 pref("java.java_plugin_library_name", "javaplugin_oji");
2584 pref("applications.telnet", "xterm -e telnet %h %p");
2585 pref("applications.tn3270", "xterm -e tn3270 %h");
2586 pref("applications.rlogin", "xterm -e rlogin %h");
2587 pref("applications.rlogin_with_user", "xterm -e rlogin %h -l %u");
2588 pref("print.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
2589 pref("print.printer_list", ""); // list of printers, separated by spaces
2590 pref("print.print_reversed", false);
2591 pref("print.print_color", true);
2592 pref("print.print_landscape", false);
2593 pref("print.print_paper_size", 0);
2595 // print_extra_margin enables platforms to specify an extra gap or margin
2596 // around the content of the page for Print Preview only
2597 pref("print.print_extra_margin", 0); // twips
2599 pref("font.allow_double_byte_special_chars", true);
2600 // font names
2602 pref("font.alias-list", "sans,sans-serif,serif,monospace");
2604 // ar
2606 pref("font.name.serif.el", "Droid Serif");
2607 pref("font.name.sans-serif.el", "Droid Sans");
2608 pref("font.name.monospace.el", "Droid Sans Mono");
2610 pref("font.name.serif.he", "Droid Serif");
2611 pref("font.name.sans-serif.he", "Droid Sans");
2612 pref("font.name.monospace.he", "Droid Sans Mono");
2614 pref("font.name.serif.ja", "Droid Serif");
2615 pref("font.name.sans-serif.ja", "Droid Sans");
2616 pref("font.name.monospace.ja", "Droid Sans Mono");
2618 pref("font.name.serif.ko", "Droid Serif");
2619 pref("font.name.sans-serif.ko", "Droid Sans");
2620 pref("font.name.monospace.ko", "Droid Sans Mono");
2622 pref("font.name.serif.th", "Droid Serif");
2623 pref("font.name.sans-serif.th", "Droid Sans");
2624 pref("font.name.monospace.th", "Droid Sans Mono");
2626 pref("font.name.serif.tr", "Droid Serif");
2627 pref("font.name.sans-serif.tr", "Droid Sans");
2628 pref("font.name.monospace.tr", "Droid Sans Mono");
2630 pref("font.name.serif.x-baltic", "Droid Serif");
2631 pref("font.name.sans-serif.x-baltic", "Droid Sans");
2632 pref("font.name.monospace.x-baltic", "Droid Sans Mono");
2634 pref("font.name.serif.x-central-euro", "Droid Serif");
2635 pref("font.name.sans-serif.x-central-euro", "Droid Sans");
2636 pref("font.name.monospace.x-central-euro", "Droid Sans Mono");
2638 pref("font.name.serif.x-cyrillic", "Droid Serif");
2639 pref("font.name.sans-serif.x-cyrillic", "Droid Sans");
2640 pref("font.name.monospace.x-cyrillic", "Droid Sans Mono");
2642 pref("font.name.serif.x-unicode", "Droid Serif");
2643 pref("font.name.sans-serif.x-unicode", "Droid Sans");
2644 pref("font.name.monospace.x-unicode", "Droid Sans Mono");
2646 pref("font.name.serif.x-user-def", "Droid Serif");
2647 pref("font.name.sans-serif.x-user-def", "Droid Sans");
2648 pref("font.name.monospace.x-user-def", "Droid Sans Mono");
2650 pref("font.name.serif.x-western", "Droid Serif");
2651 pref("font.name.sans-serif.x-western", "Droid Sans");
2652 pref("font.name.monospace.x-western", "Droid Sans Mono");
2654 pref("font.name.serif.zh-CN", "Droid Serif");
2655 pref("font.name.sans-serif.zh-CN", "Droid Sans");
2656 pref("font.name.monospace.zh-CN", "Droid Sans Mono");
2658 // ming_uni.ttf (HKSCS-2001) 
2659 // http://www.info.gov.hk/digital21/eng/hkscs/download/uime.exe
2660 pref("font.name.serif.zh-HK", "Droid Serif");
2661 pref("font.name.sans-serif.zh-HK", "Droid Sans");
2662 pref("font.name.monospace.zh-HK", "Droid Sans Mono");
2664 // zh-TW
2666 pref("font.default.ar", "sans-serif");
2667 pref("font.size.variable.ar", 16);
2668 pref("font.size.fixed.ar", 12);
2670 pref("font.default.el", "sans-serif");
2671 pref("font.size.variable.el", 16);
2672 pref("font.size.fixed.el", 12);
2674 pref("font.default.he", "sans-serif");
2675 pref("font.size.variable.he", 16);
2676 pref("font.size.fixed.he", 12);
2678 pref("font.default.ja", "sans-serif");
2679 pref("font.size.variable.ja", 16);
2680 pref("font.size.fixed.ja", 16);
2682 pref("font.default.ko", "sans-serif");
2683 pref("font.size.variable.ko", 16);
2684 pref("font.size.fixed.ko", 16);
2686 pref("font.default.th", "serif");
2687 pref("font.size.variable.th", 16);
2688 pref("font.size.fixed.th", 13);
2689 pref("font.minimum-size.th", 13);
2691 pref("font.default.tr", "sans-serif");
2692 pref("font.size.variable.tr", 16);
2693 pref("font.size.fixed.tr", 12);
2695 pref("font.default.x-baltic", "sans-serif");
2696 pref("font.size.variable.x-baltic", 16);
2697 pref("font.size.fixed.x-baltic", 12);
2699 pref("font.default.x-central-euro", "sans-serif");
2700 pref("font.size.variable.x-central-euro", 16);
2701 pref("font.size.fixed.x-central-euro", 12);
2703 pref("font.default.x-cyrillic", "sans-serif");
2704 pref("font.size.variable.x-cyrillic", 16);
2705 pref("font.size.fixed.x-cyrillic", 12);
2707 pref("font.default.x-unicode", "sans-serif");
2708 pref("font.size.variable.x-unicode", 16);
2709 pref("font.size.fixed.x-unicode", 12);
2711 pref("font.default.x-user-def", "sans-serif");
2712 pref("font.size.variable.x-user-def", 16);
2713 pref("font.size.fixed.x-user-def", 12);
2715 pref("font.default.x-western", "sans-serif");
2716 pref("font.size.variable.x-western", 16);
2717 pref("font.size.fixed.x-western", 12);
2719 pref("font.default.zh-CN", "sans-serif");
2720 pref("font.size.variable.zh-CN", 16);
2721 pref("font.size.fixed.zh-CN", 16);
2723 pref("font.default.zh-TW", "sans-serif");
2724 pref("font.size.variable.zh-TW", 16);
2725 pref("font.size.fixed.zh-TW", 16);
2727 pref("font.default.zh-HK", "sans-serif");
2728 pref("font.size.variable.zh-HK", 16);
2729 pref("font.size.fixed.zh-HK", 16);
2731 pref("font.default.x-devanagari", "serif");
2732 pref("font.size.variable.x-devanagari", 16);
2733 pref("font.size.fixed.x-devanagari", 13);
2735 pref("font.default.x-tamil", "serif");
2736 pref("font.size.variable.x-tamil", 16);
2737 pref("font.size.fixed.x-tamil", 13);
2739 pref("font.default.x-armn", "serif");
2740 pref("font.size.variable.x-armn", 16);
2741 pref("font.size.fixed.x-armn", 13);
2743 pref("font.default.x-beng", "serif");
2744 pref("font.size.variable.x-beng", 16);
2745 pref("font.size.fixed.x-beng", 13);
2747 pref("font.default.x-cans", "serif");
2748 pref("font.size.variable.x-cans", 16);
2749 pref("font.size.fixed.x-cans", 13);
2751 pref("font.default.x-ethi", "serif");
2752 pref("font.size.variable.x-ethi", 16);
2753 pref("font.size.fixed.x-ethi", 13);
2755 pref("font.default.x-geor", "serif");
2756 pref("font.size.variable.x-geor", 16);
2757 pref("font.size.fixed.x-geor", 13);
2759 pref("font.default.x-gujr", "serif");
2760 pref("font.size.variable.x-gujr", 16);
2761 pref("font.size.fixed.x-gujr", 13);
2763 pref("font.default.x-guru", "serif");
2764 pref("font.size.variable.x-guru", 16);
2765 pref("font.size.fixed.x-guru", 13);
2767 pref("font.default.x-khmr", "serif");
2768 pref("font.size.variable.x-khmr", 16);
2769 pref("font.size.fixed.x-khmr", 13);
2771 pref("font.default.x-mlym", "serif");
2772 pref("font.size.variable.x-mlym", 16);
2773 pref("font.size.fixed.x-mlym", 13);
2775 pref("font.default.x-orya", "serif");
2776 pref("font.size.variable.x-orya", 16);
2777 pref("font.size.fixed.x-orya", 13);
2779 pref("font.default.x-telu", "serif");
2780 pref("font.size.variable.x-telu", 16);
2781 pref("font.size.fixed.x-telu", 13);
2783 pref("font.default.x-knda", "serif");
2784 pref("font.size.variable.x-knda", 16);
2785 pref("font.size.fixed.x-knda", 13);
2787 pref("font.default.x-sinh", "serif");
2788 pref("font.size.variable.x-sinh", 16);
2789 pref("font.size.fixed.x-sinh", 13);
2791 pref("font.default.x-tibt", "serif");
2792 pref("font.size.variable.x-tibt", 16);
2793 pref("font.size.fixed.x-tibt", 13);
2795 /* PostScript print module prefs */
2796 // pref("print.postscript.enabled",      true);
2797 pref("print.postscript.paper_size",    "letter");
2798 pref("print.postscript.orientation",   "portrait");
2799 pref("print.postscript.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
2801 // Setting default_level_parent to true makes the default level for popup
2802 // windows "top" instead of "parent".  On GTK2 platform, this is implemented
2803 // with override-redirect windows which is the normal way to implement
2804 // temporary popup windows.  Setting this to false would make the default
2805 // level "parent" which is implemented with managed windows.
2806 // A problem with using managed windows is that metacity sometimes deactivates
2807 // the parent window when the managed popup is shown.
2808 pref("ui.panel.default_level_parent", true);
2810 pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
2812 # ANDROID
2813 #endif
2815 #ifndef ANDROID
2816 #ifndef XP_MACOSX
2817 #ifdef XP_UNIX
2818 // Handled differently under Mac/Windows
2819 pref("network.protocol-handler.warn-external.file", false);
2820 pref("browser.drag_out_of_frame_style", 1);
2822 // Middle-mouse handling
2823 pref("middlemouse.paste", true);
2824 pref("middlemouse.contentLoadURL", true);
2825 pref("middlemouse.openNewWindow", true);
2826 pref("middlemouse.scrollbarPosition", true);
2828 // Clipboard behavior
2829 pref("clipboard.autocopy", true);
2831 pref("browser.urlbar.clickSelectsAll", false);
2833 // Tab focus model bit field:
2834 // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
2835 // Leave this at the default, 7, to match mozilla1.0-era user expectations.
2836 // pref("accessibility.tabfocus", 1);
2838 // autocomplete keyboard grab workaround
2839 pref("autocomplete.grab_during_popup", true);
2840 pref("autocomplete.ungrab_during_mode_switch", true);
2842 // Default to using the system filepicker if possible, but allow
2843 // toggling to use the XUL filepicker
2844 pref("ui.allow_platform_file_picker", true);
2846 // should NetworkManager be authoritative for online/offline status?
2847 pref("toolkit.networkmanager.disable", true);
2849 pref("helpers.global_mime_types_file", "/etc/mime.types");
2850 pref("helpers.global_mailcap_file", "/etc/mailcap");
2851 pref("helpers.private_mime_types_file", "~/.mime.types");
2852 pref("helpers.private_mailcap_file", "~/.mailcap");
2853 pref("java.global_java_version_file", "/etc/.java/versions");
2854 pref("java.private_java_version_file", "~/.java/versions");
2855 pref("java.default_java_location_solaris", "/usr/j2se");
2856 pref("java.default_java_location_others", "/usr/java");
2857 pref("java.java_plugin_library_name", "javaplugin_oji");
2858 pref("applications.telnet", "xterm -e telnet %h %p");
2859 pref("applications.tn3270", "xterm -e tn3270 %h");
2860 pref("applications.rlogin", "xterm -e rlogin %h");
2861 pref("applications.rlogin_with_user", "xterm -e rlogin %h -l %u");
2862 pref("print.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
2863 pref("print.printer_list", ""); // list of printers, separated by spaces
2864 pref("print.print_reversed", false);
2865 pref("print.print_color", true);
2866 pref("print.print_landscape", false);
2867 pref("print.print_paper_size", 0);
2869 // print_extra_margin enables platforms to specify an extra gap or margin
2870 // around the content of the page for Print Preview only
2871 pref("print.print_extra_margin", 0); // twips
2873 pref("font.allow_double_byte_special_chars", true);
2874 // font names
2876 pref("font.alias-list", "sans,sans-serif,serif,monospace");
2878 // ar
2880 pref("font.name.serif.el", "serif");
2881 pref("font.name.sans-serif.el", "sans-serif");
2882 pref("font.name.monospace.el", "monospace");
2884 pref("font.name.serif.he", "serif");
2885 pref("font.name.sans-serif.he", "sans-serif");
2886 pref("font.name.monospace.he", "monospace");
2888 pref("font.name.serif.ja", "serif");
2889 pref("font.name.sans-serif.ja", "sans-serif");
2890 pref("font.name.monospace.ja", "monospace");
2892 pref("font.name.serif.ko", "serif");
2893 pref("font.name.sans-serif.ko", "sans-serif");
2894 pref("font.name.monospace.ko", "monospace");
2896 pref("font.name.serif.th", "serif");
2897 pref("font.name.sans-serif.th", "sans-serif");
2898 pref("font.name.monospace.th", "monospace");
2900 pref("font.name.serif.tr", "serif");
2901 pref("font.name.sans-serif.tr", "sans-serif");
2902 pref("font.name.monospace.tr", "monospace");
2904 pref("font.name.serif.x-baltic", "serif");
2905 pref("font.name.sans-serif.x-baltic", "sans-serif");
2906 pref("font.name.monospace.x-baltic", "monospace");
2908 pref("font.name.serif.x-central-euro", "serif");
2909 pref("font.name.sans-serif.x-central-euro", "sans-serif");
2910 pref("font.name.monospace.x-central-euro", "monospace");
2912 pref("font.name.serif.x-cyrillic", "serif");
2913 pref("font.name.sans-serif.x-cyrillic", "sans-serif");
2914 pref("font.name.monospace.x-cyrillic", "monospace");
2916 pref("font.name.serif.x-unicode", "serif");
2917 pref("font.name.sans-serif.x-unicode", "sans-serif");
2918 pref("font.name.monospace.x-unicode", "monospace");
2920 pref("font.name.serif.x-user-def", "serif");
2921 pref("font.name.sans-serif.x-user-def", "sans-serif");
2922 pref("font.name.monospace.x-user-def", "monospace");
2924 pref("font.name.serif.x-western", "serif");
2925 pref("font.name.sans-serif.x-western", "sans-serif");
2926 pref("font.name.monospace.x-western", "monospace");
2928 pref("font.name.serif.zh-CN", "serif");
2929 pref("font.name.sans-serif.zh-CN", "sans-serif");
2930 pref("font.name.monospace.zh-CN", "monospace");
2932 // ming_uni.ttf (HKSCS-2001) 
2933 // http://www.info.gov.hk/digital21/eng/hkscs/download/uime.exe
2934 pref("font.name.serif.zh-HK", "serif");
2935 pref("font.name.sans-serif.zh-HK", "sans-serif");
2936 pref("font.name.monospace.zh-HK", "monospace");
2938 // zh-TW
2940 pref("font.default.ar", "sans-serif");
2941 pref("font.size.variable.ar", 16);
2942 pref("font.size.fixed.ar", 12);
2944 pref("font.default.el", "serif");
2945 pref("font.size.variable.el", 16);
2946 pref("font.size.fixed.el", 12);
2948 pref("font.default.he", "sans-serif");
2949 pref("font.size.variable.he", 16);
2950 pref("font.size.fixed.he", 12);
2952 pref("font.default.ja", "sans-serif");
2953 pref("font.size.variable.ja", 16);
2954 pref("font.size.fixed.ja", 16);
2956 pref("font.default.ko", "sans-serif");
2957 pref("font.size.variable.ko", 16);
2958 pref("font.size.fixed.ko", 16);
2960 pref("font.default.th", "serif");
2961 pref("font.size.variable.th", 16);
2962 pref("font.size.fixed.th", 13);
2963 pref("font.minimum-size.th", 13);
2965 pref("font.default.tr", "serif");
2966 pref("font.size.variable.tr", 16);
2967 pref("font.size.fixed.tr", 12);
2969 pref("font.default.x-baltic", "serif");
2970 pref("font.size.variable.x-baltic", 16);
2971 pref("font.size.fixed.x-baltic", 12);
2973 pref("font.default.x-central-euro", "serif");
2974 pref("font.size.variable.x-central-euro", 16);
2975 pref("font.size.fixed.x-central-euro", 12);
2977 pref("font.default.x-cyrillic", "serif");
2978 pref("font.size.variable.x-cyrillic", 16);
2979 pref("font.size.fixed.x-cyrillic", 12);
2981 pref("font.default.x-unicode", "serif");
2982 pref("font.size.variable.x-unicode", 16);
2983 pref("font.size.fixed.x-unicode", 12);
2985 pref("font.default.x-user-def", "serif");
2986 pref("font.size.variable.x-user-def", 16);
2987 pref("font.size.fixed.x-user-def", 12);
2989 pref("font.default.x-western", "serif");
2990 pref("font.size.variable.x-western", 16);
2991 pref("font.size.fixed.x-western", 12);
2993 pref("font.default.zh-CN", "sans-serif");
2994 pref("font.size.variable.zh-CN", 16);
2995 pref("font.size.fixed.zh-CN", 16);
2997 pref("font.default.zh-TW", "sans-serif");
2998 pref("font.size.variable.zh-TW", 16);
2999 pref("font.size.fixed.zh-TW", 16);
3001 pref("font.default.zh-HK", "sans-serif");
3002 pref("font.size.variable.zh-HK", 16);
3003 pref("font.size.fixed.zh-HK", 16);
3005 pref("font.default.x-devanagari", "serif");
3006 pref("font.size.variable.x-devanagari", 16);
3007 pref("font.size.fixed.x-devanagari", 13);
3009 pref("font.default.x-tamil", "serif");
3010 pref("font.size.variable.x-tamil", 16);
3011 pref("font.size.fixed.x-tamil", 13);
3013 pref("font.default.x-armn", "serif");
3014 pref("font.size.variable.x-armn", 16);
3015 pref("font.size.fixed.x-armn", 13);
3017 pref("font.default.x-beng", "serif");
3018 pref("font.size.variable.x-beng", 16);
3019 pref("font.size.fixed.x-beng", 13);
3021 pref("font.default.x-cans", "serif");
3022 pref("font.size.variable.x-cans", 16);
3023 pref("font.size.fixed.x-cans", 13);
3025 pref("font.default.x-ethi", "serif");
3026 pref("font.size.variable.x-ethi", 16);
3027 pref("font.size.fixed.x-ethi", 13);
3029 pref("font.default.x-geor", "serif");
3030 pref("font.size.variable.x-geor", 16);
3031 pref("font.size.fixed.x-geor", 13);
3033 pref("font.default.x-gujr", "serif");
3034 pref("font.size.variable.x-gujr", 16);
3035 pref("font.size.fixed.x-gujr", 13);
3037 pref("font.default.x-guru", "serif");
3038 pref("font.size.variable.x-guru", 16);
3039 pref("font.size.fixed.x-guru", 13);
3041 pref("font.default.x-khmr", "serif");
3042 pref("font.size.variable.x-khmr", 16);
3043 pref("font.size.fixed.x-khmr", 13);
3045 pref("font.default.x-mlym", "serif");
3046 pref("font.size.variable.x-mlym", 16);
3047 pref("font.size.fixed.x-mlym", 13);
3049 pref("font.default.x-orya", "serif");
3050 pref("font.size.variable.x-orya", 16);
3051 pref("font.size.fixed.x-orya", 13);
3053 pref("font.default.x-telu", "serif");
3054 pref("font.size.variable.x-telu", 16);
3055 pref("font.size.fixed.x-telu", 13);
3057 pref("font.default.x-knda", "serif");
3058 pref("font.size.variable.x-knda", 16);
3059 pref("font.size.fixed.x-knda", 13);
3061 pref("font.default.x-sinh", "serif");
3062 pref("font.size.variable.x-sinh", 16);
3063 pref("font.size.fixed.x-sinh", 13);
3065 pref("font.default.x-tibt", "serif");
3066 pref("font.size.variable.x-tibt", 16);
3067 pref("font.size.fixed.x-tibt", 13);
3069 /* PostScript print module prefs */
3070 // pref("print.postscript.enabled",      true);
3071 pref("print.postscript.paper_size",    "letter");
3072 pref("print.postscript.orientation",   "portrait");
3073 pref("print.postscript.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
3075 // On GTK2 platform, we should use topmost window level for the default window
3076 // level of <panel> element of XUL. GTK2 has only two window types. One is
3077 // normal top level window, other is popup window. The popup window is always
3078 // topmost window level, therefore, we are using normal top level window for
3079 // non-topmost panel, but it is pretty hacky. On some Window Managers, we have
3080 // 2 problems:
3081 // 1. The non-topmost panel steals focus from its parent window at showing.
3082 // 2. The parent of non-topmost panel is not activated when the panel is hidden.
3083 // So, we have no reasons we should use non-toplevel window for popup.
3084 pref("ui.panel.default_level_parent", true);
3086 pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
3088 # XP_UNIX
3089 #endif
3090 #endif
3091 #endif
3093 #if OS_ARCH==OpenVMS
3095 pref("mail.use_builtin_movemail", false);
3097 pref("helpers.global_mime_types_file", "/sys$manager/netscape/mime.types");
3098 pref("helpers.global_mailcap_file", "/sys$manager/netscape/mailcap");
3099 pref("helpers.private_mime_types_file", "/sys$login/.mime.types");
3100 pref("helpers.private_mailcaptypes_file", "/sys$login/.mailcap");
3102 pref("applications.telnet", "create /term /detach \"telnet %h %p\"");
3103 pref("applications.tn3270", "create /term /detach \"telnet /term=IBM-3278-5 %h %p\"");
3104 pref("applications.rlogin", "create /term /detach \"rlogin %h\"");
3105 pref("applications.rlogin_with_user", "create /term /detach \"rlogin %h -l %u\"");
3107 /* PostScript module specific (see unix.js for additional configuration details) */
3108 pref("print.postscript.print_command", "print /delete");
3109 /* Print module independent */
3110 pref("print.print_command", "print /delete");
3111 pref("print.print_color", false);
3113 pref("browser.cache.disk.capacity", 4096);
3114 pref("plugin.soname.list", "");
3116 # OpenVMS
3117 #endif
3119 #if OS_ARCH==AIX
3121 // Override default Japanese fonts
3122 pref("font.name.serif.ja", "dt-interface system-jisx0208.1983-0");
3123 pref("font.name.sans-serif.ja", "dt-interface system-jisx0208.1983-0");
3124 pref("font.name.monospace.ja", "dt-interface user-jisx0208.1983-0");
3126 // Override default Cyrillic fonts
3127 pref("font.name.serif.x-cyrillic", "dt-interface system-iso8859-5");
3128 pref("font.name.sans-serif.x-cyrillic", "dt-interface system-iso8859-5");
3129 pref("font.name.monospace.x-cyrillic", "dt-interface user-iso8859-5");
3131 // Override default Unicode fonts
3132 pref("font.name.serif.x-unicode", "dt-interface system-ucs2.cjk_japan-0");
3133 pref("font.name.sans-serif.x-unicode", "dt-interface system-ucs2.cjk_japan-0");
3134 pref("font.name.monospace.x-unicode", "dt-interface user-ucs2.cjk_japan-0");
3136 # AIX
3137 #endif
3139 #ifdef SOLARIS
3141 pref("print.postscript.print_command", "lp -c -s ${MOZ_PRINTER_NAME:+-d\"$MOZ_PRINTER_NAME\"}");
3142 pref("print.print_command", "lp -c -s ${MOZ_PRINTER_NAME:+-d\"$MOZ_PRINTER_NAME\"}");
3144 # Solaris
3145 #endif
3147 // Login Manager prefs
3148 pref("signon.rememberSignons",              true);
3149 pref("signon.SignonFileName",               "signons.txt"); // obsolete 
3150 pref("signon.SignonFileName2",              "signons2.txt"); // obsolete
3151 pref("signon.SignonFileName3",              "signons3.txt"); // obsolete
3152 pref("signon.autofillForms",                true);
3153 pref("signon.autologin.proxy",              false);
3154 pref("signon.debug",                        false);
3156 // Satchel (Form Manager) prefs
3157 pref("browser.formfill.debug",            false);
3158 pref("browser.formfill.enable",           true);
3159 pref("browser.formfill.expire_days",      180);
3160 pref("browser.formfill.saveHttpsForms",   true);
3161 pref("browser.formfill.agedWeight",       2);
3162 pref("browser.formfill.bucketSize",       1);
3163 pref("browser.formfill.maxTimeGroupings", 25);
3164 pref("browser.formfill.timeGroupingSize", 604800);
3165 pref("browser.formfill.boundaryWeight",   25);
3166 pref("browser.formfill.prefixWeight",     5);
3168 // Zoom prefs
3169 pref("browser.zoom.full", false);
3170 pref("zoom.minPercent", 30);
3171 pref("zoom.maxPercent", 300);
3172 pref("toolkit.zoomManager.zoomValues", ".3,.5,.67,.8,.9,1,1.1,1.2,1.33,1.5,1.7,2,2.4,3");
3174 // Image cache prefs
3175 // The maximum size, in bytes, of the decoded images we cache
3176 pref("image.cache.size", 5242880);
3177 // A weight, from 0-1000, to place on time when comparing to size.
3178 // Size is given a weight of 1000 - timeweight.
3179 pref("image.cache.timeweight", 500);
3181 // The default Accept header sent for images loaded over HTTP(S)
3182 pref("image.http.accept", "image/png,image/*;q=0.8,*/*;q=0.5");
3185 // Image memory management prefs
3188 // Discards inactive image frames and re-decodes them on demand from
3189 // compressed data.
3190 pref("image.mem.discardable", true);
3192 // Prevents images from automatically being decoded on load, instead allowing
3193 // them to be decoded on demand when they are drawn.
3194 pref("image.mem.decodeondraw", false);
3196 // Minimum timeout for image discarding (in milliseconds). The actual time in
3197 // which an image must inactive for it to be discarded will vary between this
3198 // value and twice this value.
3199 pref("image.mem.min_discard_timeout_ms", 10000);
3201 // Chunk size for calls to the image decoders
3202 pref("image.mem.decode_bytes_at_a_time", 200000);
3204 // The longest time we can spend in an iteration of an async decode
3205 pref("image.mem.max_ms_before_yield", 400);
3207 // The maximum source data size for which we auto sync decode
3208 pref("image.mem.max_bytes_for_sync_decode", 150000);
3210 // WebGL prefs
3211 pref("webgl.force-enabled", false);
3212 pref("webgl.disabled", false);
3213 pref("webgl.shader_validator", true);
3214 pref("webgl.force_osmesa", false);
3215 pref("webgl.osmesalib", "");
3216 pref("webgl.verbose", false);
3217 pref("webgl.prefer-native-gl", false);
3219 #ifdef XP_WIN
3220 #ifndef WINCE
3221 // The default TCP send window on Windows is too small, and autotuning only occurs on receive
3222 pref("network.tcp.sendbuffer", 131072);
3223 #endif
3224 #endif
3226 #ifdef WINCE
3227 pref("mozilla.widget.disable-native-theme", true);
3228 pref("gfx.color_management.mode", 0);
3229 #endif
3231 // Whether to disable acceleration for all widgets.
3232 pref("layers.acceleration.disabled", false);
3234 // Whether to force acceleration on, ignoring blacklists.
3235 pref("layers.acceleration.force-enabled", false);
3237 #ifdef XP_WIN
3238 #ifndef WINCE
3239 // Whether to disable the automatic detection and use of direct2d.
3240 pref("gfx.direct2d.disabled", false);
3241 // Whether to attempt to enable Direct2D regardless of automatic detection or
3242 // blacklisting
3243 pref("gfx.direct2d.force-enabled", false);
3245 pref("layers.prefer-opengl", false);
3246 pref("layers.prefer-d3d9", false);
3247 #endif
3248 #endif
3250 // Enable/Disable the geolocation API for content
3251 pref("geo.enabled", true);
3253 // Enable/Disable the orientation API for content
3254 pref("accelerometer.enabled", true);
3256 // Enable/Disable HTML5 parser
3257 pref("html5.enable", true);
3258 // Toggle which thread the HTML5 parser uses for stream parsing
3259 pref("html5.offmainthread", true);
3260 // Time in milliseconds between the time a network buffer is seen and the 
3261 // timer firing when the timer hasn't fired previously in this parse in the 
3262 // off-the-main-thread HTML5 parser.
3263 pref("html5.flushtimer.initialdelay", 120);
3264 // Time in milliseconds between the time a network buffer is seen and the 
3265 // timer firing when the timer has already fired previously in this parse.
3266 pref("html5.flushtimer.subsequentdelay", 120);
3268 // Push/Pop/Replace State prefs
3269 pref("browser.history.allowPushState", true);
3270 pref("browser.history.allowReplaceState", true);
3271 pref("browser.history.allowPopState", true);
3272 pref("browser.history.maxStateObjectSize", 655360);
3274 // XPInstall prefs
3275 pref("xpinstall.whitelist.required", true);
3276 pref("extensions.alwaysUnpack", false);
3278 pref("network.buffer.cache.count", 24);
3279 pref("network.buffer.cache.size",  32768);
3281 // Desktop Notification
3282 pref("notification.feature.enabled", false);