Merge tracemonkey to mozilla-central. (a=blockers)
[mozilla-central.git] / modules / libpref / src / init / all.js
blobf3b3f0343faed7eb209a6eeee5937109ceb633e2
1 /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* ***** BEGIN LICENSE BLOCK *****
3  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4  *
5  * The contents of this file are subject to the Mozilla Public License Version
6  * 1.1 (the "License"); you may not use this file except in compliance with
7  * the License. You may obtain a copy of the License at
8  * http://www.mozilla.org/MPL/
9  *
10  * Software distributed under the License is distributed on an "AS IS" basis,
11  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12  * for the specific language governing rights and limitations under the
13  * License.
14  *
15  * The Original Code is mozilla.org code.
16  *
17  * The Initial Developer of the Original Code is
18  * Netscape Communications Corporation.
19  * Portions created by the Initial Developer are Copyright (C) 1998
20  * the Initial Developer. All Rights Reserved.
21  *
22  * Contributor(s):
23  *   Benjamin Smedberg <bsmedberg@covad.net>
24  *
25  * Alternatively, the contents of this file may be used under the terms of
26  * either the GNU General Public License Version 2 or later (the "GPL"), or
27  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28  * in which case the provisions of the GPL or the LGPL are applicable instead
29  * of those above. If you wish to allow use of your version of this file only
30  * under the terms of either the GPL or the LGPL, and not to allow others to
31  * use your version of this file under the terms of the MPL, indicate your
32  * decision by deleting the provisions above and replace them with the notice
33  * and other provisions required by the GPL or the LGPL. If you do not delete
34  * the provisions above, a recipient may use your version of this file under
35  * the terms of any one of the MPL, the GPL or the LGPL.
36  *
37  * ***** END LICENSE BLOCK ***** */
39 /* The prefs in this file are shipped with the GRE and should apply to all
40  * embedding situations. Application-specific preferences belong somewhere else,
41  * for example xpfe/bootstrap/browser-prefs.js
42  *
43  * Platform-specific #ifdefs at the end of this file override the generic
44  * entries at the top.
45  */
47 // SYNTAX HINTS:  dashes are delimiters.  Use underscores instead.
48 //  The first character after a period must be alphabetic.
50 pref("keyword.URL", "http://www.google.com/search?ie=UTF-8&oe=utf-8&q=");
51 pref("keyword.enabled", false);
52 pref("general.useragent.locale", "chrome://global/locale/intl.properties");
53 pref("general.useragent.compatMode.firefox", false);
55 pref("general.config.obscure_value", 13); // for MCD .cfg files
57 pref("general.warnOnAboutConfig", true);
59 // maximum number of dated backups to keep at any time
60 pref("browser.bookmarks.max_backups",       5);
62 pref("browser.cache.disk.enable",           true);
63 // Is this the first-time smartsizing has been introduced?
64 pref("browser.cache.disk.smart_size.first_run", true);
65 // Does the user want smart-sizing?
66 pref("browser.cache.disk.smart_size.enabled", true);
67 // Size explicitly set by the user. Used when smart_size.enabled == false
68 #ifndef WINCE
69 pref("browser.cache.disk.capacity",         256000);
70 #else
71 pref("browser.cache.disk.capacity",         20000);
72 #endif
73 pref("browser.cache.memory.enable",         true);
74 //pref("browser.cache.memory.capacity",     -1);
75 // -1 = determine dynamically, 0 = none, n = memory capacity in kilobytes
76 pref("browser.cache.disk_cache_ssl",        true);
77 // 0 = once-per-session, 1 = each-time, 2 = never, 3 = when-appropriate/automatically
78 pref("browser.cache.check_doc_frequency",   3);
80 pref("browser.cache.offline.enable",           true);
81 #ifndef WINCE
82 // offline cache capacity in kilobytes
83 pref("browser.cache.offline.capacity",         512000);
85 // offline apps should be limited to this much data in global storage
86 // (in kilobytes)
87 pref("offline-apps.quota.max",        204800);
89 // the user should be warned if offline app disk usage exceeds this amount
90 // (in kilobytes)
91 pref("offline-apps.quota.warn",        51200);
92 #else
93 // Limited disk space on WinCE, tighten limits.
94 pref("browser.cache.offline.capacity", 15000);
95 pref("offline-apps.quota.max",          7000);
96 pref("offline-apps.quota.warn",         4000);
97 #endif
99 // Whether or not indexedDB is enabled.
100 pref("dom.indexedDB.enabled", true);
101 // Space to allow indexedDB databases before prompting (in MB).
102 pref("dom.indexedDB.warningQuota", 50);
104 // Fastback caching - if this pref is negative, then we calculate the number
105 // of content viewers to cache based on the amount of available memory.
106 pref("browser.sessionhistory.max_total_viewers", -1);
108 pref("browser.sessionhistory.optimize_eviction", false);
110 pref("ui.use_native_colors", true);
111 pref("ui.use_native_popup_windows", false);
112 pref("ui.click_hold_context_menus", false);
113 pref("browser.display.use_document_fonts",  1);  // 0 = never, 1 = quick, 2 = always
114 pref("browser.display.use_document_colors", true);
115 pref("browser.display.use_system_colors",   false);
116 pref("browser.display.foreground_color",    "#000000");
117 pref("browser.display.background_color",    "#FFFFFF");
118 pref("browser.display.force_inline_alttext", false); // true = force ALT text for missing images to be layed out inline
119 // 0 = no external leading, 
120 // 1 = use external leading only when font provides, 
121 // 2 = add extra leading both internal leading and external leading are zero
122 pref("browser.display.normal_lineheight_calc_control", 2);
123 pref("browser.display.show_image_placeholders", true); // true = show image placeholders while image is loaded and when image is broken
124 // min font device pixel size at which to turn on high quality
125 pref("browser.display.auto_quality_min_font_size", 20);
126 pref("browser.anchor_color",                "#0000EE");
127 pref("browser.active_color",                "#EE0000");
128 pref("browser.visited_color",               "#551A8B");
129 pref("browser.underline_anchors",           true);
130 pref("browser.blink_allowed",               true);
131 pref("browser.enable_automatic_image_resizing", false);
132 pref("browser.enable_click_image_resizing", true);
134 // See http://dev.w3.org/html5/spec/forms.html#attr-fe-autofocus
135 pref("browser.autofocus", true);
137 // See http://whatwg.org/specs/web-apps/current-work/#ping
138 pref("browser.send_pings", false);
139 pref("browser.send_pings.max_per_link", 1);           // limit the number of pings that are sent per link click
140 pref("browser.send_pings.require_same_host", false);  // only send pings to the same host if this is true
142 pref("browser.display.use_focus_colors",    false);
143 pref("browser.display.focus_background_color", "#117722");
144 pref("browser.display.focus_text_color",     "#ffffff");
145 pref("browser.display.focus_ring_width",     1);
146 pref("browser.display.focus_ring_on_anything", false);
147 // focus ring border style.
148 // 0 = solid border, 1 = dotted border
149 pref("browser.display.focus_ring_style", 1);
151 pref("browser.helperApps.alwaysAsk.force",  false);
152 pref("browser.helperApps.neverAsk.saveToDisk", "");
153 pref("browser.helperApps.neverAsk.openFile", "");
155 // xxxbsmedberg: where should prefs for the toolkit go?
156 pref("browser.chrome.toolbar_tips",         true);
157 // 0 = Pictures Only, 1 = Text Only, 2 = Pictures and Text
158 pref("browser.chrome.toolbar_style",        2);
159 // max image size for which it is placed in the tab icon for tabbrowser.
160 // if 0, no images are used for tab icons for image documents.
161 pref("browser.chrome.image_icons.max_size", 1024);
163 pref("browser.triple_click_selects_paragraph", true);
165 // When loading <video> or <audio>, check for Access-Control-Allow-Origin
166 // header, and disallow the connection if not present or permitted.
167 pref("media.enforce_same_site_origin", false);
169 // Media cache size in kilobytes
170 pref("media.cache_size", 512000);
172 #ifdef MOZ_RAW
173 pref("media.raw.enabled", true);
174 #endif
175 #ifdef MOZ_OGG
176 pref("media.ogg.enabled", true);
177 #endif
178 #ifdef MOZ_WAVE
179 pref("media.wave.enabled", true);
180 #endif
181 #ifdef MOZ_WEBM
182 pref("media.webm.enabled", true);
183 #endif
185 // Whether to autostart a media element with an |autoplay| attribute
186 pref("media.autoplay.enabled", true);
188 // 0 = Off, 1 = Full, 2 = Tagged Images Only. 
189 // See eCMSMode in gfx/thebes/gfxPlatform.h
190 pref("gfx.color_management.mode", 2);
191 pref("gfx.color_management.display_profile", "");
192 pref("gfx.color_management.rendering_intent", 0);
194 pref("gfx.downloadable_fonts.enabled", true);
195 pref("gfx.downloadable_fonts.fallback_delay", 3000);
196 pref("gfx.downloadable_fonts.sanitize", true);
197 #ifdef XP_MACOSX
198 pref("gfx.downloadable_fonts.sanitize.preserve_otl_tables", false);
199 #else
200 pref("gfx.downloadable_fonts.sanitize.preserve_otl_tables", true);
201 #endif
203 pref("gfx.font_rendering.harfbuzz.level", 2);
205 #ifdef XP_WIN
206 #ifndef WINCE
207 pref("gfx.font_rendering.directwrite.enabled", false);
208 pref("gfx.font_rendering.directwrite.use_gdi_table_loading", true);
209 #endif
210 #endif
212 pref("accessibility.browsewithcaret", false);
213 pref("accessibility.warn_on_browsewithcaret", true);
215 pref("accessibility.browsewithcaret_shortcut.enabled", true);
217 #ifndef XP_MACOSX
218 // Tab focus model bit field:
219 // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
220 // Most users will want 1, 3, or 7.
221 // On OS X, we use Full Keyboard Access system preference,
222 // unless accessibility.tabfocus is set by the user.
223 pref("accessibility.tabfocus", 7);
224 pref("accessibility.tabfocus_applies_to_xul", false);
226 // Forcibly disable a11y on win32, even if something attempts
227 // to enable it.
228 pref("accessibility.win32.force_disabled", false);
230 // On OS X, we follow the "Click in the scrollbar to:" system preference
231 // unless this preference was set manually
232 pref("ui.scrollToClick", 0);
234 #else
235 // Only on mac tabfocus is expected to handle UI widgets as well as web content
236 pref("accessibility.tabfocus_applies_to_xul", true);
237 #endif
239 pref("accessibility.usetexttospeech", "");
240 pref("accessibility.usebrailledisplay", "");
241 pref("accessibility.accesskeycausesactivation", true);
242 pref("accessibility.mouse_focuses_formcontrol", false);
244 // Type Ahead Find
245 pref("accessibility.typeaheadfind", true);
246 pref("accessibility.typeaheadfind.autostart", true);
247 // casesensitive: controls the find bar's case-sensitivity
248 //     0 - "never"  (case-insensitive)
249 //     1 - "always" (case-sensitive)
250 // other - "auto"   (case-sensitive for mixed-case input, insensitive otherwise)
251 pref("accessibility.typeaheadfind.casesensitive", 0);
252 pref("accessibility.typeaheadfind.linksonly", true);
253 pref("accessibility.typeaheadfind.startlinksonly", false);
254 pref("accessibility.typeaheadfind.timeout", 4000);
255 pref("accessibility.typeaheadfind.enabletimeout", true);
256 pref("accessibility.typeaheadfind.soundURL", "beep");
257 pref("accessibility.typeaheadfind.enablesound", true);
258 pref("accessibility.typeaheadfind.prefillwithselection", true);
260 // use Mac OS X Appearance panel text smoothing setting when rendering text, disabled by default
261 pref("gfx.use_text_smoothing_setting", false);
263 // loading and rendering of framesets and iframes
264 pref("browser.frames.enabled", true);
266 // Number of characters to consider emphasizing for rich autocomplete results
267 pref("toolkit.autocomplete.richBoundaryCutoff", 200);
269 pref("toolkit.scrollbox.smoothScroll", true);
270 pref("toolkit.scrollbox.scrollIncrement", 20);
271 pref("toolkit.scrollbox.clickToScroll.scrollDelay", 150);
273 // view source
274 pref("view_source.syntax_highlight", true);
275 pref("view_source.wrap_long_lines", false);
276 pref("view_source.editor.external", false);
277 pref("view_source.editor.path", "");
278 // allows to add further arguments to the editor; use the %LINE% placeholder
279 // for jumping to a specific line (e.g. "/line:%LINE%" or "--goto %LINE%")
280 pref("view_source.editor.args", "");
282 // dispatch left clicks only to content in browser (still allows clicks to chrome/xul)
283 pref("nglayout.events.dispatchLeftClickOnly", true);
285 // whether or not to draw images while dragging
286 pref("nglayout.enable_drag_images", true);
288 // scrollbar snapping region
289 // 0 - off
290 // 1 and higher - slider thickness multiple
291 pref("slider.snapMultiplier", 0);
293 // option to choose plug-in finder
294 pref("application.use_ns_plugin_finder", false);
296 // URI fixup prefs
297 pref("browser.fixup.alternate.enabled", true);
298 pref("browser.fixup.alternate.prefix", "www.");
299 pref("browser.fixup.alternate.suffix", ".com");
300 pref("browser.fixup.hide_user_pass", true);
302 // Location Bar AutoComplete
303 pref("browser.urlbar.autocomplete.enabled", true);
305 // Print header customization
306 // Use the following codes:
307 // &T - Title
308 // &U - Document URL
309 // &D - Date/Time
310 // &P - Page Number
311 // &PT - Page Number "of" Page total
312 // Set each header to a string containing zero or one of these codes
313 // and the code will be replaced in that string by the corresponding data
314 pref("print.print_headerleft", "&T");
315 pref("print.print_headercenter", "");
316 pref("print.print_headerright", "&U");
317 pref("print.print_footerleft", "&PT");
318 pref("print.print_footercenter", "");
319 pref("print.print_footerright", "&D");
320 pref("print.show_print_progress", true);
322 // xxxbsmedberg: more toolkit prefs
324 // When this is set to false each window has its own PrintSettings
325 // and a change in one window does not affect the others
326 pref("print.use_global_printsettings", true);
328 // Save the Printings after each print job
329 pref("print.save_print_settings", true);
331 pref("print.whileInPrintPreview", true);
333 // Cache old Presentation when going into Print Preview
334 pref("print.always_cache_old_pres", false);
336 // Enables you to specify the amount of the paper that is to be treated
337 // as unwriteable.  The print_edge_XXX and print_margin_XXX preferences
338 // are treated as offsets that are added to this pref.
339 // Default is "-1", which means "use the system default".  (If there is
340 // no system default, then the -1 is treated as if it were 0.)
341 // This is used by both Printing and Print Preview.
342 // Units are in 1/100ths of an inch.
343 pref("print.print_unwriteable_margin_top",    -1);
344 pref("print.print_unwriteable_margin_left",   -1);
345 pref("print.print_unwriteable_margin_right",  -1);
346 pref("print.print_unwriteable_margin_bottom", -1);
348 // Enables you to specify the gap from the edge of the paper's 
349 // unwriteable area to the margin.
350 // This is used by both Printing and Print Preview
351 // Units are in 1/100ths of an inch.
352 pref("print.print_edge_top", 0);
353 pref("print.print_edge_left", 0);
354 pref("print.print_edge_right", 0);
355 pref("print.print_edge_bottom", 0);
357 // Pref used by the spellchecker extension to control the 
358 // maximum number of misspelled words that will be underlined
359 // in a document.
360 pref("extensions.spellcheck.inline.max-misspellings", 500);
362 // Prefs used by libeditor. Prefs specific to seamonkey composer
363 // belong in comm-central/editor/ui/composer.js
365 pref("editor.use_custom_colors", false);
366 pref("editor.singleLine.pasteNewlines",      2);
367 pref("editor.quotesPreformatted",            false);
368 pref("editor.use_css",                       true);
369 pref("editor.css.default_length_unit",       "px");
370 pref("editor.resizing.preserve_ratio",       true);
371 pref("editor.positioning.offset",            0);
374 // Default Capability Preferences: Security-Critical! 
375 // Editing these may create a security risk - be sure you know what you're doing
376 //pref("capability.policy.default.barprop.visible.set", "UniversalBrowserWrite");
378 pref("capability.policy.default_policynames", "mailnews");
380 pref("capability.policy.default.DOMException.code", "allAccess");
381 pref("capability.policy.default.DOMException.message", "allAccess");
382 pref("capability.policy.default.DOMException.name", "allAccess");
383 pref("capability.policy.default.DOMException.result", "allAccess");
384 pref("capability.policy.default.DOMException.toString.get", "allAccess");
386 pref("capability.policy.default.History.back.get", "allAccess");
387 pref("capability.policy.default.History.current", "UniversalBrowserRead");
388 pref("capability.policy.default.History.forward.get", "allAccess");
389 pref("capability.policy.default.History.go.get", "allAccess");
390 pref("capability.policy.default.History.item", "UniversalBrowserRead");
391 pref("capability.policy.default.History.next", "UniversalBrowserRead");
392 pref("capability.policy.default.History.previous", "UniversalBrowserRead");
393 pref("capability.policy.default.History.toString", "UniversalBrowserRead");
395 pref("capability.policy.default.Location.hash.set", "allAccess");
396 pref("capability.policy.default.Location.href.set", "allAccess");
397 pref("capability.policy.default.Location.replace.get", "allAccess");
399 pref("capability.policy.default.Navigator.preference", "allAccess");
400 pref("capability.policy.default.Navigator.preferenceinternal.get", "UniversalPreferencesRead");
401 pref("capability.policy.default.Navigator.preferenceinternal.set", "UniversalPreferencesWrite");
403 pref("capability.policy.default.Window.blur.get", "allAccess");
404 pref("capability.policy.default.Window.close.get", "allAccess");
405 pref("capability.policy.default.Window.closed.get", "allAccess");
406 pref("capability.policy.default.Window.focus.get", "allAccess");
407 pref("capability.policy.default.Window.frames.get", "allAccess");
408 pref("capability.policy.default.Window.history.get", "allAccess");
409 pref("capability.policy.default.Window.length.get", "allAccess");
410 pref("capability.policy.default.Window.location", "allAccess");
411 pref("capability.policy.default.Window.opener.get", "allAccess");
412 pref("capability.policy.default.Window.parent.get", "allAccess");
413 pref("capability.policy.default.Window.postMessage.get", "allAccess");
414 pref("capability.policy.default.Window.self.get", "allAccess");
415 pref("capability.policy.default.Window.top.get", "allAccess");
416 pref("capability.policy.default.Window.window.get", "allAccess");
418 pref("capability.policy.default.Selection.addSelectionListener", "UniversalXPConnect");
419 pref("capability.policy.default.Selection.removeSelectionListener", "UniversalXPConnect");
421 // Restrictions on the DOM for mail/news - see bugs 66938 and 84545
422 pref("capability.policy.mailnews.sites", "mailbox: imap: news:");
424 pref("capability.policy.mailnews.*.attributes.get", "noAccess");
425 pref("capability.policy.mailnews.*.baseURI.get", "noAccess");
426 pref("capability.policy.mailnews.*.data.get", "noAccess");
427 pref("capability.policy.mailnews.*.getAttribute", "noAccess");
428 pref("capability.policy.mailnews.HTMLDivElement.getAttribute", "sameOrigin");
429 pref("capability.policy.mailnews.*.getAttributeNS", "noAccess");
430 pref("capability.policy.mailnews.*.getAttributeNode", "noAccess");
431 pref("capability.policy.mailnews.*.getAttributeNodeNS", "noAccess");
432 pref("capability.policy.mailnews.*.getNamedItem", "noAccess");
433 pref("capability.policy.mailnews.*.getNamedItemNS", "noAccess");
434 pref("capability.policy.mailnews.*.host.get", "noAccess");
435 pref("capability.policy.mailnews.*.hostname.get", "noAccess");
436 pref("capability.policy.mailnews.*.href.get", "noAccess");
437 pref("capability.policy.mailnews.*.innerHTML.get", "noAccess");
438 pref("capability.policy.mailnews.*.lowSrc.get", "noAccess");
439 pref("capability.policy.mailnews.*.nodeValue.get", "noAccess");
440 pref("capability.policy.mailnews.*.pathname.get", "noAccess");
441 pref("capability.policy.mailnews.*.protocol.get", "noAccess");
442 pref("capability.policy.mailnews.*.src.get", "noAccess");
443 pref("capability.policy.mailnews.*.substringData.get", "noAccess");
444 pref("capability.policy.mailnews.*.text.get", "noAccess");
445 pref("capability.policy.mailnews.*.textContent", "noAccess");
446 pref("capability.policy.mailnews.*.title.get", "noAccess");
447 pref("capability.policy.mailnews.*.wholeText", "noAccess");
448 pref("capability.policy.mailnews.DOMException.toString", "noAccess");
449 pref("capability.policy.mailnews.HTMLAnchorElement.toString", "noAccess");
450 pref("capability.policy.mailnews.HTMLDocument.domain", "noAccess");
451 pref("capability.policy.mailnews.HTMLDocument.URL", "noAccess");
452 pref("capability.policy.mailnews.*.documentURI", "noAccess");
453 pref("capability.policy.mailnews.Location.toString", "noAccess");
454 pref("capability.policy.mailnews.Range.toString", "noAccess");
455 pref("capability.policy.mailnews.Window.blur", "noAccess");
456 pref("capability.policy.mailnews.Window.focus", "noAccess");
457 pref("capability.policy.mailnews.Window.innerWidth.set", "noAccess");
458 pref("capability.policy.mailnews.Window.innerHeight.set", "noAccess");
459 pref("capability.policy.mailnews.Window.moveBy", "noAccess");
460 pref("capability.policy.mailnews.Window.moveTo", "noAccess");
461 pref("capability.policy.mailnews.Window.name.set", "noAccess");
462 pref("capability.policy.mailnews.Window.outerHeight.set", "noAccess");
463 pref("capability.policy.mailnews.Window.outerWidth.set", "noAccess");
464 pref("capability.policy.mailnews.Window.resizeBy", "noAccess");
465 pref("capability.policy.mailnews.Window.resizeTo", "noAccess");
466 pref("capability.policy.mailnews.Window.screenX.set", "noAccess");
467 pref("capability.policy.mailnews.Window.screenY.set", "noAccess");
468 pref("capability.policy.mailnews.Window.sizeToContent", "noAccess");
469 pref("capability.policy.mailnews.document.load", "noAccess");
470 pref("capability.policy.mailnews.XMLHttpRequest.channel", "noAccess");
471 pref("capability.policy.mailnews.XMLHttpRequest.getInterface", "noAccess");
472 pref("capability.policy.mailnews.XMLHttpRequest.responseXML", "noAccess");
473 pref("capability.policy.mailnews.XMLHttpRequest.responseText", "noAccess");
474 pref("capability.policy.mailnews.XMLHttpRequest.status", "noAccess");
475 pref("capability.policy.mailnews.XMLHttpRequest.statusText", "noAccess");
476 pref("capability.policy.mailnews.XMLHttpRequest.abort", "noAccess");
477 pref("capability.policy.mailnews.XMLHttpRequest.getAllResponseHeaders", "noAccess");
478 pref("capability.policy.mailnews.XMLHttpRequest.getResponseHeader", "noAccess");
479 pref("capability.policy.mailnews.XMLHttpRequest.open", "noAccess");
480 pref("capability.policy.mailnews.XMLHttpRequest.send", "noAccess");
481 pref("capability.policy.mailnews.XMLHttpRequest.setRequestHeader", "noAccess");
482 pref("capability.policy.mailnews.XMLHttpRequest.readyState", "noAccess");
483 pref("capability.policy.mailnews.XMLHttpRequest.overrideMimeType", "noAccess");
484 pref("capability.policy.mailnews.XMLHttpRequest.onload", "noAccess");
485 pref("capability.policy.mailnews.XMLHttpRequest.onerror", "noAccess");
486 pref("capability.policy.mailnews.XMLHttpRequest.onreadystatechange", "noAccess");
487 pref("capability.policy.mailnews.XMLSerializer.serializeToString", "noAccess");
488 pref("capability.policy.mailnews.XMLSerializer.serializeToStream", "noAccess");
489 pref("capability.policy.mailnews.DOMParser.parseFromString", "noAccess");
490 pref("capability.policy.mailnews.DOMParser.parseFromStream", "noAccess");
491 pref("capability.policy.mailnews.SOAPCall.transportURI", "noAccess");
492 pref("capability.policy.mailnews.SOAPCall.verifySourceHeader", "noAccess");
493 pref("capability.policy.mailnews.SOAPCall.invoke", "noAccess");
494 pref("capability.policy.mailnews.SOAPCall.asyncInvoke", "noAccess");
495 pref("capability.policy.mailnews.SOAPResponse.fault", "noAccess");
496 pref("capability.policy.mailnews.SOAPEncoding.styleURI", "noAccess");
497 pref("capability.policy.mailnews.SOAPEncoding.getAssociatedEncoding", "noAccess");
498 pref("capability.policy.mailnews.SOAPEncoding.setEncoder", "noAccess");
499 pref("capability.policy.mailnews.SOAPEncoding.getEncoder", "noAccess");
500 pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
501 pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
502 pref("capability.policy.mailnews.SOAPEncoding.getDecoder", "noAccess");
503 pref("capability.policy.mailnews.SOAPEncoding.defaultEncoder", "noAccess");
504 pref("capability.policy.mailnews.SOAPEncoding.defaultDecoder", "noAccess");
505 pref("capability.policy.mailnews.SOAPEncoding.schemaCollection", "noAccess");
506 pref("capability.policy.mailnews.SOAPEncoding.encode", "noAccess");
507 pref("capability.policy.mailnews.SOAPEncoding.decode", "noAccess");
508 pref("capability.policy.mailnews.SOAPEncoding.mapSchemaURI", "noAccess");
509 pref("capability.policy.mailnews.SOAPEncoding.unmapSchemaURI", "noAccess");
510 pref("capability.policy.mailnews.SOAPEncoding.getInternalSchemaURI", "noAccess");
511 pref("capability.policy.mailnews.SOAPEncoding.getExternalSchemaURI", "noAccess");
512 pref("capability.policy.mailnews.SOAPFault.element", "noAccess");
513 pref("capability.policy.mailnews.SOAPFault.faultNamespaceURI", "noAccess");
514 pref("capability.policy.mailnews.SOAPFault.faultCode", "noAccess");
515 pref("capability.policy.mailnews.SOAPFault.faultString", "noAccess");
516 pref("capability.policy.mailnews.SOAPFault.faultActor", "noAccess");
517 pref("capability.policy.mailnews.SOAPFault.detail", "noAccess");
518 pref("capability.policy.mailnews.SOAPHeaderBlock.actorURI", "noAccess");
519 pref("capability.policy.mailnews.SOAPHeaderBlock.mustUnderstand", "noAccess");
520 pref("capability.policy.mailnews.SOAPParameter", "noAccess");
521 pref("capability.policy.mailnews.SOAPPropertyBagMutator.propertyBag", "noAccess");
522 pref("capability.policy.mailnews.SOAPPropertyBagMutator.addProperty", "noAccess");
523 pref("capability.policy.mailnews.SchemaLoader.load", "noAccess");
524 pref("capability.policy.mailnews.SchemaLoader.loadAsync", "noAccess");
525 pref("capability.policy.mailnews.SchemaLoader.processSchemaElement", "noAccess");
526 pref("capability.policy.mailnews.SchemaLoader.onLoad", "noAccess");
527 pref("capability.policy.mailnews.SchemaLoader.onError", "noAccess");
528 pref("capability.policy.mailnews.WSDLLoader.load", "noAccess");
529 pref("capability.policy.mailnews.WSDLLoader.loadAsync", "noAccess");
530 pref("capability.policy.mailnews.WSDLLoader.onLoad", "noAccess");
531 pref("capability.policy.mailnews.WSDLLoader.onError", "noAccess");
532 pref("capability.policy.mailnews.WebServiceProxyFactory.createProxy", "noAccess");
533 pref("capability.policy.mailnews.WebServiceProxyFactory.createProxyAsync", "noAccess");
534 pref("capability.policy.mailnews.WebServiceProxyFactory.onLoad", "noAccess");
535 pref("capability.policy.mailnews.WebServiceProxyFactory.onError", "noAccess");
537 // XMLExtras
538 pref("capability.policy.default.XMLHttpRequest.channel", "noAccess");
539 pref("capability.policy.default.XMLHttpRequest.getInterface", "noAccess");
540 pref("capability.policy.default.XMLHttpRequest.open-uri", "allAccess");
541 pref("capability.policy.default.DOMParser.parseFromStream", "noAccess");
543 // Clipboard
544 pref("capability.policy.default.Clipboard.cutcopy", "noAccess");
545 pref("capability.policy.default.Clipboard.paste", "noAccess");
547 // Scripts & Windows prefs
548 pref("dom.disable_image_src_set",           false);
549 pref("dom.disable_window_flip",             false);
550 pref("dom.disable_window_move_resize",      false);
551 pref("dom.disable_window_status_change",    false);
553 pref("dom.disable_window_open_feature.titlebar",    false);
554 pref("dom.disable_window_open_feature.close",       false);
555 pref("dom.disable_window_open_feature.toolbar",     false);
556 pref("dom.disable_window_open_feature.location",    false);
557 pref("dom.disable_window_open_feature.personalbar", false);
558 pref("dom.disable_window_open_feature.menubar",     false);
559 pref("dom.disable_window_open_feature.scrollbars",  false);
560 pref("dom.disable_window_open_feature.resizable",   true);
561 pref("dom.disable_window_open_feature.minimizable", false);
562 pref("dom.disable_window_open_feature.status",      true);
564 pref("dom.allow_scripts_to_close_windows",          false);
566 pref("dom.disable_open_during_load",                false);
567 pref("dom.popup_maximum",                           20);
568 pref("dom.popup_allowed_events", "change click dblclick mouseup reset submit");
569 pref("dom.disable_open_click_delay", 1000);
571 pref("dom.storage.enabled", true);
572 pref("dom.storage.default_quota",      5120);
574 pref("dom.send_after_paint_to_content", false);
576 // Timeout clamp in ms for timeouts we clamp
577 pref("dom.min_timeout_value", 10);
579 // Parsing perf prefs. For now just mimic what the old code did.
580 #ifndef XP_WIN
581 pref("content.sink.pending_event_mode", 0);
582 #endif
584 // Disable popups from plugins by default
585 //   0 = openAllowed
586 //   1 = openControlled
587 //   2 = openAbused
588 pref("privacy.popups.disable_from_plugins", 2);
590 // "do not track" HTTP header, disabled by default
591 pref("privacy.donottrackheader.enabled",    false);
593 pref("dom.event.contextmenu.enabled",       true);
595 pref("javascript.enabled",                  true);
596 pref("javascript.options.strict",           false);
597 #ifdef DEBUG
598 pref("javascript.options.strict.debug",     true);
599 #endif
600 pref("javascript.options.relimit",          true);
601 pref("javascript.options.tracejit.content",  true);
602 pref("javascript.options.tracejit.chrome",   true);
603 pref("javascript.options.methodjit.content", true);
604 pref("javascript.options.methodjit.chrome",  false);
605 pref("javascript.options.jitprofiling.content", true);
606 pref("javascript.options.jitprofiling.chrome",  false);
607 pref("javascript.options.methodjit_always", false);
608 // This preference limits the memory usage of javascript.
609 // If you want to change these values for your device,
610 // please find Bug 417052 comment 17 and Bug 456721
611 // Comment 32 and Bug 613551.
612 pref("javascript.options.mem.high_water_mark", 128);
613 pref("javascript.options.mem.max", -1);
614 pref("javascript.options.mem.gc_frequency",   300);
615 pref("javascript.options.mem.gc_per_compartment", true);
617 // advanced prefs
618 pref("advanced.mailftp",                    false);
619 pref("image.animation_mode",                "normal");
621 // Same-origin policy for file URIs, "false" is traditional
622 pref("security.fileuri.strict_origin_policy", true);
624 // If there is ever a security firedrill that requires
625 // us to block certian ports global, this is the pref 
626 // to use.  Is is a comma delimited list of port numbers
627 // for example:
628 //   pref("network.security.ports.banned", "1,2,3,4,5");
629 // prevents necko connecting to ports 1-5 unless the protocol
630 // overrides.
632 // Default action for unlisted external protocol handlers
633 pref("network.protocol-handler.external-default", true);      // OK to load
634 pref("network.protocol-handler.warn-external-default", true); // warn before load
636 // Prevent using external protocol handlers for these schemes
637 pref("network.protocol-handler.external.hcp", false);
638 pref("network.protocol-handler.external.vbscript", false);
639 pref("network.protocol-handler.external.javascript", false);
640 pref("network.protocol-handler.external.data", false);
641 pref("network.protocol-handler.external.ms-help", false);
642 pref("network.protocol-handler.external.shell", false);
643 pref("network.protocol-handler.external.vnd.ms.radio", false);
644 #ifdef XP_MACOSX
645 pref("network.protocol-handler.external.help", false);
646 #endif
647 pref("network.protocol-handler.external.disk", false);
648 pref("network.protocol-handler.external.disks", false);
649 pref("network.protocol-handler.external.afp", false);
650 pref("network.protocol-handler.external.moz-icon", false);
652 // An exposed protocol handler is one that can be used in all contexts.  A
653 // non-exposed protocol handler is one that can only be used internally by the
654 // application.  For example, a non-exposed protocol would not be loaded by the
655 // application in response to a link click or a X-remote openURL command.
656 // Instead, it would be deferred to the system's external protocol handler.
657 // Only internal/built-in protocol handlers can be marked as exposed.
659 // This pref controls the default settings.  Per protocol settings can be used
660 // to override this value.
661 pref("network.protocol-handler.expose-all", true);
663 // Example: make IMAP an exposed protocol
664 // pref("network.protocol-handler.expose.imap", true);
666 // <http>
667 pref("network.http.version", "1.1");      // default
668 // pref("network.http.version", "1.0");   // uncomment this out in case of problems
669 // pref("network.http.version", "0.9");   // it'll work too if you're crazy
670 // keep-alive option is effectively obsolete. Nevertheless it'll work with
671 // some older 1.0 servers:
673 pref("network.http.proxy.version", "1.1");    // default
674 // pref("network.http.proxy.version", "1.0"); // uncomment this out in case of problems
675                                               // (required if using junkbuster proxy)
677 // enable caching of http documents
678 pref("network.http.use-cache", true);
680 // this preference can be set to override the socket type used for normal
681 // HTTP traffic.  an empty value indicates the normal TCP/IP socket type.
682 pref("network.http.default-socket-type", "");
684 pref("network.http.keep-alive", true); // set it to false in case of problems
685 pref("network.http.proxy.keep-alive", true);
686 // There is a problem with some IIS7 servers that don't close the connection
687 // properly after it times out (bug #491541). Default timeout on IIS7 is
688 // 120 seconds. We need to reuse or drop the connection within this time.
689 // We set the timeout a little shorter to keep a reserve for cases when
690 // the packet is lost or delayed on the route.
691 pref("network.http.keep-alive.timeout", 115);
693 // limit the absolute number of http connections.
694 pref("network.http.max-connections", 30);
696 // limit the absolute number of http connections that can be established per
697 // host.  if a http proxy server is enabled, then the "server" is the proxy
698 // server.  Otherwise, "server" is the http origin server.
699 pref("network.http.max-connections-per-server", 15);
701 // if network.http.keep-alive is true, and if NOT connecting via a proxy, then
702 // a new connection will only be attempted if the number of active persistent
703 // connections to the server is less then max-persistent-connections-per-server.
704 pref("network.http.max-persistent-connections-per-server", 6);
706 // if network.http.keep-alive is true, and if connecting via a proxy, then a
707 // new connection will only be attempted if the number of active persistent
708 // connections to the proxy is less then max-persistent-connections-per-proxy.
709 pref("network.http.max-persistent-connections-per-proxy", 8);
711 // amount of time (in seconds) to suspend pending requests, before spawning a
712 // new connection, once the limit on the number of persistent connections per
713 // host has been reached.  however, a new connection will not be created if
714 // max-connections or max-connections-per-server has also been reached.
715 pref("network.http.request.max-start-delay", 10);
717 // Headers
718 pref("network.http.accept.default", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
719 pref("network.http.sendRefererHeader",      2); // 0=don't send any, 1=send only on clicks, 2=send on image requests as well
721 // Controls whether we send HTTPS referres to other HTTPS sites.
722 // By default this is enabled for compatibility (see bug 141641)
723 pref("network.http.sendSecureXSiteReferrer", true);
725 // Maximum number of consecutive redirects before aborting.
726 pref("network.http.redirection-limit", 20);
728 // Enable http compression: comment this out in case of problems with 1.1
729 // NOTE: support for "compress" has been disabled per bug 196406.
730 // NOTE: separate values with comma+space (", "): see bug 576033
731 pref("network.http.accept-encoding", "gzip, deflate");
733 pref("network.http.pipelining"      , false);
734 pref("network.http.pipelining.ssl"  , false); // disable pipelining over SSL
735 pref("network.http.proxy.pipelining", false);
737 // Max number of requests in the pipeline
738 pref("network.http.pipelining.maxrequests" , 4);
740 // Prompt for 307 redirects
741 pref("network.http.prompt-temp-redirect", true);
743 // On networks deploying QoS, it is recommended that these be lockpref()'d,
744 // since inappropriate marking can easily overwhelm bandwidth reservations
745 // for certain services (i.e. EF for VoIP, AF4x for interactive video,
746 // AF3x for broadcast/streaming video, etc)
748 // default value for HTTP
749 // in a DSCP environment this should be 40 (0x28, or AF11), per RFC-4594,
750 // Section 4.8 "High-Throughput Data Service Class"
751 pref("network.http.qos", 0);
753 // default values for FTP
754 // in a DSCP environment this should be 40 (0x28, or AF11), per RFC-4594,
755 // Section 4.8 "High-Throughput Data Service Class", and 80 (0x50, or AF22)
756 // per Section 4.7 "Low-Latency Data Service Class".
757 pref("network.ftp.data.qos", 0);
758 pref("network.ftp.control.qos", 0);
760 // </http>
762 // <ws>: WebSocket
763 // The -76 websocket network protocol may be subject to HTTP cache poisoning
764 // attacks. Until there is a secure open standard available and implemented
765 // in necko the override-security-block preference must be set to true before
766 // the normal enabled preference is considered. Bug 616733
767 pref("network.websocket.override-security-block", false);
768 pref("network.websocket.enabled", true);
769 // </ws>
771 // If false, remote JAR files that are served with a content type other than
772 // application/java-archive or application/x-jar will not be opened
773 // by the jar channel.
774 pref("network.jar.open-unsafe-types", false);
776 // This preference controls whether or not internationalized domain names (IDN)
777 // are handled.  IDN requires a nsIIDNService implementation.
778 pref("network.enableIDN", true);
780 // This preference, if true, causes all UTF-8 domain names to be normalized to
781 // punycode.  The intention is to allow UTF-8 domain names as input, but never
782 // generate them from punycode.
783 pref("network.IDN_show_punycode", false);
785 // TLDs with "network.IDN.whitelist.tld" explicitly set to true are treated as 
786 // IDN-safe. Otherwise, they're treated as unsafe and punycode will be used
787 // for displaying them in the UI (e.g. URL bar). Note that these preferences
788 // are referred to ONLY when "network.IDN_show_punycode" is false. In other
789 // words, all IDNs will be shown in punycode if "network.IDN_show_punycode"
790 // is true.
792 // ccTLDs
793 pref("network.IDN.whitelist.ac", true);
794 pref("network.IDN.whitelist.ar", true);
795 pref("network.IDN.whitelist.at", true);
796 pref("network.IDN.whitelist.br", true);
797 pref("network.IDN.whitelist.ch", true);
798 pref("network.IDN.whitelist.cl", true);
799 pref("network.IDN.whitelist.cn", true);
800 pref("network.IDN.whitelist.de", true);
801 pref("network.IDN.whitelist.dk", true);
802 pref("network.IDN.whitelist.es", true);
803 pref("network.IDN.whitelist.fi", true);
804 pref("network.IDN.whitelist.gr", true);
805 pref("network.IDN.whitelist.hu", true);
806 pref("network.IDN.whitelist.il", true);
807 pref("network.IDN.whitelist.io", true);
808 pref("network.IDN.whitelist.ir", true);
809 pref("network.IDN.whitelist.is", true);
810 pref("network.IDN.whitelist.jp", true);
811 pref("network.IDN.whitelist.kr", true);
812 pref("network.IDN.whitelist.li", true);
813 pref("network.IDN.whitelist.lt", true);
814 pref("network.IDN.whitelist.lu", true);
815 pref("network.IDN.whitelist.no", true);
816 pref("network.IDN.whitelist.nu", true);
817 pref("network.IDN.whitelist.nz", true);
818 pref("network.IDN.whitelist.pl", true);
819 pref("network.IDN.whitelist.pr", true);
820 pref("network.IDN.whitelist.se", true);
821 pref("network.IDN.whitelist.sh", true);
822 pref("network.IDN.whitelist.th", true);
823 pref("network.IDN.whitelist.tm", true);
824 pref("network.IDN.whitelist.tw", true);
825 pref("network.IDN.whitelist.vn", true);
827 // IDN ccTLDs
828 // ae, UAE, .<Emarat>
829 pref("network.IDN.whitelist.xn--mgbaam7a8h", true); 
830 // cn, China, .<China> with variants
831 pref("network.IDN.whitelist.xn--fiqz9s", true); // Traditional
832 pref("network.IDN.whitelist.xn--fiqs8s", true); // Simplified
833 // hk, Hong Kong, .<Hong Kong>
834 pref("network.IDN.whitelist.xn--j6w193g", true);
835 // ir, Iran, <.Iran> with variants
836 pref("network.IDN.whitelist.xn--mgba3a4f16a", true);
837 pref("network.IDN.whitelist.xn--mgba3a4fra", true);
838 // jo, Jordan, .<Al-Ordon>
839 pref("network.IDN.whitelist.xn--mgbayh7gpa", true);
840 // qa, Qatar, .<Qatar>
841 pref("network.IDN.whitelist.xn--wgbl6a", true);
842 // ru, Russian Federation, .<RF>
843 pref("network.IDN.whitelist.xn--p1ai", true);
844 // sa, Saudi Arabia, .<al-Saudiah> with variants
845 pref("network.IDN.whitelist.xn--mgberp4a5d4ar", true); 
846 pref("network.IDN.whitelist.xn--mgberp4a5d4a87g", true);
847 pref("network.IDN.whitelist.xn--mgbqly7c0a67fbc", true);
848 pref("network.IDN.whitelist.xn--mgbqly7cvafr", true);
849 // tw, Taiwan, <.Taiwan> with variants
850 pref("network.IDN.whitelist.xn--kpry57d", true);  // Traditional
851 pref("network.IDN.whitelist.xn--kprw13d", true);  // Simplified
853 // gTLDs
854 pref("network.IDN.whitelist.biz", true);
855 pref("network.IDN.whitelist.cat", true);
856 pref("network.IDN.whitelist.info", true);
857 pref("network.IDN.whitelist.museum", true);
858 pref("network.IDN.whitelist.org", true);
859 pref("network.IDN.whitelist.tel", true);
861 // NOTE: Before these can be removed, one of bug 414812's tests must be updated
862 //       or it will likely fail!  Please CC jwalden+bmo on the bug associated
863 //       with removing these so he can provide a patch to make the necessary
864 //       changes to avoid bustage.
865 // ".test" localised TLDs for ICANN's top-level IDN trial
866 pref("network.IDN.whitelist.xn--0zwm56d", true);
867 pref("network.IDN.whitelist.xn--11b5bs3a9aj6g", true);
868 pref("network.IDN.whitelist.xn--80akhbyknj4f", true);
869 pref("network.IDN.whitelist.xn--9t4b11yi5a", true);
870 pref("network.IDN.whitelist.xn--deba0ad", true);
871 pref("network.IDN.whitelist.xn--g6w251d", true);
872 pref("network.IDN.whitelist.xn--hgbk6aj7f53bba", true);
873 pref("network.IDN.whitelist.xn--hlcj6aya9esc7a", true);
874 pref("network.IDN.whitelist.xn--jxalpdlp", true);
875 pref("network.IDN.whitelist.xn--kgbechtv", true);
876 pref("network.IDN.whitelist.xn--zckzah", true);
878 // If a domain includes any of the following characters, it may be a spoof 
879 // attempt and so we always display the domain name as punycode. This would 
880 // override the settings "network.IDN_show_punycode" and 
881 // "network.IDN.whitelist.*".
882 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");
884 // This preference specifies a list of domains for which DNS lookups will be
885 // IPv4 only. Works around broken DNS servers which can't handle IPv6 lookups
886 // and/or allows the user to disable IPv6 on a per-domain basis. See bug 68796.
887 pref("network.dns.ipv4OnlyDomains", "");
889 // This preference can be used to turn off IPv6 name lookups. See bug 68796.
890 pref("network.dns.disableIPv6", false);
892 // This preference controls whether or not URLs with UTF-8 characters are
893 // escaped.  Set this preference to TRUE for strict RFC2396 conformance.
894 pref("network.standard-url.escape-utf8", true);
896 // This preference controls whether or not URLs are always encoded and sent as
897 // UTF-8.
898 pref("network.standard-url.encode-utf8", true);
900 // This preference controls whether or not queries are encoded and sent as
901 // UTF-8.
902 pref("network.standard-url.encode-query-utf8", false);
904 // Idle timeout for ftp control connections - 5 minute default
905 pref("network.ftp.idleConnectionTimeout", 300);
907 // directory listing format
908 // 2: HTML
909 // 3: XUL directory viewer
910 // all other values are treated like 2
911 pref("network.dir.format", 2);
913 // enables the prefetch service (i.e., prefetching of <link rel="next"> URLs).
914 pref("network.prefetch-next", true);
917 // The following prefs pertain to the negotiate-auth extension (see bug 17578),
918 // which provides transparent Kerberos or NTLM authentication using the SPNEGO
919 // protocol.  Each pref is a comma-separated list of keys, where each key has
920 // the format:
921 //   [scheme "://"] [host [":" port]]
922 // For example, "foo.com" would match "http://www.foo.com/bar", etc.
924 // This list controls which URIs can use the negotiate-auth protocol.  This
925 // list should be limited to the servers you know you'll need to login to.
926 pref("network.negotiate-auth.trusted-uris", "");
927 // This list controls which URIs can support delegation.
928 pref("network.negotiate-auth.delegation-uris", "");
930 // Allow SPNEGO by default when challenged by a proxy server.
931 pref("network.negotiate-auth.allow-proxies", true);
933 // Path to a specific gssapi library
934 pref("network.negotiate-auth.gsslib", "");
936 // Specify if the gss lib comes standard with the OS
937 pref("network.negotiate-auth.using-native-gsslib", true);
939 #ifdef XP_WIN
941 // Default to using the SSPI intead of GSSAPI on windows 
942 pref("network.auth.use-sspi", true);
944 #endif
946 // Controls which NTLM authentication implementation we default to. True forces
947 // the use of our generic (internal) NTLM authentication implementation vs. any
948 // native implementation provided by the os. This pref is for diagnosing issues
949 // with native NTLM. (See bug 520607 for details.) Using generic NTLM authentication
950 // can expose the user to reflection attack vulnerabilities. Do not change this
951 // unless you know what you're doing!
952 // This pref should be removed 6 months after the release of firefox 3.6. 
953 pref("network.auth.force-generic-ntlm", false);
955 // The following prefs are used to enable automatic use of the operating
956 // system's NTLM implementation to silently authenticate the user with their
957 // Window's domain logon.  The trusted-uris pref follows the format of the
958 // trusted-uris pref for negotiate authentication.
959 pref("network.automatic-ntlm-auth.allow-proxies", true);
960 pref("network.automatic-ntlm-auth.trusted-uris", "");
962 // This preference controls whether or not the LM hash will be included in
963 // response to a NTLM challenge.  By default, this is disabled since servers
964 // should almost never need the LM hash, and the LM hash is what makes NTLM
965 // authentication less secure.  See bug 250691 for further details.
966 // NOTE: automatic-ntlm-auth which leverages the OS-provided NTLM
967 //       implementation will not be affected by this preference.
968 pref("network.ntlm.send-lm-response", false);
970 pref("permissions.default.image",           1); // 1-Accept, 2-Deny, 3-dontAcceptForeign
972 pref("network.proxy.type",                  5);
973 pref("network.proxy.ftp",                   "");
974 pref("network.proxy.ftp_port",              0);
975 pref("network.proxy.http",                  "");
976 pref("network.proxy.http_port",             0);
977 pref("network.proxy.ssl",                   "");
978 pref("network.proxy.ssl_port",              0);
979 pref("network.proxy.socks",                 "");
980 pref("network.proxy.socks_port",            0);
981 pref("network.proxy.socks_version",         5);
982 pref("network.proxy.socks_remote_dns",      false);
983 pref("network.proxy.no_proxies_on",         "localhost, 127.0.0.1");
984 pref("network.proxy.failover_timeout",      1800); // 30 minutes
985 pref("network.online",                      true); //online/offline
986 pref("network.cookie.cookieBehavior",       0); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
987 pref("network.cookie.thirdparty.sessionOnly", false);
988 pref("network.cookie.lifetimePolicy",       0); // accept normally, 1-askBeforeAccepting, 2-acceptForSession,3-acceptForNDays
989 pref("network.cookie.alwaysAcceptSessionCookies", false);
990 pref("network.cookie.prefsMigrated",        false);
991 pref("network.cookie.lifetime.days",        90);
993 // The PAC file to load.  Ignored unless network.proxy.type is 2.
994 pref("network.proxy.autoconfig_url", "");
996 // If we cannot load the PAC file, then try again (doubling from interval_min
997 // until we reach interval_max or the PAC file is successfully loaded).
998 pref("network.proxy.autoconfig_retry_interval_min", 5);    // 5 seconds
999 pref("network.proxy.autoconfig_retry_interval_max", 300);  // 5 minutes
1001 pref("converter.html2txt.structs",          true); // Output structured phrases (strong, em, code, sub, sup, b, i, u)
1002 pref("converter.html2txt.header_strategy",  1); // 0 = no indention; 1 = indention, increased with header level; 2 = numbering and slight indention
1004 pref("intl.accept_languages",               "chrome://global/locale/intl.properties");
1005 pref("intl.accept_charsets",                "iso-8859-1,*,utf-8");
1006 pref("intl.menuitems.alwaysappendaccesskeys","chrome://global/locale/intl.properties");
1007 pref("intl.menuitems.insertseparatorbeforeaccesskeys","chrome://global/locale/intl.properties");
1008 pref("intl.charsetmenu.browser.static",     "chrome://global/locale/intl.properties");
1009 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");
1010 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");
1011 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");
1012 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");
1013 pref("intl.charsetmenu.browser.more5",      "ISO-8859-6, windows-1256, IBM864, ISO-8859-8-I, windows-1255, ISO-8859-8, IBM862");
1014 pref("intl.charsetmenu.browser.unicode",    "UTF-8, UTF-16LE, UTF-16BE, UTF-32, UTF-32LE, UTF-32BE");
1015 pref("intl.charsetmenu.mailedit",           "chrome://global/locale/intl.properties");
1016 pref("intl.charsetmenu.browser.cache",      "");
1017 pref("intl.charsetmenu.mailview.cache",     "");
1018 pref("intl.charsetmenu.composer.cache",     "");
1019 pref("intl.charsetmenu.browser.cache.size", 5);
1020 pref("intl.charset.detector",               "chrome://global/locale/intl.properties");
1021 pref("intl.charset.default",                "chrome://global-platform/locale/intl.properties");
1022 pref("intl.ellipsis",                       "chrome://global-platform/locale/intl.properties");
1023 pref("intl.locale.matchOS",                 false);
1024 // fallback charset list for Unicode conversion (converting from Unicode)
1025 // currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes)
1026 // for ISO-8859-1
1027 pref("intl.fallbackCharsetList.ISO-8859-1", "windows-1252");
1028 pref("font.language.group",                 "chrome://global/locale/intl.properties");
1030 // these locales have right-to-left UI
1031 pref("intl.uidirection.ar", "rtl");
1032 pref("intl.uidirection.he", "rtl");
1033 pref("intl.uidirection.fa", "rtl");
1035 pref("font.mathfont-family", "STIXNonUnicode, STIXSizeOneSym, STIXSize1, STIXGeneral, Standard Symbols L, DejaVu Sans, Cambria Math");
1037 // Some CJK fonts have bad underline offset, their CJK character glyphs are overlapped (or adjoined)  to its underline.
1038 // These fonts are ignored the underline offset, instead of it, the underline is lowered to bottom of its em descent.
1039 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");
1041 pref("images.dither", "auto");
1042 pref("security.directory",              "");
1044 pref("signed.applets.codebase_principal_support", false);
1045 pref("security.checkloaduri", true);
1046 pref("security.xpconnect.plugin.unrestricted", true);
1047 // security-sensitive dialogs should delay button enabling. In milliseconds.
1048 pref("security.dialog_enable_delay", 2000);
1050 pref("security.csp.enable", true);
1051 pref("security.csp.debug", false);
1053 // Modifier key prefs: default to Windows settings,
1054 // menu access key = alt, accelerator key = control.
1055 // Use 17 for Ctrl, 18 for Alt, 224 for Meta, 0 for none. Mac settings in macprefs.js
1056 pref("ui.key.accelKey", 17);
1057 pref("ui.key.menuAccessKey", 18);
1058 pref("ui.key.generalAccessKey", -1);
1060 // If generalAccessKey is -1, use the following two prefs instead.
1061 // Use 0 for disabled, 1 for Shift, 2 for Ctrl, 4 for Alt, 8 for Meta
1062 // (values can be combined, e.g. 5 for Alt+Shift)
1063 pref("ui.key.chromeAccess", 4);
1064 pref("ui.key.contentAccess", 5);
1066 pref("ui.key.menuAccessKeyFocuses", false); // overridden below
1067 pref("ui.key.saveLink.shift", true); // true = shift, false = meta
1069 // Disable page loading activity cursor by default.
1070 pref("ui.use_activity_cursor", false);
1072 // Middle-mouse handling
1073 pref("middlemouse.paste", false);
1074 pref("middlemouse.openNewWindow", true);
1075 pref("middlemouse.contentLoadURL", false);
1076 pref("middlemouse.scrollbarPosition", false);
1078 // Clipboard behavior
1079 pref("clipboard.autocopy", false);
1081 // mouse wheel scroll transaction period of time (in milliseconds)
1082 pref("mousewheel.transaction.timeout", 1500);
1083 // mouse wheel scroll transaction is held even if the mouse cursor is moved.
1084 pref("mousewheel.transaction.ignoremovedelay", 100);
1086 // Macbook touchpad two finger pixel scrolling
1087 pref("mousewheel.enable_pixel_scrolling", true);
1089 // prefs for app level mouse wheel scrolling acceleration.
1090 // number of mousewheel clicks when acceleration starts
1091 // acceleration can be turned off if pref is set to -1
1092 pref("mousewheel.acceleration.start", -1);
1093 // factor to be multiplied for constant acceleration
1094 pref("mousewheel.acceleration.factor", 10);
1096 // Prefs for override the system mouse wheel scrolling speed on the root
1097 // content of the web pages.  When
1098 // "mousewheel.system_scroll_override_on_root_content.enabled" is true and the system
1099 // scrolling speed isn't customized by the user, the root content scrolling
1100 // speed is multiplied by the following factors.  The value will be used as
1101 // 1/100.  E.g., 200 means 2.00.
1102 // NOTE: Even if "mousewheel.system_scroll_override_on_root_content.enabled" is
1103 // true, when Gecko detects the user customized the system scrolling speed
1104 // settings, the override isn't executed.
1105 pref("mousewheel.system_scroll_override_on_root_content.vertical.factor", 200);
1106 pref("mousewheel.system_scroll_override_on_root_content.horizontal.factor", 200);
1108 // 0=lines, 1=pages, 2=history , 3=text size
1109 pref("mousewheel.withnokey.action",0);
1110 pref("mousewheel.withnokey.numlines",6);
1111 pref("mousewheel.withnokey.sysnumlines",true);
1112 pref("mousewheel.withcontrolkey.action",0);
1113 pref("mousewheel.withcontrolkey.numlines",1);
1114 pref("mousewheel.withcontrolkey.sysnumlines",true);
1115 // mousewheel.withshiftkey, see the Mac note below.
1116 pref("mousewheel.withshiftkey.action",0);
1117 pref("mousewheel.withshiftkey.numlines",1);
1118 pref("mousewheel.withshiftkey.sysnumlines",true);
1119 pref("mousewheel.withaltkey.action",2);
1120 pref("mousewheel.withaltkey.numlines",1);
1121 pref("mousewheel.withaltkey.sysnumlines",false);
1122 pref("mousewheel.withmetakey.action",0);
1123 pref("mousewheel.withmetakey.numlines",1);
1124 pref("mousewheel.withmetakey.sysnumlines",true);
1126 // activate horizontal scrolling by default
1127 pref("mousewheel.horizscroll.withnokey.action",0);
1128 pref("mousewheel.horizscroll.withnokey.numlines",1);
1129 pref("mousewheel.horizscroll.withnokey.sysnumlines",true);
1130 pref("mousewheel.horizscroll.withcontrolkey.action",0);
1131 pref("mousewheel.horizscroll.withcontrolkey.numlines",1);
1132 pref("mousewheel.horizscroll.withcontrolkey.sysnumlines",true);
1133 pref("mousewheel.horizscroll.withshiftkey.action",0);
1134 pref("mousewheel.horizscroll.withshiftkey.numlines",1);
1135 pref("mousewheel.horizscroll.withshiftkey.sysnumlines",true);
1136 pref("mousewheel.horizscroll.withaltkey.action",2);
1137 pref("mousewheel.horizscroll.withaltkey.numlines",-1);
1138 pref("mousewheel.horizscroll.withaltkey.sysnumlines",false);
1139 pref("mousewheel.horizscroll.withmetakey.action",0);
1140 pref("mousewheel.horizscroll.withmetakey.numlines",1);
1141 pref("mousewheel.horizscroll.withmetakey.sysnumlines",true);
1143 pref("profile.confirm_automigration",true);
1144 // profile.migration_behavior determines how the profiles root is set
1145 // 0 - use NS_APP_USER_PROFILES_ROOT_DIR
1146 // 1 - create one based on the NS4.x profile root
1147 // 2 - use, if not empty, profile.migration_directory otherwise same as 0
1148 pref("profile.migration_behavior",0);
1149 pref("profile.migration_directory", "");
1151 // the amount of time (in seconds) that must elapse
1152 // before we think your mozilla profile is defunct
1153 // and you'd benefit from re-migrating from 4.x
1154 // see bug #137886 for more details
1156 // if -1, we never think your profile is defunct
1157 // and users will never see the remigrate UI.
1158 pref("profile.seconds_until_defunct", -1);
1159 // We can show it anytime from menus
1160 pref("profile.manage_only_at_launch", false);
1162 pref("prefs.converted-to-utf8",false);
1164 // --------------------------------------------------
1165 // IBMBIDI 
1166 // --------------------------------------------------
1168 // ------------------
1169 //  Text Direction
1170 // ------------------
1171 // 1 = directionLTRBidi *
1172 // 2 = directionRTLBidi
1173 pref("bidi.direction", 1);
1174 // ------------------
1175 //  Text Type
1176 // ------------------
1177 // 1 = charsettexttypeBidi *
1178 // 2 = logicaltexttypeBidi
1179 // 3 = visualtexttypeBidi
1180 pref("bidi.texttype", 1);
1181 // ------------------
1182 //  Numeral Style
1183 // ------------------
1184 // 0 = nominalnumeralBidi *
1185 // 1 = regularcontextnumeralBidi
1186 // 2 = hindicontextnumeralBidi
1187 // 3 = arabicnumeralBidi
1188 // 4 = hindinumeralBidi
1189 // 5 = persiancontextnumeralBidi
1190 // 6 = persiannumeralBidi
1191 pref("bidi.numeral", 0);
1192 // ------------------
1193 //  Support Mode
1194 // ------------------
1195 // 1 = mozillaBidisupport *
1196 // 2 = OsBidisupport
1197 // 3 = disableBidisupport
1198 pref("bidi.support", 1);
1199 // ------------------
1200 //  Charset Mode
1201 // ------------------
1202 // 1 = doccharactersetBidi *
1203 // 2 = defaultcharactersetBidi
1204 pref("bidi.characterset", 1);
1205 // Whether delete and backspace should immediately delete characters not
1206 // visually adjacent to the caret, or adjust the visual position of the caret
1207 // on the first keypress and delete the character on a second keypress
1208 pref("bidi.edit.delete_immediately", false);
1210 // Bidi caret movement style:
1211 // 0 = logical
1212 // 1 = visual
1213 // 2 = visual, but logical during selection
1214 pref("bidi.edit.caret_movement_style", 2);
1216 // Setting this pref to |true| forces Bidi UI menu items and keyboard shortcuts
1217 // to be exposed, and enables the directional caret hook. By default, only
1218 // expose it for bidi-associated system locales.
1219 pref("bidi.browser.ui", false);
1221 // used for double-click word selection behavior. Win will override.
1222 pref("layout.word_select.eat_space_to_next_word", false);
1223 pref("layout.word_select.stop_at_punctuation", true);
1225 // controls caret style and word-delete during text selection
1226 // 0 = use platform default
1227 // 1 = caret moves and blinks as when there is no selection; word
1228 //     delete deselects the selection and then deletes word (Windows default)
1229 // 2 = caret moves to selection edge and is not visible during selection; 
1230 //     word delete deletes the selection (Mac default)
1231 // 3 = caret moves and blinks as when there is no selection; word delete
1232 //     deletes the selection (Unix default)
1233 pref("layout.selection.caret_style", 0);
1235 // pref to control whether or not to replace backslashes with Yen signs
1236 // in documents encoded in one of Japanese legacy encodings (EUC-JP, 
1237 // Shift_JIS, ISO-2022-JP)
1238 pref("layout.enable_japanese_specific_transform", false);
1240 // pref to force frames to be resizable
1241 pref("layout.frames.force_resizability", false);
1243 // pref to report CSS errors to the error console
1244 pref("layout.css.report_errors", true);
1246 // Should the :visited selector ever match (otherwise :link matches instead)?
1247 pref("layout.css.visited_links_enabled", true);
1249 // Override DPI. A value of -1 means use the maximum of 96 and the system DPI.
1250 // A value of 0 means use the system DPI. A positive value is used as the DPI.
1251 // This sets the physical size of a device pixel and thus controls the
1252 // interpretation of physical units such as "pt".
1253 pref("layout.css.dpi", -1);
1255 // Set the number of device pixels per CSS pixel. A value <= 0 means choose
1256 // automatically based on user settings for the platform (e.g., "UI scale factor"
1257 // on Mac). A positive value is used as-is. This effectively controls the size
1258 // of a CSS "px". This is only used for windows on the screen, not for printing.
1259 // XXX the default value here should be 0, but before we can set it to 0,
1260 // we have to get this feature working on all platforms.
1261 pref("layout.css.devPixelsPerPx", "1.0");
1263 // pref for which side vertical scrollbars should be on
1264 // 0 = end-side in UI direction
1265 // 1 = end-side in document/content direction
1266 // 2 = right
1267 // 3 = left
1268 pref("layout.scrollbar.side", 0);
1270 // pref to control browser frame rate, in Hz. A value <= 0 means choose
1271 // automatically based on knowledge of the platform (or 60Hz if no platform-
1272 // specific information is available).
1273 pref("layout.frame_rate", -1);
1275 // pref to control precision of the frame rate timer. When true,
1276 // we use a "precise" timer, which means each notification fires
1277 // Nms after the start of the last notification. That means if the
1278 // processing of the notification is slow, the timer can fire immediately
1279 // after we've just finished processing the last notification, which might
1280 // lead to starvation problems.
1281 // When false, we use a "slack" timer which fires Nms after the *end*
1282 // of the last notification. This can give less tight frame rates
1283 // but provides more time for other operations when the browser is
1284 // heavily loaded.
1285 pref("layout.frame_rate.precise", false);
1287 // pref to permit users to make verified SOAP calls by default
1288 pref("capability.policy.default.SOAPCall.invokeVerifySourceHeader", "allAccess");
1290 // if true, allow plug-ins to override internal imglib decoder mime types in full-page mode
1291 pref("plugin.override_internal_types", false);
1292 pref("plugin.expose_full_path", false); // if true navigator.plugins reveals full path
1294 // See bug 136985.  Gives embedders a pref to hook into to show
1295 // a popup blocker if they choose.
1296 pref("browser.popups.showPopupBlocker", true);
1298 // Pref to control whether the viewmanager code does double-buffering or not
1299 // See http://bugzilla.mozilla.org/show_bug.cgi?id=169483 for further details...
1300 pref("viewmanager.do_doublebuffering", true);
1302 // whether use prefs from system
1303 pref("config.use_system_prefs", false);
1305 // if the system has enabled accessibility
1306 pref("config.use_system_prefs.accessibility", false);
1308 // enable single finger gesture input (win7+ tablets)
1309 pref("gestures.enable_single_finger_input", true);
1312  * What are the entities that you want Mozilla to save using mnemonic
1313  * names rather than numeric codes? E.g. If set, we'll output &nbsp;
1314  * otherwise, we may output 0xa0 depending on the charset.
1316  * "none"   : don't use any entity names; only use numeric codes.
1317  * "basic"  : use entity names just for &nbsp; &amp; &lt; &gt; &quot; for 
1318  *            interoperability/exchange with products that don't support more
1319  *            than that.
1320  * "latin1" : use entity names for 8bit accented letters and other special
1321  *            symbols between 128 and 255.
1322  * "html"   : use entity names for 8bit accented letters, greek letters, and
1323  *            other special markup symbols as defined in HTML4.
1324  */
1325 //pref("editor.encode_entity",                 "html");
1327 pref("editor.resizing.preserve_ratio",       true);
1328 pref("editor.positioning.offset",            0);
1330 pref("dom.max_chrome_script_run_time", 20);
1331 pref("dom.max_script_run_time", 10);
1333 #ifndef DEBUG
1334 // How long a plugin is allowed to process a synchronous IPC message
1335 // before we consider it "hung".
1336 pref("dom.ipc.plugins.timeoutSecs", 45);
1337 // How long a plugin launch is allowed to take before
1338 // we consider it failed.
1339 pref("dom.ipc.plugins.processLaunchTimeoutSecs", 45);
1340 #else
1341 // No timeout in DEBUG builds
1342 pref("dom.ipc.plugins.timeoutSecs", 0);
1343 pref("dom.ipc.plugins.processLaunchTimeoutSecs", 0);
1344 #endif
1346 // Disable oopp for standard java. They run their own process isolation (which
1347 // conflicts with our implementation, at least on Windows).
1348 pref("dom.ipc.plugins.java.enabled", false);
1350 #ifndef ANDROID
1351 #ifndef XP_MACOSX
1352 #ifdef XP_UNIX
1353 // Linux plugins using Xt instead of Xembed don't work out-of-process yet.
1354 pref("dom.ipc.plugins.enabled.libvlcplugin.so", false);
1355 pref("dom.ipc.plugins.enabled.nppdf.so", false);
1356 #endif
1357 #endif
1358 #endif
1360 pref("svg.smil.enabled", true);
1362 pref("font.minimum-size.ar", 0);
1363 pref("font.minimum-size.x-armn", 0);
1364 pref("font.minimum-size.x-beng", 0);
1365 pref("font.minimum-size.x-baltic", 0);
1366 pref("font.minimum-size.x-central-euro", 0);
1367 pref("font.minimum-size.zh-CN", 0);
1368 pref("font.minimum-size.zh-HK", 0);
1369 pref("font.minimum-size.zh-TW", 0);
1370 pref("font.minimum-size.x-cyrillic", 0);
1371 pref("font.minimum-size.x-devanagari", 0);
1372 pref("font.minimum-size.x-ethi", 0);
1373 pref("font.minimum-size.x-geor", 0);
1374 pref("font.minimum-size.el", 0);
1375 pref("font.minimum-size.x-gujr", 0);
1376 pref("font.minimum-size.x-guru", 0);
1377 pref("font.minimum-size.he", 0);
1378 pref("font.minimum-size.ja", 0);
1379 pref("font.minimum-size.x-knda", 0);
1380 pref("font.minimum-size.x-khmr", 0);
1381 pref("font.minimum-size.ko", 0);
1382 pref("font.minimum-size.x-mlym", 0);
1383 pref("font.minimum-size.x-orya", 0);
1384 pref("font.minimum-size.x-sinh", 0);
1385 pref("font.minimum-size.x-tamil", 0);
1386 pref("font.minimum-size.x-telu", 0);
1387 pref("font.minimum-size.x-tibt", 0);
1388 pref("font.minimum-size.th", 0);
1389 pref("font.minimum-size.tr", 0);
1390 pref("font.minimum-size.x-cans", 0);
1391 pref("font.minimum-size.x-western", 0);
1392 pref("font.minimum-size.x-unicode", 0);
1393 pref("font.minimum-size.x-user-def", 0);
1395 #ifdef XP_WIN
1397 pref("font.name.serif.ar", "Times New Roman");
1398 pref("font.name.sans-serif.ar", "Arial");
1399 pref("font.name.monospace.ar", "Courier New");
1400 pref("font.name.cursive.ar", "Comic Sans MS");
1402 pref("font.name.serif.el", "Times New Roman");
1403 pref("font.name.sans-serif.el", "Arial");
1404 pref("font.name.monospace.el", "Courier New");
1405 pref("font.name.cursive.el", "Comic Sans MS");
1407 pref("font.name.serif.he", "Narkisim");
1408 pref("font.name.sans-serif.he", "Arial");
1409 pref("font.name.monospace.he", "Fixed Miriam Transparent");
1410 pref("font.name.cursive.he", "Guttman Yad");
1411 pref("font.name-list.serif.he", "Narkisim, David");
1412 pref("font.name-list.monospace.he", "Fixed Miriam Transparent, Miriam Fixed, Rod, Courier New");
1413 pref("font.name-list.cursive.he", "Guttman Yad, Ktav, Arial");
1415 pref("font.name.serif.ja", "MS P明朝"); // "MS PMincho"
1416 pref("font.name.sans-serif.ja", "MS Pゴシック"); // "MS PGothic"
1417 pref("font.name.monospace.ja", "MS ゴシック"); // "MS Gothic"
1418 pref("font.name-list.serif.ja", "MS PMincho, MS Mincho, MS PGothic, MS Gothic");
1419 pref("font.name-list.sans-serif.ja", "MS PGothic, MS Gothic, MS PMincho, MS Mincho");
1420 pref("font.name-list.monospace.ja", "MS Gothic, MS Mincho, MS PGothic, MS PMincho");
1422 pref("font.name.serif.ko", "바탕"); // "Batang" 
1423 pref("font.name.sans-serif.ko", "굴림"); // "Gulim" 
1424 pref("font.name.monospace.ko", "굴림체"); // "GulimChe" 
1425 pref("font.name.cursive.ko", "궁서"); // "Gungseo"
1427 pref("font.name-list.serif.ko", "Batang, Gulim"); 
1428 pref("font.name-list.sans-serif.ko", "Gulim"); 
1429 pref("font.name-list.monospace.ko", "GulimChe"); 
1430 pref("font.name-list.cursive.ko", "Gungseo"); 
1432 pref("font.name.serif.th", "Tahoma");
1433 pref("font.name.sans-serif.th", "Tahoma");
1434 pref("font.name.monospace.th", "Tahoma");
1435 pref("font.name.cursive.th", "Tahoma");
1437 pref("font.name.serif.tr", "Times New Roman");
1438 pref("font.name.sans-serif.tr", "Arial");
1439 pref("font.name.monospace.tr", "Courier New");
1440 pref("font.name.cursive.tr", "Comic Sans MS");
1442 pref("font.name.serif.x-baltic", "Times New Roman");
1443 pref("font.name.sans-serif.x-baltic", "Arial");
1444 pref("font.name.monospace.x-baltic", "Courier New");
1445 pref("font.name.cursive.x-baltic", "Comic Sans MS");
1447 pref("font.name.serif.x-central-euro", "Times New Roman");
1448 pref("font.name.sans-serif.x-central-euro", "Arial");
1449 pref("font.name.monospace.x-central-euro", "Courier New");
1450 pref("font.name.cursive.x-central-euro", "Comic Sans MS");
1452 pref("font.name.serif.x-cyrillic", "Times New Roman");
1453 pref("font.name.sans-serif.x-cyrillic", "Arial");
1454 pref("font.name.monospace.x-cyrillic", "Courier New");
1455 pref("font.name.cursive.x-cyrillic", "Comic Sans MS");
1457 pref("font.name.serif.x-unicode", "Times New Roman");
1458 pref("font.name.sans-serif.x-unicode", "Arial");
1459 pref("font.name.monospace.x-unicode", "Courier New");
1460 pref("font.name.cursive.x-unicode", "Comic Sans MS");
1462 pref("font.name.serif.x-western", "Times New Roman");
1463 pref("font.name.sans-serif.x-western", "Arial");
1464 pref("font.name.monospace.x-western", "Courier New");
1465 pref("font.name.cursive.x-western", "Comic Sans MS");
1467 pref("font.name.serif.zh-CN", "宋体"); //MS Song
1468 pref("font.name.sans-serif.zh-CN", "宋体"); //MS Song
1469 pref("font.name.monospace.zh-CN", "宋体"); //MS Song
1470 pref("font.name-list.serif.zh-CN", "MS Song, SimSun");
1471 pref("font.name-list.sans-serif.zh-CN", "MS Song, SimSun");
1472 pref("font.name-list.monospace.zh-CN", "MS Song, SimSun");
1474 // Per Taiwanese users' demand. They don't want to use TC fonts for
1475 // rendering Latin letters. (bug 88579)
1476 pref("font.name.serif.zh-TW", "Times New Roman"); 
1477 pref("font.name.sans-serif.zh-TW", "Arial");
1478 pref("font.name.monospace.zh-TW", "細明體");  // MingLiU
1479 pref("font.name-list.serif.zh-TW", "PMingLiu, MingLiU"); 
1480 pref("font.name-list.sans-serif.zh-TW", "PMingLiU, MingLiU");
1481 pref("font.name-list.monospace.zh-TW", "MingLiU");
1483 // hkscsm3u.ttf (HKSCS-2001) :  http://www.microsoft.com/hk/hkscs 
1484 // Hong Kong users have the same demand about glyphs for Latin letters (bug 88579) 
1485 pref("font.name.serif.zh-HK", "Times New Roman"); 
1486 pref("font.name.sans-serif.zh-HK", "Arial");
1487 pref("font.name.monospace.zh-HK", "細明體_HKSCS"); 
1488 pref("font.name-list.serif.zh-HK", "MingLiu_HKSCS, Ming(for ISO10646), MingLiU"); 
1489 pref("font.name-list.sans-serif.zh-HK", "MingLiU_HKSCS, Ming(for ISO10646), MingLiU");  
1490 pref("font.name-list.monospace.zh-HK", "MingLiU_HKSCS, Ming(for ISO10646), MingLiU");
1492 pref("font.name.serif.x-devanagari", "Mangal");
1493 pref("font.name.sans-serif.x-devanagari", "Raghindi");
1494 pref("font.name.monospace.x-devanagari", "Mangal");
1495 pref("font.name-list.serif.x-devanagari", "Mangal, Raghindi");
1496 pref("font.name-list.monospace.x-devanagari", "Mangal, Raghindi");
1498 pref("font.name.serif.x-tamil", "Latha");
1499 pref("font.name.sans-serif.x-tamil", "Code2000");
1500 pref("font.name.monospace.x-tamil", "Latha");
1501 pref("font.name-list.serif.x-tamil", "Latha, Code2000");
1502 pref("font.name-list.monospace.x-tamil", "Latha, Code2000");
1504 # http://www.alanwood.net/unicode/fonts.html
1506 pref("font.name.serif.x-armn", "Sylfaen");
1507 pref("font.name.sans-serif.x-armn", "Arial AMU");
1508 pref("font.name.monospace.x-armn", "Arial AMU");
1509 pref("font.name-list.serif.x-armn", "Sylfaen,Arial Unicode MS, Code2000");
1510 pref("font.name-list.monospace.x-armn", "Arial AMU, Arial Unicode MS, Code2000");
1512 pref("font.name.serif.x-beng", "Vrinda");
1513 pref("font.name.sans-serif.x-beng", "Vrinda");
1514 pref("font.name.monospace.x-beng", "Mitra Mono");
1515 pref("font.name-list.serif.x-beng", "Vrinda, Akaash, Likhan, Ekushey Punarbhaba, Code2000, Arial Unicode MS"); 
1516 pref("font.name-list.sans-serif.x-beng", "Vrinda, Akaash, Likhan, Ekushey Punarbhaba, Code2000, Arial Unicode MS"); 
1517 pref("font.name-list.monospace.x-beng", "Likhan, Mukti Narrow, Code2000, Arial Unicode MS");
1519 pref("font.name.serif.x-cans", "Aboriginal Serif");
1520 pref("font.name.sans-serif.x-cans", "Aboriginal Sans");
1521 pref("font.name.monospace.x-cans", "Aboriginal Sans");
1522 pref("font.name-list.serif.x-cans", "Aboriginal Serif, BJCree Uni");
1523 pref("font.name-list.monospace.x-cans", "Aboriginal Sans, OskiDakelh, Pigiarniq, Uqammaq");
1525 pref("font.name.serif.x-ethi", "Visual Geez Unicode");
1526 pref("font.name.sans-serif.x-ethi", "GF Zemen Unicode");
1527 pref("font.name.cursive.x-ethi", "Visual Geez Unicode Title");
1528 pref("font.name.monospace.x-ethi", "Ethiopia Jiret");
1529 pref("font.name-list.serif.x-ethi", "Visual Geez Unicode, Visual Geez Unicode Agazian, Code2000");
1530 pref("font.name-list.monospace.x-ethi", "Ethiopia Jiret, Code2000");
1532 pref("font.name.serif.x-geor", "Sylfaen");
1533 pref("font.name.sans-serif.x-geor", "BPG Classic 99U");
1534 pref("font.name.monospace.x-geor", "Code2000");
1535 pref("font.name-list.serif.x-geor", "Sylfaen, BPG Paata Khutsuri U, TITUS Cyberbit Basic"); 
1536 pref("font.name-list.monospace.x-geor", "BPG Classic 99U, Code2000, Arial Unicode MS");
1538 pref("font.name.serif.x-gujr", "Shruti");
1539 pref("font.name.sans-serif.x-gujr", "Shruti");
1540 pref("font.name.monospace.x-gujr", "Code2000");
1541 pref("font.name-list.serif.x-gujr", "Shruti, Code2000, Arial Unicode MS"); 
1542 pref("font.name-list.monospace.x-gujr", "Code2000, Shruti, Arial Unicode MS");
1544 pref("font.name.serif.x-guru", "Raavi");
1545 pref("font.name.sans-serif.x-guru", "Code2000");
1546 pref("font.name.monospace.x-guru", "Code2000");
1547 pref("font.name-list.serif.x-guru", "Raavi, Saab, Code2000, Arial Unicode MS"); 
1548 pref("font.name-list.monospace.x-guru", "Code2000, Raavi, Saab, Arial Unicode MS");
1550 pref("font.name.serif.x-khmr", "PhnomPenh OT");
1551 pref("font.name.sans-serif.x-khmr", "Khmer OS");
1552 pref("font.name.monospace.x-khmr", "Code2000");
1553 pref("font.name-list.serif.x-khmr", "PhnomPenh OT,.Mondulkiri U GR 1.5, Khmer OS");
1554 pref("font.name-list.monospace.x-khmr", "Code2000, Khmer OS, Khmer OS System");
1556 pref("font.name.serif.x-mlym", "Rachana_w01");
1557 pref("font.name.sans-serif.x-mlym", "Rachana_w01");
1558 pref("font.name.monospace.x-mlym", "Rachana_w01");
1559 pref("font.name-list.serif.x-mlym", "AnjaliOldLipi, Kartika, ThoolikaUnicode, Code2000, Arial Unicode MS");
1560 pref("font.name-list.sans-serif.x-mlym", "AnjaliOldLipi, Kartika, ThoolikaUnicode, Code2000, Arial Unicode MS");
1561 pref("font.name-list.monospace.x-mlym", "AnjaliOldLipi, Kartika, ThoolikaUnicode, Code2000, Arial Unicode MS");
1563 pref("font.name.serif.x-orya", "ori1Uni");
1564 pref("font.name.sans-serif.x-orya", "ori1Uni");
1565 pref("font.name.monospace.x-orya", "ori1Uni");
1566 pref("font.name-list.serif.x-orya", "Kalinga, ori1Uni, Code2000, Arial Unicode MS");
1567 pref("font.name-list.sans-serif.x-orya", "Kalinga, ori1Uni, Code2000, Arial Unicode MS");
1568 pref("font.name-list.monospace.x-orya", "Kalinga, ori1Uni, Code2000, Arial Unicode MS");
1570 pref("font.name.serif.x-telu", "Gautami");
1571 pref("font.name.sans-serif.x-telu", "Gautami");
1572 pref("font.name.monospace.x-telu", "Gautami");
1573 pref("font.name-list.serif.x-telu", "Gautami, Akshar Unicode, Code2000, Arial Unicode MS");
1574 pref("font.name-list.sans-serif.x-telu", "Gautami, Akshar Unicode, Code2000, Arial Unicode MS");
1575 pref("font.name-list.monospace.x-telu", "Gautami, Akshar Unicode, Code2000, Arial Unicode MS");
1577 pref("font.name.serif.x-knda", "Tunga");
1578 pref("font.name.sans-serif.x-knda", "Tunga");
1579 pref("font.name.monospace.x-knda", "Tunga");
1580 pref("font.name-list.serif.x-knda", "Tunga, AksharUnicode, Code2000, Arial Unicode MS");
1581 pref("font.name-list.sans-serif.x-knda", "Tunga, AksharUnicode, Code2000, Arial Unicode MS");
1582 pref("font.name-list.monospace.x-knda", "Tunga, AksharUnicode, Code2000, Arial Unicode MS");
1584 pref("font.name.serif.x-sinh", "Iskoola Pota");
1585 pref("font.name.sans-serif.x-sinh", "Iskoola Pota");
1586 pref("font.name.monospace.x-sinh", "Iskoola Pota");
1587 pref("font.name-list.serif.x-sinh", "Iskoola Pota, AksharUnicode");
1588 pref("font.name-list.sans-serif.x-sinh", "Iskoola Pota, AksharUnicode");
1589 pref("font.name-list.monospace.x-sinh", "Iskoola Pota, AksharUnicode");
1591 pref("font.name.serif.x-tibt", "Tibetan Machine Uni");
1592 pref("font.name.sans-serif.x-tibt", "Tibetan Machine Uni");
1593 pref("font.name.monospace.x-tibt", "Tibetan Machine Uni");
1594 pref("font.name-list.serif.x-tibt", "Tibetan Machine Uni, Jomolhari, Microsoft Himalaya");
1595 pref("font.name-list.sans-serif.x-tibt", "Tibetan Machine Uni, Jomolhari, Microsoft Himalaya");
1596 pref("font.name-list.monospace.x-tibt", "Tibetan Machine Uni, Jomolhari, Microsoft Himalaya");
1598 pref("font.default.ar", "sans-serif");
1599 pref("font.size.variable.ar", 16);
1600 pref("font.size.fixed.ar", 13);
1602 pref("font.default.el", "serif");
1603 pref("font.size.variable.el", 16);
1604 pref("font.size.fixed.el", 13);
1606 pref("font.default.he", "sans-serif");
1607 pref("font.size.variable.he", 16);
1608 pref("font.size.fixed.he", 13);
1610 pref("font.default.ja", "sans-serif");
1611 pref("font.size.variable.ja", 16);
1612 pref("font.size.fixed.ja", 16);
1614 pref("font.default.ko", "sans-serif");
1615 pref("font.size.variable.ko", 16);
1616 pref("font.size.fixed.ko", 16);
1618 pref("font.default.th", "serif");
1619 pref("font.size.variable.th", 16);
1620 pref("font.size.fixed.th", 13);
1621 pref("font.minimum-size.th", 10);
1623 pref("font.default.tr", "serif");
1624 pref("font.size.variable.tr", 16);
1625 pref("font.size.fixed.tr", 13);
1627 pref("font.default.x-baltic", "serif");
1628 pref("font.size.variable.x-baltic", 16);
1629 pref("font.size.fixed.x-baltic", 13);
1631 pref("font.default.x-central-euro", "serif");
1632 pref("font.size.variable.x-central-euro", 16);
1633 pref("font.size.fixed.x-central-euro", 13);
1635 pref("font.default.x-cyrillic", "serif");
1636 pref("font.size.variable.x-cyrillic", 16);
1637 pref("font.size.fixed.x-cyrillic", 13);
1639 pref("font.default.x-devanagari", "serif");
1640 pref("font.size.variable.x-devanagari", 16);
1641 pref("font.size.fixed.x-devanagari", 13);
1643 pref("font.default.x-tamil", "serif");
1644 pref("font.size.variable.x-tamil", 16);
1645 pref("font.size.fixed.x-tamil", 13);
1647 pref("font.default.x-armn", "serif");
1648 pref("font.size.variable.x-armn", 16);
1649 pref("font.size.fixed.x-armn", 13);
1651 pref("font.default.x-beng", "serif");
1652 pref("font.size.variable.x-beng", 16);
1653 pref("font.size.fixed.x-beng", 13);
1655 pref("font.default.x-cans", "serif");
1656 pref("font.size.variable.x-cans", 16);
1657 pref("font.size.fixed.x-cans", 13);
1659 pref("font.default.x-ethi", "serif");
1660 pref("font.size.variable.x-ethi", 16);
1661 pref("font.size.fixed.x-ethi", 13);
1663 pref("font.default.x-geor", "serif");
1664 pref("font.size.variable.x-geor", 16);
1665 pref("font.size.fixed.x-geor", 13);
1667 pref("font.default.x-gujr", "serif");
1668 pref("font.size.variable.x-gujr", 16);
1669 pref("font.size.fixed.x-gujr", 13);
1671 pref("font.default.x-guru", "serif");
1672 pref("font.size.variable.x-guru", 16);
1673 pref("font.size.fixed.x-guru", 13);
1675 pref("font.default.x-khmr", "serif");
1676 pref("font.size.variable.x-khmr", 16);
1677 pref("font.size.fixed.x-khmr", 13);
1679 pref("font.default.x-mlym", "serif");
1680 pref("font.size.variable.x-mlym", 16);
1681 pref("font.size.fixed.x-mlym", 13);
1683 pref("font.default.x-orya", "serif");
1684 pref("font.size.variable.x-orya", 16);
1685 pref("font.size.fixed.x-orya", 13);
1687 pref("font.default.x-telu", "serif");
1688 pref("font.size.variable.x-telu", 16);
1689 pref("font.size.fixed.x-telu", 13);
1691 pref("font.default.x-knda", "serif");
1692 pref("font.size.variable.x-knda", 16);
1693 pref("font.size.fixed.x-knda", 13);
1695 pref("font.default.x-sinh", "serif");
1696 pref("font.size.variable.x-sinh", 16);
1697 pref("font.size.fixed.x-sinh", 13);
1699 pref("font.default.x-tibt", "serif");
1700 pref("font.size.variable.x-tibt", 16);
1701 pref("font.size.fixed.x-tibt", 13);
1703 pref("font.default.x-unicode", "serif");
1704 pref("font.size.variable.x-unicode", 16);
1705 pref("font.size.fixed.x-unicode", 13);
1707 pref("font.default.x-western", "serif");
1708 pref("font.size.variable.x-western", 16);
1709 pref("font.size.fixed.x-western", 13);
1711 pref("font.default.zh-CN", "sans-serif");
1712 pref("font.size.variable.zh-CN", 16);
1713 pref("font.size.fixed.zh-CN", 16);
1715 pref("font.default.zh-TW", "sans-serif");
1716 pref("font.size.variable.zh-TW", 16);
1717 pref("font.size.fixed.zh-TW", 16);
1719 pref("font.default.zh-HK", "sans-serif");
1720 pref("font.size.variable.zh-HK", 16);
1721 pref("font.size.fixed.zh-HK", 16);
1723 // We have special support for Monotype Symbol on Windows.
1724 pref("font.mathfont-family", "STIXNonUnicode, STIXSizeOneSym, STIXSize1, STIXGeneral, Symbol, DejaVu Sans, Cambria Math");
1726 // cleartype settings - false implies default system settings 
1728 // use cleartype rendering for downloadable fonts (win xp only)
1729 pref("gfx.font_rendering.cleartype.use_for_downloadable_fonts", true);
1731 // use cleartype rendering for all fonts always (win xp only)
1732 pref("gfx.font_rendering.cleartype.always_use_for_content", false);
1734 pref("ui.key.menuAccessKeyFocuses", true);
1736 // override double-click word selection behavior.
1737 pref("layout.word_select.eat_space_to_next_word", true);
1739 // scrollbar snapping region
1740 pref("slider.snapMultiplier", 6);
1742 // print_extra_margin enables platforms to specify an extra gap or margin
1743 // around the content of the page for Print Preview only
1744 pref("print.print_extra_margin", 90); // twips (90 twips is an eigth of an inch)
1746 // Whether to extend the native dialog with information on printing frames.
1747 pref("print.extend_native_print_dialog", true);
1749 // Locate Java by scanning the Sun JRE installation directory with a minimum version
1750 // Note: Does not scan if security.enable_java is not true
1751 pref("plugin.scan.SunJRE", "1.3");
1753 // Locate plugins by scanning the Adobe Acrobat installation directory with a minimum version
1754 pref("plugin.scan.Acrobat", "5.0");
1756 // Locate plugins by scanning the Quicktime installation directory with a minimum version
1757 pref("plugin.scan.Quicktime", "5.0");
1759 // Locate and scan the Window Media Player installation directory for plugins with a minimum version
1760 pref("plugin.scan.WindowsMediaPlayer", "7.0");
1762 // Locate plugins by the directories specified in the Windows registry for PLIDs
1763 // Which is currently HKLM\Software\MozillaPlugins\xxxPLIDxxx\Path
1764 pref("plugin.scan.plid.all", true);
1766 // Controls the scanning of the Navigator 4.x directory for plugins
1767 // When pref is missing, the default is to pickup popular plugins such as
1768 // Flash, Shockwave, Acrobat, and Quicktime. If set to true, ALL plugins
1769 // will be picked up and if set to false the scan will not happen at all
1770 //pref("plugin.scan.4xPluginFolder", false);
1772 // Help Windows NT, 2000, and XP dialup a RAS connection
1773 // when a network address is unreachable.
1774 pref("network.autodial-helper.enabled", true);
1776 // Pref to control whether we set ddeexec subkeys for the http
1777 // Internet shortcut protocol if we are handling it.  These
1778 // subkeys will be set only while we are running (to avoid the
1779 // problem of Windows showing an alert when it tries to use DDE
1780 // and we're not already running).
1781 pref("advanced.system.supportDDEExec", true);
1783 // Switch the keyboard layout per window
1784 pref("intl.keyboard.per_window_layout", false);
1786 #ifdef NS_ENABLE_TSF
1787 // Enable/Disable TSF support
1788 pref("intl.enable_tsf_support", false);
1790 // We need to notify the layout change to TSF, but we cannot check the actual
1791 // change now, therefore, we always notify it by this fequency.
1792 pref("intl.tsf.on_layout_change_interval", 100);
1793 #endif
1795 #ifdef WINCE
1796 // bug 506798 - can't type in bookmarks panel on WinCE
1797 pref("ui.panel.default_level_parent", true);
1798 #else
1799 // See bug 448927, on topmost panel, some IMEs are not usable on Windows.
1800 pref("ui.panel.default_level_parent", false);
1801 #endif
1803 pref("mousewheel.system_scroll_override_on_root_content.enabled", true);
1805 // If your mouse drive sends WM_*SCROLL messages when you turn your mouse wheel,
1806 // set this to true.  Then, gecko processes them as mouse wheel messages.
1807 pref("mousewheel.emulate_at_wm_scroll", false);
1809 // Enables or disabled the TrackPoint hack, -1 is autodetect, 0 is off,
1810 // and 1 is on.  Set this to 1 if TrackPoint scrolling is not working.
1811 pref("ui.trackpoint_hack.enabled", -1);
1813 // Setting this to a non-empty string overrides the Win32 "window class" used
1814 // for "normal" windows. Setting this to MozillaUIWindowClass might make
1815 // some trackpad drivers behave better.
1816 pref("ui.window_class_override", "");
1818 // Enables or disables the Elantech gesture hacks.  -1 is autodetect, 0 is off,
1819 // and 1 is on.  Set this to 1 if three-finger swipe gestures do not cause
1820 // page back/forward actions, or if pinch-to-zoom does not work.
1821 pref("ui.elantech_gesture_hacks.enabled", -1);
1823 # WINNT
1824 #endif
1826 #ifdef XP_MACOSX
1827 // Mac specific preference defaults
1828 pref("browser.drag_out_of_frame_style", 1);
1829 pref("ui.key.saveLink.shift", false); // true = shift, false = meta
1831 // default fonts (in UTF8 and using canonical names)
1832 // to determine canonical font names, use a debug build and 
1833 // enable NSPR logging for module fontInfoLog:5
1834 // canonical names immediately follow '(fontinit) family:' in the log
1836 pref("font.name.serif.ar", "Al Bayan");
1837 pref("font.name.sans-serif.ar", "Geeza Pro");
1838 pref("font.name.monospace.ar", "Geeza Pro");
1839 pref("font.name.cursive.ar", "DecoType Naskh");
1840 pref("font.name.fantasy.ar", "KufiStandardGK");
1841 pref("font.name-list.serif.ar", "Al Bayan");
1842 pref("font.name-list.sans-serif.ar", "Geeza Pro");
1843 pref("font.name-list.monospace.ar", "Geeza Pro");
1844 pref("font.name-list.cursive.ar", "DecoType Naskh");
1845 pref("font.name-list.fantasy.ar", "KufiStandardGK");
1847 pref("font.name.serif.el", "Lucida Grande");
1848 pref("font.name.sans-serif.el", "Lucida Grande");
1849 pref("font.name.monospace.el", "Lucida Grande");
1850 pref("font.name.cursive.el", "Lucida Grande");
1851 pref("font.name.fantasy.el", "Lucida Grande");
1852 pref("font.name-list.serif.el", "Lucida Grande");
1853 pref("font.name-list.sans-serif.el", "Lucida Grande");
1854 pref("font.name-list.monospace.el", "Lucida Grande");
1855 pref("font.name-list.cursive.el", "Lucida Grande");
1856 pref("font.name-list.fantasy.el", "Lucida Grande");
1858 pref("font.name.serif.he", "Raanana");
1859 pref("font.name.sans-serif.he", "Arial Hebrew");
1860 pref("font.name.monospace.he", "Arial Hebrew");
1861 pref("font.name.cursive.he", "Corsiva Hebrew");
1862 pref("font.name.fantasy.he", "Corsiva Hebrew");
1863 pref("font.name-list.serif.he", "Raanana");
1864 pref("font.name-list.sans-serif.he", "Arial Hebrew");
1865 pref("font.name-list.monospace.he", "Arial Hebrew");
1866 pref("font.name-list.cursive.he", "Corsiva Hebrew");
1867 pref("font.name-list.fantasy.he", "Corsiva Hebrew");
1869 pref("font.name.serif.ja", "Hiragino Mincho Pro"); 
1870 pref("font.name.sans-serif.ja", "Hiragino Kaku Gothic Pro"); 
1871 pref("font.name.monospace.ja", "Osaka-Mono"); 
1872 pref("font.name-list.serif.ja", "Hiragino Mincho Pro"); 
1873 pref("font.name-list.sans-serif.ja", "Hiragino Kaku Gothic Pro"); 
1874 pref("font.name-list.monospace.ja", "Osaka-Mono"); 
1876 pref("font.name.serif.ko", "AppleMyungjo"); 
1877 pref("font.name.sans-serif.ko", "AppleGothic"); 
1878 pref("font.name.monospace.ko", "AppleGothic"); 
1879 pref("font.name-list.serif.ko", "AppleMyungjo"); 
1880 pref("font.name-list.sans-serif.ko", "AppleGothic"); 
1881 pref("font.name-list.monospace.ko", "AppleGothic"); 
1883 pref("font.name.serif.th", "Thonburi");
1884 pref("font.name.sans-serif.th", "Thonburi");
1885 pref("font.name.monospace.th", "Ayuthaya");
1886 pref("font.name-list.serif.th", "Thonburi");
1887 pref("font.name-list.sans-serif.th", "Thonburi");
1888 pref("font.name-list.monospace.th", "Ayuthaya");
1890 pref("font.name.serif.tr", "Times");
1891 pref("font.name.sans-serif.tr", "Helvetica");
1892 pref("font.name.monospace.tr", "Courier");
1893 pref("font.name.cursive.tr", "Apple Chancery");
1894 pref("font.name.fantasy.tr", "Papyrus");
1895 pref("font.name-list.serif.tr", "Times");
1896 pref("font.name-list.sans-serif.tr", "Helvetica");
1897 pref("font.name-list.monospace.tr", "Courier");
1898 pref("font.name-list.cursive.tr", "Apple Chancery");
1899 pref("font.name-list.fantasy.tr", "Papyrus");
1901 pref("font.name.serif.x-armn", "Mshtakan");
1902 pref("font.name.sans-serif.x-armn", "Mshtakan");
1903 pref("font.name.monospace.x-armn", "Mshtakan");
1904 pref("font.name-list.serif.x-armn", "Mshtakan");
1905 pref("font.name-list.sans-serif.x-armn", "Mshtakan");
1906 pref("font.name-list.monospace.x-armn", "Mshtakan");
1908 pref("font.name.serif.x-baltic", "Times");
1909 pref("font.name.sans-serif.x-baltic", "Helvetica");
1910 pref("font.name.monospace.x-baltic", "Courier");
1911 pref("font.name.cursive.x-baltic", "Apple Chancery");
1912 pref("font.name.fantasy.x-baltic", "Papyrus");
1913 pref("font.name-list.serif.x-baltic", "Times");
1914 pref("font.name-list.sans-serif.x-baltic", "Helvetica");
1915 pref("font.name-list.monospace.x-baltic", "Courier");
1916 pref("font.name-list.cursive.x-baltic", "Apple Chancery");
1917 pref("font.name-list.fantasy.x-baltic", "Papyrus");
1919 // no suitable fonts for bengali ship with mac os x
1920 // however two can be freely downloaded
1921 // SolaimanLipi, Rupali http://ekushey.org/?page/mac_download
1922 pref("font.name.serif.x-beng", "সোলাইমান লিপি");
1923 pref("font.name.sans-serif.x-beng", "রূপালী");
1924 pref("font.name.monospace.x-beng", "রূপালী");
1925 pref("font.name-list.serif.x-beng", "সোলাইমান লিপি");
1926 pref("font.name-list.sans-serif.x-beng", "রূপালী");
1927 pref("font.name-list.monospace.x-beng", "রূপালী");
1929 pref("font.name.serif.x-cans", "Euphemia UCAS");
1930 pref("font.name.sans-serif.x-cans", "Euphemia UCAS");
1931 pref("font.name.monospace.x-cans", "Euphemia UCAS");
1932 pref("font.name-list.serif.x-cans", "Euphemia UCAS");
1933 pref("font.name-list.sans-serif.x-cans", "Euphemia UCAS");
1934 pref("font.name-list.monospace.x-cans", "Euphemia UCAS");
1936 pref("font.name.serif.x-central-euro", "Times");
1937 pref("font.name.sans-serif.x-central-euro", "Helvetica");
1938 pref("font.name.monospace.x-central-euro", "Courier");
1939 pref("font.name.cursive.x-central-euro", "Apple Chancery");
1940 pref("font.name.fantasy.x-central-euro", "Papyrus");
1941 pref("font.name-list.serif.x-central-euro", "Times");
1942 pref("font.name-list.sans-serif.x-central-euro", "Helvetica");
1943 pref("font.name-list.monospace.x-central-euro", "Courier");
1944 pref("font.name-list.cursive.x-central-euro", "Apple Chancery");
1945 pref("font.name-list.fantasy.x-central-euro", "Papyrus");
1947 pref("font.name.serif.x-cyrillic", "Times CY");
1948 pref("font.name.sans-serif.x-cyrillic", "Helvetica CY");
1949 pref("font.name.monospace.x-cyrillic", "Monaco CY");
1950 pref("font.name.cursive.x-cyrillic", "Geneva CY");
1951 pref("font.name.fantasy.x-cyrillic", "Charcoal CY");
1952 pref("font.name-list.serif.x-cyrillic", "Times CY");
1953 pref("font.name-list.sans-serif.x-cyrillic", "Helvetica CY");
1954 pref("font.name-list.monospace.x-cyrillic", "Monaco CY");
1955 pref("font.name-list.cursive.x-cyrillic", "Geneva CY");
1956 pref("font.name-list.fantasy.x-cyrillic", "Charcoal CY");
1958 pref("font.name.serif.x-devanagari", "Devanagari MT");
1959 pref("font.name.sans-serif.x-devanagari", "Devanagari MT");
1960 pref("font.name.monospace.x-devanagari", "Devanagari MT");
1961 pref("font.name-list.serif.x-devanagari", "Devanagari MT");
1962 pref("font.name-list.sans-serif.x-devanagari", "Devanagari MT");
1963 pref("font.name-list.monospace.x-devanagari", "Devanagari MT");
1965 // no suitable fonts for ethiopic ship with mac os x
1966 // however one can be freely downloaded
1967 // Abyssinica SIL http://scripts.sil.org/AbyssinicaSIL_Download
1968 pref("font.name.serif.x-ethi", "Abyssinica SIL");
1969 pref("font.name.sans-serif.x-ethi", "Abyssinica SIL");
1970 pref("font.name.monospace.x-ethi", "Abyssinica SIL");
1971 pref("font.name-list.serif.x-ethi", "Abyssinica SIL");
1972 pref("font.name-list.sans-serif.x-ethi", "Abyssinica SIL");
1973 pref("font.name-list.monospace.x-ethi", "Abyssinica SIL");
1975 // no suitable fonts for georgian ship with mac os x
1976 // however some can be freely downloaded
1977 // TITUS Cyberbit Basic http://titus.fkidg1.uni-frankfurt.de/unicode/tituut.asp
1978 // Zuzumbo http://homepage.mac.com/rsiradze/FileSharing91.html
1979 pref("font.name.serif.x-geor", "TITUS Cyberbit Basic");
1980 pref("font.name.sans-serif.x-geor", "Zuzumbo");
1981 pref("font.name.monospace.x-geor", "Zuzumbo");
1982 pref("font.name-list.serif.x-geor", "TITUS Cyberbit Basic"); 
1983 pref("font.name-list.sans-serif.x-geor", "Zuzumbo");
1984 pref("font.name-list.monospace.x-geor", "Zuzumbo");
1986 pref("font.name.serif.x-gujr", "Gujarati MT");
1987 pref("font.name.sans-serif.x-gujr", "Gujarati MT");
1988 pref("font.name.monospace.x-gujr", "Gujarati MT");
1989 pref("font.name-list.serif.x-gujr", "Gujarati MT"); 
1990 pref("font.name-list.sans-serif.x-gujr", "Gujarati MT");
1991 pref("font.name-list.monospace.x-gujr", "Gujarati MT");
1993 pref("font.name.serif.x-guru", "Gurmukhi MT");
1994 pref("font.name.sans-serif.x-guru", "Gurmukhi MT");
1995 pref("font.name.monospace.x-guru", "Gurmukhi MT");
1996 pref("font.name-list.serif.x-guru", "Gurmukhi MT"); 
1997 pref("font.name-list.sans-serif.x-guru", "Gurmukhi MT");
1998 pref("font.name-list.monospace.x-guru", "Gurmukhi MT");
2000 // no suitable fonts for khmer ship with mac os x
2001 // add this section when fonts exist
2003 // no suitable fonts for malayalam ship with mac os x
2004 // add this section when fonts exist
2006 // no suitable fonts for oriya ship with mac os x
2007 // add this section when fonts exist
2009 // no suitable fonts for telugu ship with mac os x
2010 // however one can be freely downloaded
2011 // Pothana http://web.nickshanks.com/typography/telugu/
2012 pref("font.name.serif.x-telu", "Pothana");
2013 pref("font.name.sans-serif.x-telu", "Pothana");
2014 pref("font.name.monospace.x-telu", "Pothana");
2015 pref("font.name-list.serif.x-telu", "Pothana");
2016 pref("font.name-list.sans-serif.x-telu", "Pothana");
2017 pref("font.name-list.monospace.x-telu", "Pothana");
2019 // no suitable fonts for kannada ship with mac os x
2020 // however one can be freely downloaded
2021 // Kedage http://web.nickshanks.com/typography/kannada/
2022 pref("font.name.serif.x-knda", "Kedage");
2023 pref("font.name.sans-serif.x-knda", "Kedage");
2024 pref("font.name.monospace.x-knda", "Kedage");
2025 pref("font.name-list.serif.x-knda", "Kedage");
2026 pref("font.name-list.sans-serif.x-knda", "Kedage");
2027 pref("font.name-list.monospace.x-knda", "Kedage");
2029 // no suitable fonts for sinhala ship with mac os x
2030 // add this section when fonts exist
2032 pref("font.name.serif.x-tamil", "InaiMathi");
2033 pref("font.name.sans-serif.x-tamil", "InaiMathi");
2034 pref("font.name.monospace.x-tamil", "InaiMathi");
2035 pref("font.name-list.serif.x-tamil", "InaiMathi");
2036 pref("font.name-list.sans-serif.x-tamil", "InaiMathi");
2037 pref("font.name-list.monospace.x-tamil", "InaiMathi");
2039 // Kailasa ships with mac os x >= 10.5
2040 pref("font.name.serif.x-tibt", "Kailasa");
2041 pref("font.name.sans-serif.x-tibt", "Kailasa");
2042 pref("font.name.monospace.x-tibt", "Kailasa");
2043 pref("font.name-list.serif.x-tibt", "Kailasa");
2044 pref("font.name-list.sans-serif.x-tibt", "Kailasa");
2045 pref("font.name-list.monospace.x-tibt", "Kailasa");
2047 pref("font.name.serif.x-unicode", "Times");
2048 pref("font.name.sans-serif.x-unicode", "Helvetica");
2049 pref("font.name.monospace.x-unicode", "Courier");
2050 pref("font.name.cursive.x-unicode", "Apple Chancery");
2051 pref("font.name.fantasy.x-unicode", "Papyrus");
2052 pref("font.name-list.serif.x-unicode", "Times");
2053 pref("font.name-list.sans-serif.x-unicode", "Helvetica");
2054 pref("font.name-list.monospace.x-unicode", "Courier");
2055 pref("font.name-list.cursive.x-unicode", "Apple Chancery");
2056 pref("font.name-list.fantasy.x-unicode", "Papyrus");
2058 pref("font.name.serif.x-western", "Times");
2059 pref("font.name.sans-serif.x-western", "Helvetica");
2060 pref("font.name.monospace.x-western", "Courier");
2061 pref("font.name.cursive.x-western", "Apple Chancery");
2062 pref("font.name.fantasy.x-western", "Papyrus");
2063 pref("font.name-list.serif.x-western", "Times");
2064 pref("font.name-list.sans-serif.x-western", "Helvetica");
2065 pref("font.name-list.monospace.x-western", "Courier");
2066 pref("font.name-list.cursive.x-western", "Apple Chancery");
2067 pref("font.name-list.fantasy.x-western", "Papyrus");
2069 pref("font.name.serif.zh-CN", "STSong");
2070 pref("font.name.sans-serif.zh-CN", "STHeiti");
2071 pref("font.name.monospace.zh-CN", "STHeiti");
2072 pref("font.name-list.serif.zh-CN", "STSong");
2073 pref("font.name-list.sans-serif.zh-CN", "STHeiti");
2074 pref("font.name-list.monospace.zh-CN", "STHeiti");
2076 pref("font.name.serif.zh-TW", "Apple LiSung"); 
2077 pref("font.name.sans-serif.zh-TW", "Apple LiGothic");  
2078 pref("font.name.monospace.zh-TW", "Apple LiGothic");  
2079 pref("font.name-list.serif.zh-TW", "Apple LiSung"); 
2080 pref("font.name-list.sans-serif.zh-TW", "Apple LiGothic");  
2081 pref("font.name-list.monospace.zh-TW", "Apple LiGothic");  
2083 pref("font.name.serif.zh-HK", "LiSong Pro");
2084 pref("font.name.sans-serif.zh-HK", "LiHei Pro");
2085 pref("font.name.monospace.zh-HK", "LiHei Pro");
2086 pref("font.name-list.serif.zh-HK", "LiSong Pro");
2087 pref("font.name-list.sans-serif.zh-HK", "LiHei Pro");
2088 pref("font.name-list.monospace.zh-HK", "LiHei Pro");
2090 pref("font.default.ar", "sans-serif");
2091 pref("font.size.variable.ar", 16);
2092 pref("font.size.fixed.ar", 13);
2094 pref("font.default.el", "serif");
2095 pref("font.size.variable.el", 16);
2096 pref("font.size.fixed.el", 13);
2098 pref("font.default.he", "sans-serif");
2099 pref("font.size.variable.he", 16);
2100 pref("font.size.fixed.he", 13);
2102 pref("font.default.ja", "sans-serif");
2103 pref("font.size.variable.ja", 16);
2104 pref("font.size.fixed.ja", 16);
2106 pref("font.default.ko", "sans-serif");
2107 pref("font.size.variable.ko", 16);
2108 pref("font.size.fixed.ko", 16);
2110 pref("font.default.th", "serif");
2111 pref("font.size.variable.th", 16);
2112 pref("font.size.fixed.th", 13);
2113 pref("font.minimum-size.th", 10);
2115 pref("font.default.tr", "serif");
2116 pref("font.size.variable.tr", 16);
2117 pref("font.size.fixed.tr", 13);
2119 pref("font.default.x-armn", "serif");
2120 pref("font.size.variable.x-armn", 16);
2121 pref("font.size.fixed.x-armn", 13);
2123 pref("font.default.x-baltic", "serif");
2124 pref("font.size.variable.x-baltic", 16);
2125 pref("font.size.fixed.x-baltic", 13);
2127 pref("font.default.x-beng", "serif");
2128 pref("font.size.variable.x-beng", 16);
2129 pref("font.size.fixed.x-beng", 13);
2131 pref("font.default.x-cans", "serif");
2132 pref("font.size.variable.x-cans", 16);
2133 pref("font.size.fixed.x-cans", 13);
2135 pref("font.default.x-central-euro", "serif");
2136 pref("font.size.variable.x-central-euro", 16);
2137 pref("font.size.fixed.x-central-euro", 13);
2139 pref("font.default.x-cyrillic", "serif");
2140 pref("font.size.variable.x-cyrillic", 16);
2141 pref("font.size.fixed.x-cyrillic", 13);
2143 pref("font.default.x-devanagari", "serif");
2144 pref("font.size.variable.x-devanagari", 16);
2145 pref("font.size.fixed.x-devanagari", 13);
2147 pref("font.default.x-ethi", "serif");
2148 pref("font.size.variable.x-ethi", 16);
2149 pref("font.size.fixed.x-ethi", 13);
2151 pref("font.default.x-geor", "serif");
2152 pref("font.size.variable.x-geor", 16);
2153 pref("font.size.fixed.x-geor", 13);
2155 pref("font.default.x-gujr", "serif");
2156 pref("font.size.variable.x-gujr", 16);
2157 pref("font.size.fixed.x-gujr", 13);
2159 pref("font.default.x-guru", "serif");
2160 pref("font.size.variable.x-guru", 16);
2161 pref("font.size.fixed.x-guru", 13);
2163 pref("font.default.x-khmr", "serif");
2164 pref("font.size.variable.x-khmr", 16);
2165 pref("font.size.fixed.x-khmr", 13);
2167 pref("font.default.x-mlym", "serif");
2168 pref("font.size.variable.x-mlym", 16);
2169 pref("font.size.fixed.x-mlym", 13);
2171 pref("font.default.x-tamil", "serif");
2172 pref("font.size.variable.x-tamil", 16);
2173 pref("font.size.fixed.x-tamil", 13);
2175 pref("font.default.x-orya", "serif");
2176 pref("font.size.variable.x-orya", 16);
2177 pref("font.size.fixed.x-orya", 13);
2179 pref("font.default.x-telu", "serif");
2180 pref("font.size.variable.x-telu", 16);
2181 pref("font.size.fixed.x-telu", 13);
2183 pref("font.default.x-knda", "serif");
2184 pref("font.size.variable.x-knda", 16);
2185 pref("font.size.fixed.x-knda", 13);
2187 pref("font.default.x-sinh", "serif");
2188 pref("font.size.variable.x-sinh", 16);
2189 pref("font.size.fixed.x-sinh", 13);
2191 pref("font.default.x-tibt", "serif");
2192 pref("font.size.variable.x-tibt", 16);
2193 pref("font.size.fixed.x-tibt", 13);
2195 pref("font.default.x-unicode", "serif");
2196 pref("font.size.variable.x-unicode", 16);
2197 pref("font.size.fixed.x-unicode", 13);
2199 pref("font.default.x-western", "serif");
2200 pref("font.size.variable.x-western", 16);
2201 pref("font.size.fixed.x-western", 13);
2203 pref("font.default.zh-CN", "sans-serif");
2204 pref("font.size.variable.zh-CN", 15);
2205 pref("font.size.fixed.zh-CN", 16);
2207 pref("font.default.zh-TW", "sans-serif");
2208 pref("font.size.variable.zh-TW", 15);
2209 pref("font.size.fixed.zh-TW", 16);
2211 pref("font.default.zh-HK", "sans-serif");
2212 pref("font.size.variable.zh-HK", 15);
2213 pref("font.size.fixed.zh-HK", 16);
2215 // Apple's Symbol is Unicode so use it
2216 pref("font.mathfont-family", "STIXNonUnicode, STIXSizeOneSym, STIXSize1, STIXGeneral, Symbol, DejaVu Sans, Cambria Math");
2218 // individual font faces to be treated as independent families
2219 // names are Postscript names of each face
2220 pref("font.single-face-list", "Osaka-Mono");
2222 // optimization hint for fonts with localized names to be read in at startup, otherwise read in at lookup miss
2223 // names are canonical family names (typically English names)
2224 pref("font.preload-names-list", "Hiragino Kaku Gothic Pro,Hiragino Mincho Pro,STSong");
2226 // Override the Windows settings: no menu key, meta accelerator key. ctrl for general access key in HTML/XUL
2227 // Use 17 for Ctrl, 18 for Option, 224 for Cmd, 0 for none
2228 pref("ui.key.menuAccessKey", 0);
2229 pref("ui.key.accelKey", 224);
2230 // (pinkerton, joki, saari) IE5 for mac uses Control for access keys. The HTML4 spec
2231 // suggests to use command on mac, but this really sucks (imagine someone having a "q"
2232 // as an access key and not letting you quit the app!). As a result, we've made a 
2233 // command decision 1 day before tree lockdown to change it to the control key.
2234 pref("ui.key.generalAccessKey", -1);
2236 // If generalAccessKey is -1, use the following two prefs instead.
2237 // Use 0 for disabled, 1 for Shift, 2 for Ctrl, 4 for Alt, 8 for Meta (Cmd)
2238 // (values can be combined, e.g. 3 for Ctrl+Shift)
2239 pref("ui.key.chromeAccess", 2);
2240 pref("ui.key.contentAccess", 2);
2242 // print_extra_margin enables platforms to specify an extra gap or margin
2243 // around the content of the page for Print Preview only
2244 pref("print.print_extra_margin", 90); // twips (90 twips is an eigth of an inch)
2246 // See bug 404131, topmost <panel> element wins to Dashboard on MacOSX.
2247 pref("ui.panel.default_level_parent", false);
2249 pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
2251 # XP_MACOSX
2252 #endif
2254 #ifdef XP_OS2
2256 pref("ui.key.menuAccessKeyFocuses", true);
2258 pref("font.alias-list", "sans,sans-serif,serif,monospace,Tms Rmn,Helv,Courier,Times New Roman");
2260 pref("font.mathfont-family", "STIXNonUnicode, STIXSizeOneSym, STIXSize1, STIXGeneral, DejaVu Sans");
2262 // Languages only need lists if we have a default that might not be available.
2263 // Tms Rmn and Helv cannot be used by Thebes but the OS/2 version of FontConfig
2264 // maps them to Times New Roman and Helvetica, respectively. Those fonts and
2265 // Courier are available on OS/2 by default.
2267 pref("font.name.serif.ar", "Tms Rmn");
2268 pref("font.name.sans-serif.ar", "Helv");
2269 pref("font.name.monospace.ar", "Courier");
2271 pref("font.name.serif.el", "Tms Rmn");
2272 pref("font.name.sans-serif.el", "Helv");
2273 pref("font.name.monospace.el", "Courier");
2275 pref("font.name.serif.he", "Tms Rmn");
2276 pref("font.name.sans-serif.he", "Helv");
2277 pref("font.name.monospace.he", "Courier");
2279 pref("font.name.serif.ja", "Times New Roman WT J");
2280 pref("font.name-list.serif.ja", "Times New Roman WT J, Times New Roman WT, Times New Roman MT 30, Tms Rmn");
2281 pref("font.name.sans-serif.ja", "Helv");
2282 pref("font.name.monospace.ja", "Kochi Gothic");
2283 pref("font.name-list.monospace.ja", "Kochi Gothic, Kochi Mincho, Courier New, Courier");
2285 pref("font.name.serif.ko", "Times New Roman WT K");
2286 pref("font.name-list.serif.ko", "Times New Roman WT K, Times New Roman WT, Times New Roman MT 30, Tms Rmn");
2287 pref("font.name.sans-serif.ko", "Helv");
2288 pref("font.name.monospace.ko", "Courier");
2290 pref("font.name.serif.th", "Tms Rmn");
2291 pref("font.name.sans-serif.th", "Helv");
2292 pref("font.name.monospace.th", "Courier");
2294 pref("font.name.serif.tr", "Tms Rmn");
2295 pref("font.name.sans-serif.tr", "Helv");
2296 pref("font.name.monospace.tr", "Courier");
2298 pref("font.name.serif.x-baltic", "Tms Rmn");
2299 pref("font.name.sans-serif.x-baltic", "Helv");
2300 pref("font.name.monospace.x-baltic", "Courier");
2302 pref("font.name.serif.x-central-euro", "Tms Rmn");
2303 pref("font.name.sans-serif.x-central-euro", "Helv");
2304 pref("font.name.monospace.x-central-euro", "Courier");
2306 pref("font.name.serif.x-cyrillic", "Tms Rmn");
2307 pref("font.name.sans-serif.x-cyrillic", "Helv");
2308 pref("font.name.monospace.x-cyrillic", "Courier");
2310 // Unicode fonts
2311 // Fontconfig will match substrings, so that we only need to list e.g.
2312 // Times New Roman WT and it will search for the J, SC, TC, K variants.
2313 // The DejaVu fonts are shipped with eCS, so list them first but include other
2314 // fonts that OS/2 users are likely to have.
2315 pref("font.name.serif.x-unicode", "Times New Roman MT 30");
2316 pref("font.name-list.serif.x-unicode", "DejaVu Serif, FreeSerif, Times New Roman WT, Times New Roman MT 30, Tms Rmn");
2317 pref("font.name.sans-serif.x-unicode", "Lucida Sans Unicode");
2318 pref("font.name-list.sans-serif.x-unicode", "DejaVu Sans, FreeSans, Arial Unicode, Lucida Sans Unicode, Helv");
2319 pref("font.name.monospace.x-unicode", "DejaVu Sans Mono");
2320 pref("font.name-list.monospace.x-unicode", "DejaVu Sans Mono, FreeMono, Andale Mono, Courier New, Courier");
2321 pref("font.name.fantasy.x-unicode", "Times New Roman MT 30");
2322 pref("font.name-list.fantasy.x-unicode", "DejaVu Serif, FreeSerif, Times New Roman WT, Times New Roman MT 30");
2323 pref("font.name.cursive.x-unicode", "Times New Roman MT 30");
2324 pref("font.name-list.cursive.x-unicode", "DejaVu Serif, FreeSerif, Times New Roman WT, Times New Roman MT 30");
2326 pref("font.name.serif.x-western", "Tms Rmn");
2327 pref("font.name.sans-serif.x-western", "Helv");
2328 pref("font.name.monospace.x-western", "Courier");
2330 pref("font.name.serif.zh-CN", "Times New Roman WT SC");
2331 pref("font.name-list.serif.zh_CN", "Times New Roman WT SC, Times New Roman MT 30, Times New Roman WT, Tms Rmn");
2332 pref("font.name.sans-serif.zh-CN", "Helv");
2333 pref("font.name.monospace.zh-CN", "Courier");
2335 pref("font.name.serif.zh-TW", "Times New Roman WT TC");
2336 pref("font.name-list.serif.zh-TW", "Times New Roman WT TC, Times New Roman MT 30, Times New Roman WT, Tms Rmn");
2337 pref("font.name.sans-serif.zh-TW", "Helv");
2338 pref("font.name.monospace.zh-TW", "Courier");
2340 // just copied values from zh-TW
2341 pref("font.name.serif.zh-HK", "Times New Roman WT TC");
2342 pref("font.name-list.serif.zh-HK", "Times New Roman WT TC, Times New Roman MT 30, Times New Roman WT, Tms Rmn");
2343 pref("font.name.sans-serif.zh-HK", "Helv");
2344 pref("font.name.monospace.zh-HK", "Courier");
2346 pref("font.default", "serif");
2348 pref("font.default.ar", "serif");
2349 pref("font.size.variable.ar", 16);
2350 pref("font.size.fixed.ar", 13);
2352 pref("font.default.el", "serif");
2353 pref("font.size.variable.el", 16);
2354 pref("font.size.fixed.el", 13);
2356 pref("font.default.he", "serif");
2357 pref("font.size.variable.he", 16);
2358 pref("font.size.fixed.he", 13);
2360 pref("font.default.ja", "serif");
2361 pref("font.size.variable.ja", 16);
2362 pref("font.size.fixed.ja", 16);
2364 pref("font.default.ko", "serif");
2365 pref("font.size.variable.ko", 16);
2366 pref("font.size.fixed.ko", 16);
2368 pref("font.default.th", "serif");
2369 pref("font.size.variable.th", 16);
2370 pref("font.size.fixed.th", 13);
2372 pref("font.default.tr", "serif");
2373 pref("font.size.variable.tr", 16);
2374 pref("font.size.fixed.tr", 13);
2376 pref("font.default.x-baltic", "serif");
2377 pref("font.size.variable.x-baltic", 16);
2378 pref("font.size.fixed.x-baltic", 13);
2380 pref("font.default.x-central-euro", "serif");
2381 pref("font.size.variable.x-central-euro", 16);
2382 pref("font.size.fixed.x-central-euro", 13);
2384 pref("font.default.x-cyrillic", "serif");
2385 pref("font.size.variable.x-cyrillic", 16);
2386 pref("font.size.fixed.x-cyrillic", 13);
2388 pref("font.default.x-devanagari", "serif");
2389 pref("font.size.variable.x-devanagari", 16);
2390 pref("font.size.fixed.x-devanagari", 13);
2392 pref("font.default.x-tamil", "serif");
2393 pref("font.size.variable.x-tamil", 16);
2394 pref("font.size.fixed.x-tamil", 13);
2396 pref("font.default.x-unicode", "serif");
2397 pref("font.size.variable.x-unicode", 16);
2398 pref("font.size.fixed.x-unicode", 13);
2400 pref("font.default.x-western", "serif");
2401 pref("font.size.variable.x-western", 16);
2402 pref("font.size.fixed.x-western", 13);
2404 pref("font.default.zh-CN", "serif");
2405 pref("font.size.variable.zh-CN", 16);
2406 pref("font.size.fixed.zh-CN", 16);
2408 pref("font.default.zh-TW", "serif");
2409 pref("font.size.variable.zh-TW", 16);
2410 pref("font.size.fixed.zh-TW", 16);
2412 pref("font.default.zh-HK", "serif");
2413 pref("font.size.variable.zh-HK", 16);
2414 pref("font.size.fixed.zh-HK", 16);
2416 pref("netinst.profile.show_profile_wizard", true); 
2418 pref("middlemouse.paste", true);
2420 // override double-click word selection behavior.
2421 pref("layout.word_select.eat_space_to_next_word", true);
2422 pref("layout.word_select.stop_at_punctuation", false);
2424 // If false, will always use closest matching size for a given
2425 // image font.  If true, will substitute a vector font for a given
2426 // image font if the given size is smaller/larger than can be handled
2427 // by the image font.
2428 pref("browser.display.substitute_vector_fonts", true);
2430 // print_extra_margin enables platforms to specify an extra gap or margin
2431 // around the content of the page for Print Preview only
2432 pref("print.print_extra_margin", 90); // twips (90 twips is an eigth of an inch)
2434 pref("applications.telnet", "telnetpm.exe");
2435 pref("applications.telnet.host", "%host%");
2436 pref("applications.telnet.port", "-p %port%");
2438 pref("mail.compose.max_recycled_windows", 0);
2440 // Disable IPv6 name lookups by default.
2441 // This is because OS/2 doesn't support IPv6
2442 pref("network.dns.disableIPv6", true);
2444 // IMEs of OS/2 might use non-topmost windows for topmost <panel> element,
2445 // see bug 451015. If there are other problems by this value, we may need to
2446 // change this value.
2447 pref("ui.panel.default_level_parent", false);
2449 pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
2451 # OS2
2452 #endif
2454 #ifdef XP_BEOS
2456 pref("intl.font_charset", "");
2457 pref("intl.font_spec_list", "");
2458 pref("mail.signature_date", 0);
2460 pref("font.alias-list", "sans,sans-serif,serif,monospace");
2462 pref("font.default.ar", "sans-serif");
2463 pref("font.size.variable.ar", 16);
2464 pref("font.size.fixed.ar", 13);
2466 pref("font.default.el", "serif");
2467 pref("font.size.variable.el", 16);
2468 pref("font.size.fixed.el", 13);
2470 pref("font.default.he", "sans-serif");
2471 pref("font.size.variable.he", 16);
2472 pref("font.size.fixed.he", 13);
2474 pref("font.default.ja", "sans-serif");
2475 pref("font.size.variable.ja", 16);
2476 pref("font.size.fixed.ja", 16);
2478 pref("font.default.ko", "sans-serif");
2479 pref("font.size.variable.ko", 16);
2480 pref("font.size.fixed.ko", 16);
2482 pref("font.default.th", "serif");
2483 pref("font.size.variable.th", 16);
2484 pref("font.size.fixed.th", 13);
2486 pref("font.default.tr", "serif");
2487 pref("font.size.variable.tr", 16);
2488 pref("font.size.fixed.tr", 13);
2490 pref("font.default.x-baltic", "serif");
2491 pref("font.size.variable.x-baltic", 16);
2492 pref("font.size.fixed.x-baltic", 13);
2494 pref("font.default.x-central-euro", "serif");
2495 pref("font.size.variable.x-central-euro", 16);
2496 pref("font.size.fixed.x-central-euro", 13);
2498 pref("font.default.x-cyrillic", "serif");
2499 pref("font.size.variable.x-cyrillic", 16);
2500 pref("font.size.fixed.x-cyrillic", 13);
2502 pref("font.default.x-unicode", "serif");
2503 pref("font.size.variable.x-unicode", 16);
2504 pref("font.size.fixed.x-unicode", 13);
2506 pref("font.default.x-western", "serif");
2507 pref("font.size.variable.x-western", 16);
2508 pref("font.size.fixed.x-western", 13);
2510 pref("font.default.zh-CN", "sans-serif");
2511 pref("font.size.variable.zh-CN", 16);
2512 pref("font.size.fixed.zh-CN", 16);
2514 pref("font.default.zh-TW", "sans-serif");
2515 pref("font.size.variable.zh-TW", 16);
2516 pref("font.size.fixed.zh-TW", 16);
2518 pref("font.default.zh-HK", "sans-serif");
2519 pref("font.size.variable.zh-HK", 16);
2520 pref("font.size.fixed.zh-HK", 16);
2523  * Set default accelKey to "Alt", which is the default under BeOS.
2524  * The generalAccessKey is used for shortcuts on web pages, set to
2525  * Ctrl+Shift. The menuAccessKey is now the "windows" key.
2526  */
2527 pref("ui.key.accelKey", 18);
2528 pref("ui.key.menuAccessKey", 17);
2529 pref("ui.key.generalAccessKey", -1);
2531 // If generalAccessKey is -1, use the following two prefs instead.
2532 // Use 0 for disabled, 1 for Shift, 2 for Ctrl, 4 for Alt, 8 for Meta
2533 // (values can be combined, e.g. 3 for Ctrl+Shift)
2534 pref("ui.key.chromeAccess", 2);
2535 pref("ui.key.contentAccess", 3);
2537 // xxx toolkit?
2538 pref("browser.download.dir", "/boot/home/Downloads");
2540 // IMEs of BeOS might use non-topmost windows for topmost <panel> element,
2541 // see bug 451015. If there are other problems by this value, we may need to
2542 // change this value.
2543 pref("ui.panel.default_level_parent", false);
2545 pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
2547 # BeOS
2548 #endif
2550 #ifdef ANDROID
2551 // Handled differently under Mac/Windows
2552 pref("network.protocol-handler.warn-external.file", false);
2553 pref("browser.drag_out_of_frame_style", 1);
2555 // Middle-mouse handling
2556 pref("middlemouse.paste", true);
2557 pref("middlemouse.contentLoadURL", true);
2558 pref("middlemouse.openNewWindow", true);
2559 pref("middlemouse.scrollbarPosition", true);
2561 // Clipboard behavior
2562 pref("clipboard.autocopy", true);
2564 pref("browser.urlbar.clickSelectsAll", false);
2566 // Tab focus model bit field:
2567 // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
2568 // Leave this at the default, 7, to match mozilla1.0-era user expectations.
2569 // pref("accessibility.tabfocus", 1);
2571 // autocomplete keyboard grab workaround
2572 pref("autocomplete.grab_during_popup", true);
2573 pref("autocomplete.ungrab_during_mode_switch", true);
2575 // Default to using the system filepicker if possible, but allow
2576 // toggling to use the XUL filepicker
2577 pref("ui.allow_platform_file_picker", true);
2579 // should NetworkManager be authoritative for online/offline status?
2580 pref("toolkit.networkmanager.disable", true);
2582 pref("helpers.global_mime_types_file", "/etc/mime.types");
2583 pref("helpers.global_mailcap_file", "/etc/mailcap");
2584 pref("helpers.private_mime_types_file", "~/.mime.types");
2585 pref("helpers.private_mailcap_file", "~/.mailcap");
2586 pref("java.global_java_version_file", "/etc/.java/versions");
2587 pref("java.private_java_version_file", "~/.java/versions");
2588 pref("java.default_java_location_solaris", "/usr/j2se");
2589 pref("java.default_java_location_others", "/usr/java");
2590 pref("java.java_plugin_library_name", "javaplugin_oji");
2591 pref("applications.telnet", "xterm -e telnet %h %p");
2592 pref("applications.tn3270", "xterm -e tn3270 %h");
2593 pref("applications.rlogin", "xterm -e rlogin %h");
2594 pref("applications.rlogin_with_user", "xterm -e rlogin %h -l %u");
2595 pref("print.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
2596 pref("print.printer_list", ""); // list of printers, separated by spaces
2597 pref("print.print_reversed", false);
2598 pref("print.print_color", true);
2599 pref("print.print_landscape", false);
2600 pref("print.print_paper_size", 0);
2602 // print_extra_margin enables platforms to specify an extra gap or margin
2603 // around the content of the page for Print Preview only
2604 pref("print.print_extra_margin", 0); // twips
2606 pref("font.allow_double_byte_special_chars", true);
2607 // font names
2609 pref("font.alias-list", "sans,sans-serif,serif,monospace");
2611 // ar
2613 pref("font.name.serif.el", "Droid Serif");
2614 pref("font.name.sans-serif.el", "Droid Sans");
2615 pref("font.name.monospace.el", "Droid Sans Mono");
2617 pref("font.name.serif.he", "Droid Serif");
2618 pref("font.name.sans-serif.he", "Droid Sans");
2619 pref("font.name.monospace.he", "Droid Sans Mono");
2621 pref("font.name.serif.ja", "Droid Serif");
2622 pref("font.name.sans-serif.ja", "Droid Sans");
2623 pref("font.name.monospace.ja", "Droid Sans Mono");
2625 pref("font.name.serif.ko", "Droid Serif");
2626 pref("font.name.sans-serif.ko", "Droid Sans");
2627 pref("font.name.monospace.ko", "Droid Sans Mono");
2629 pref("font.name.serif.th", "Droid Serif");
2630 pref("font.name.sans-serif.th", "Droid Sans");
2631 pref("font.name.monospace.th", "Droid Sans Mono");
2633 pref("font.name.serif.tr", "Droid Serif");
2634 pref("font.name.sans-serif.tr", "Droid Sans");
2635 pref("font.name.monospace.tr", "Droid Sans Mono");
2637 pref("font.name.serif.x-baltic", "Droid Serif");
2638 pref("font.name.sans-serif.x-baltic", "Droid Sans");
2639 pref("font.name.monospace.x-baltic", "Droid Sans Mono");
2641 pref("font.name.serif.x-central-euro", "Droid Serif");
2642 pref("font.name.sans-serif.x-central-euro", "Droid Sans");
2643 pref("font.name.monospace.x-central-euro", "Droid Sans Mono");
2645 pref("font.name.serif.x-cyrillic", "Droid Serif");
2646 pref("font.name.sans-serif.x-cyrillic", "Droid Sans");
2647 pref("font.name.monospace.x-cyrillic", "Droid Sans Mono");
2649 pref("font.name.serif.x-unicode", "Droid Serif");
2650 pref("font.name.sans-serif.x-unicode", "Droid Sans");
2651 pref("font.name.monospace.x-unicode", "Droid Sans Mono");
2653 pref("font.name.serif.x-user-def", "Droid Serif");
2654 pref("font.name.sans-serif.x-user-def", "Droid Sans");
2655 pref("font.name.monospace.x-user-def", "Droid Sans Mono");
2657 pref("font.name.serif.x-western", "Droid Serif");
2658 pref("font.name.sans-serif.x-western", "Droid Sans");
2659 pref("font.name.monospace.x-western", "Droid Sans Mono");
2661 pref("font.name.serif.zh-CN", "Droid Serif");
2662 pref("font.name.sans-serif.zh-CN", "Droid Sans");
2663 pref("font.name.monospace.zh-CN", "Droid Sans Mono");
2665 // ming_uni.ttf (HKSCS-2001) 
2666 // http://www.info.gov.hk/digital21/eng/hkscs/download/uime.exe
2667 pref("font.name.serif.zh-HK", "Droid Serif");
2668 pref("font.name.sans-serif.zh-HK", "Droid Sans");
2669 pref("font.name.monospace.zh-HK", "Droid Sans Mono");
2671 // zh-TW
2673 pref("font.default.ar", "sans-serif");
2674 pref("font.size.variable.ar", 16);
2675 pref("font.size.fixed.ar", 12);
2677 pref("font.default.el", "sans-serif");
2678 pref("font.size.variable.el", 16);
2679 pref("font.size.fixed.el", 12);
2681 pref("font.default.he", "sans-serif");
2682 pref("font.size.variable.he", 16);
2683 pref("font.size.fixed.he", 12);
2685 pref("font.default.ja", "sans-serif");
2686 pref("font.size.variable.ja", 16);
2687 pref("font.size.fixed.ja", 16);
2689 pref("font.default.ko", "sans-serif");
2690 pref("font.size.variable.ko", 16);
2691 pref("font.size.fixed.ko", 16);
2693 pref("font.default.th", "serif");
2694 pref("font.size.variable.th", 16);
2695 pref("font.size.fixed.th", 13);
2696 pref("font.minimum-size.th", 13);
2698 pref("font.default.tr", "sans-serif");
2699 pref("font.size.variable.tr", 16);
2700 pref("font.size.fixed.tr", 12);
2702 pref("font.default.x-baltic", "sans-serif");
2703 pref("font.size.variable.x-baltic", 16);
2704 pref("font.size.fixed.x-baltic", 12);
2706 pref("font.default.x-central-euro", "sans-serif");
2707 pref("font.size.variable.x-central-euro", 16);
2708 pref("font.size.fixed.x-central-euro", 12);
2710 pref("font.default.x-cyrillic", "sans-serif");
2711 pref("font.size.variable.x-cyrillic", 16);
2712 pref("font.size.fixed.x-cyrillic", 12);
2714 pref("font.default.x-unicode", "sans-serif");
2715 pref("font.size.variable.x-unicode", 16);
2716 pref("font.size.fixed.x-unicode", 12);
2718 pref("font.default.x-user-def", "sans-serif");
2719 pref("font.size.variable.x-user-def", 16);
2720 pref("font.size.fixed.x-user-def", 12);
2722 pref("font.default.x-western", "sans-serif");
2723 pref("font.size.variable.x-western", 16);
2724 pref("font.size.fixed.x-western", 12);
2726 pref("font.default.zh-CN", "sans-serif");
2727 pref("font.size.variable.zh-CN", 16);
2728 pref("font.size.fixed.zh-CN", 16);
2730 pref("font.default.zh-TW", "sans-serif");
2731 pref("font.size.variable.zh-TW", 16);
2732 pref("font.size.fixed.zh-TW", 16);
2734 pref("font.default.zh-HK", "sans-serif");
2735 pref("font.size.variable.zh-HK", 16);
2736 pref("font.size.fixed.zh-HK", 16);
2738 pref("font.default.x-devanagari", "serif");
2739 pref("font.size.variable.x-devanagari", 16);
2740 pref("font.size.fixed.x-devanagari", 13);
2742 pref("font.default.x-tamil", "serif");
2743 pref("font.size.variable.x-tamil", 16);
2744 pref("font.size.fixed.x-tamil", 13);
2746 pref("font.default.x-armn", "serif");
2747 pref("font.size.variable.x-armn", 16);
2748 pref("font.size.fixed.x-armn", 13);
2750 pref("font.default.x-beng", "serif");
2751 pref("font.size.variable.x-beng", 16);
2752 pref("font.size.fixed.x-beng", 13);
2754 pref("font.default.x-cans", "serif");
2755 pref("font.size.variable.x-cans", 16);
2756 pref("font.size.fixed.x-cans", 13);
2758 pref("font.default.x-ethi", "serif");
2759 pref("font.size.variable.x-ethi", 16);
2760 pref("font.size.fixed.x-ethi", 13);
2762 pref("font.default.x-geor", "serif");
2763 pref("font.size.variable.x-geor", 16);
2764 pref("font.size.fixed.x-geor", 13);
2766 pref("font.default.x-gujr", "serif");
2767 pref("font.size.variable.x-gujr", 16);
2768 pref("font.size.fixed.x-gujr", 13);
2770 pref("font.default.x-guru", "serif");
2771 pref("font.size.variable.x-guru", 16);
2772 pref("font.size.fixed.x-guru", 13);
2774 pref("font.default.x-khmr", "serif");
2775 pref("font.size.variable.x-khmr", 16);
2776 pref("font.size.fixed.x-khmr", 13);
2778 pref("font.default.x-mlym", "serif");
2779 pref("font.size.variable.x-mlym", 16);
2780 pref("font.size.fixed.x-mlym", 13);
2782 pref("font.default.x-orya", "serif");
2783 pref("font.size.variable.x-orya", 16);
2784 pref("font.size.fixed.x-orya", 13);
2786 pref("font.default.x-telu", "serif");
2787 pref("font.size.variable.x-telu", 16);
2788 pref("font.size.fixed.x-telu", 13);
2790 pref("font.default.x-knda", "serif");
2791 pref("font.size.variable.x-knda", 16);
2792 pref("font.size.fixed.x-knda", 13);
2794 pref("font.default.x-sinh", "serif");
2795 pref("font.size.variable.x-sinh", 16);
2796 pref("font.size.fixed.x-sinh", 13);
2798 pref("font.default.x-tibt", "serif");
2799 pref("font.size.variable.x-tibt", 16);
2800 pref("font.size.fixed.x-tibt", 13);
2802 /* PostScript print module prefs */
2803 // pref("print.postscript.enabled",      true);
2804 pref("print.postscript.paper_size",    "letter");
2805 pref("print.postscript.orientation",   "portrait");
2806 pref("print.postscript.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
2808 // Setting default_level_parent to true makes the default level for popup
2809 // windows "top" instead of "parent".  On GTK2 platform, this is implemented
2810 // with override-redirect windows which is the normal way to implement
2811 // temporary popup windows.  Setting this to false would make the default
2812 // level "parent" which is implemented with managed windows.
2813 // A problem with using managed windows is that metacity sometimes deactivates
2814 // the parent window when the managed popup is shown.
2815 pref("ui.panel.default_level_parent", true);
2817 pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
2819 # ANDROID
2820 #endif
2822 #ifndef ANDROID
2823 #ifndef XP_MACOSX
2824 #ifdef XP_UNIX
2825 // Handled differently under Mac/Windows
2826 pref("network.protocol-handler.warn-external.file", false);
2827 pref("browser.drag_out_of_frame_style", 1);
2829 // Middle-mouse handling
2830 pref("middlemouse.paste", true);
2831 pref("middlemouse.contentLoadURL", true);
2832 pref("middlemouse.openNewWindow", true);
2833 pref("middlemouse.scrollbarPosition", true);
2835 // Clipboard behavior
2836 pref("clipboard.autocopy", true);
2838 pref("browser.urlbar.clickSelectsAll", false);
2840 // Tab focus model bit field:
2841 // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
2842 // Leave this at the default, 7, to match mozilla1.0-era user expectations.
2843 // pref("accessibility.tabfocus", 1);
2845 // autocomplete keyboard grab workaround
2846 pref("autocomplete.grab_during_popup", true);
2847 pref("autocomplete.ungrab_during_mode_switch", true);
2849 // Default to using the system filepicker if possible, but allow
2850 // toggling to use the XUL filepicker
2851 pref("ui.allow_platform_file_picker", true);
2853 // should NetworkManager be authoritative for online/offline status?
2854 pref("toolkit.networkmanager.disable", true);
2856 pref("helpers.global_mime_types_file", "/etc/mime.types");
2857 pref("helpers.global_mailcap_file", "/etc/mailcap");
2858 pref("helpers.private_mime_types_file", "~/.mime.types");
2859 pref("helpers.private_mailcap_file", "~/.mailcap");
2860 pref("java.global_java_version_file", "/etc/.java/versions");
2861 pref("java.private_java_version_file", "~/.java/versions");
2862 pref("java.default_java_location_solaris", "/usr/j2se");
2863 pref("java.default_java_location_others", "/usr/java");
2864 pref("java.java_plugin_library_name", "javaplugin_oji");
2865 pref("applications.telnet", "xterm -e telnet %h %p");
2866 pref("applications.tn3270", "xterm -e tn3270 %h");
2867 pref("applications.rlogin", "xterm -e rlogin %h");
2868 pref("applications.rlogin_with_user", "xterm -e rlogin %h -l %u");
2869 pref("print.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
2870 pref("print.printer_list", ""); // list of printers, separated by spaces
2871 pref("print.print_reversed", false);
2872 pref("print.print_color", true);
2873 pref("print.print_landscape", false);
2874 pref("print.print_paper_size", 0);
2876 // print_extra_margin enables platforms to specify an extra gap or margin
2877 // around the content of the page for Print Preview only
2878 pref("print.print_extra_margin", 0); // twips
2880 pref("font.allow_double_byte_special_chars", true);
2881 // font names
2883 pref("font.alias-list", "sans,sans-serif,serif,monospace");
2885 // ar
2887 pref("font.name.serif.el", "serif");
2888 pref("font.name.sans-serif.el", "sans-serif");
2889 pref("font.name.monospace.el", "monospace");
2891 pref("font.name.serif.he", "serif");
2892 pref("font.name.sans-serif.he", "sans-serif");
2893 pref("font.name.monospace.he", "monospace");
2895 pref("font.name.serif.ja", "serif");
2896 pref("font.name.sans-serif.ja", "sans-serif");
2897 pref("font.name.monospace.ja", "monospace");
2899 pref("font.name.serif.ko", "serif");
2900 pref("font.name.sans-serif.ko", "sans-serif");
2901 pref("font.name.monospace.ko", "monospace");
2903 pref("font.name.serif.th", "serif");
2904 pref("font.name.sans-serif.th", "sans-serif");
2905 pref("font.name.monospace.th", "monospace");
2907 pref("font.name.serif.tr", "serif");
2908 pref("font.name.sans-serif.tr", "sans-serif");
2909 pref("font.name.monospace.tr", "monospace");
2911 pref("font.name.serif.x-baltic", "serif");
2912 pref("font.name.sans-serif.x-baltic", "sans-serif");
2913 pref("font.name.monospace.x-baltic", "monospace");
2915 pref("font.name.serif.x-central-euro", "serif");
2916 pref("font.name.sans-serif.x-central-euro", "sans-serif");
2917 pref("font.name.monospace.x-central-euro", "monospace");
2919 pref("font.name.serif.x-cyrillic", "serif");
2920 pref("font.name.sans-serif.x-cyrillic", "sans-serif");
2921 pref("font.name.monospace.x-cyrillic", "monospace");
2923 pref("font.name.serif.x-unicode", "serif");
2924 pref("font.name.sans-serif.x-unicode", "sans-serif");
2925 pref("font.name.monospace.x-unicode", "monospace");
2927 pref("font.name.serif.x-user-def", "serif");
2928 pref("font.name.sans-serif.x-user-def", "sans-serif");
2929 pref("font.name.monospace.x-user-def", "monospace");
2931 pref("font.name.serif.x-western", "serif");
2932 pref("font.name.sans-serif.x-western", "sans-serif");
2933 pref("font.name.monospace.x-western", "monospace");
2935 pref("font.name.serif.zh-CN", "serif");
2936 pref("font.name.sans-serif.zh-CN", "sans-serif");
2937 pref("font.name.monospace.zh-CN", "monospace");
2939 // ming_uni.ttf (HKSCS-2001) 
2940 // http://www.info.gov.hk/digital21/eng/hkscs/download/uime.exe
2941 pref("font.name.serif.zh-HK", "serif");
2942 pref("font.name.sans-serif.zh-HK", "sans-serif");
2943 pref("font.name.monospace.zh-HK", "monospace");
2945 // zh-TW
2947 pref("font.default.ar", "sans-serif");
2948 pref("font.size.variable.ar", 16);
2949 pref("font.size.fixed.ar", 12);
2951 pref("font.default.el", "serif");
2952 pref("font.size.variable.el", 16);
2953 pref("font.size.fixed.el", 12);
2955 pref("font.default.he", "sans-serif");
2956 pref("font.size.variable.he", 16);
2957 pref("font.size.fixed.he", 12);
2959 pref("font.default.ja", "sans-serif");
2960 pref("font.size.variable.ja", 16);
2961 pref("font.size.fixed.ja", 16);
2963 pref("font.default.ko", "sans-serif");
2964 pref("font.size.variable.ko", 16);
2965 pref("font.size.fixed.ko", 16);
2967 pref("font.default.th", "serif");
2968 pref("font.size.variable.th", 16);
2969 pref("font.size.fixed.th", 13);
2970 pref("font.minimum-size.th", 13);
2972 pref("font.default.tr", "serif");
2973 pref("font.size.variable.tr", 16);
2974 pref("font.size.fixed.tr", 12);
2976 pref("font.default.x-baltic", "serif");
2977 pref("font.size.variable.x-baltic", 16);
2978 pref("font.size.fixed.x-baltic", 12);
2980 pref("font.default.x-central-euro", "serif");
2981 pref("font.size.variable.x-central-euro", 16);
2982 pref("font.size.fixed.x-central-euro", 12);
2984 pref("font.default.x-cyrillic", "serif");
2985 pref("font.size.variable.x-cyrillic", 16);
2986 pref("font.size.fixed.x-cyrillic", 12);
2988 pref("font.default.x-unicode", "serif");
2989 pref("font.size.variable.x-unicode", 16);
2990 pref("font.size.fixed.x-unicode", 12);
2992 pref("font.default.x-user-def", "serif");
2993 pref("font.size.variable.x-user-def", 16);
2994 pref("font.size.fixed.x-user-def", 12);
2996 pref("font.default.x-western", "serif");
2997 pref("font.size.variable.x-western", 16);
2998 pref("font.size.fixed.x-western", 12);
3000 pref("font.default.zh-CN", "sans-serif");
3001 pref("font.size.variable.zh-CN", 16);
3002 pref("font.size.fixed.zh-CN", 16);
3004 pref("font.default.zh-TW", "sans-serif");
3005 pref("font.size.variable.zh-TW", 16);
3006 pref("font.size.fixed.zh-TW", 16);
3008 pref("font.default.zh-HK", "sans-serif");
3009 pref("font.size.variable.zh-HK", 16);
3010 pref("font.size.fixed.zh-HK", 16);
3012 pref("font.default.x-devanagari", "serif");
3013 pref("font.size.variable.x-devanagari", 16);
3014 pref("font.size.fixed.x-devanagari", 13);
3016 pref("font.default.x-tamil", "serif");
3017 pref("font.size.variable.x-tamil", 16);
3018 pref("font.size.fixed.x-tamil", 13);
3020 pref("font.default.x-armn", "serif");
3021 pref("font.size.variable.x-armn", 16);
3022 pref("font.size.fixed.x-armn", 13);
3024 pref("font.default.x-beng", "serif");
3025 pref("font.size.variable.x-beng", 16);
3026 pref("font.size.fixed.x-beng", 13);
3028 pref("font.default.x-cans", "serif");
3029 pref("font.size.variable.x-cans", 16);
3030 pref("font.size.fixed.x-cans", 13);
3032 pref("font.default.x-ethi", "serif");
3033 pref("font.size.variable.x-ethi", 16);
3034 pref("font.size.fixed.x-ethi", 13);
3036 pref("font.default.x-geor", "serif");
3037 pref("font.size.variable.x-geor", 16);
3038 pref("font.size.fixed.x-geor", 13);
3040 pref("font.default.x-gujr", "serif");
3041 pref("font.size.variable.x-gujr", 16);
3042 pref("font.size.fixed.x-gujr", 13);
3044 pref("font.default.x-guru", "serif");
3045 pref("font.size.variable.x-guru", 16);
3046 pref("font.size.fixed.x-guru", 13);
3048 pref("font.default.x-khmr", "serif");
3049 pref("font.size.variable.x-khmr", 16);
3050 pref("font.size.fixed.x-khmr", 13);
3052 pref("font.default.x-mlym", "serif");
3053 pref("font.size.variable.x-mlym", 16);
3054 pref("font.size.fixed.x-mlym", 13);
3056 pref("font.default.x-orya", "serif");
3057 pref("font.size.variable.x-orya", 16);
3058 pref("font.size.fixed.x-orya", 13);
3060 pref("font.default.x-telu", "serif");
3061 pref("font.size.variable.x-telu", 16);
3062 pref("font.size.fixed.x-telu", 13);
3064 pref("font.default.x-knda", "serif");
3065 pref("font.size.variable.x-knda", 16);
3066 pref("font.size.fixed.x-knda", 13);
3068 pref("font.default.x-sinh", "serif");
3069 pref("font.size.variable.x-sinh", 16);
3070 pref("font.size.fixed.x-sinh", 13);
3072 pref("font.default.x-tibt", "serif");
3073 pref("font.size.variable.x-tibt", 16);
3074 pref("font.size.fixed.x-tibt", 13);
3076 /* PostScript print module prefs */
3077 // pref("print.postscript.enabled",      true);
3078 pref("print.postscript.paper_size",    "letter");
3079 pref("print.postscript.orientation",   "portrait");
3080 pref("print.postscript.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
3082 // On GTK2 platform, we should use topmost window level for the default window
3083 // level of <panel> element of XUL. GTK2 has only two window types. One is
3084 // normal top level window, other is popup window. The popup window is always
3085 // topmost window level, therefore, we are using normal top level window for
3086 // non-topmost panel, but it is pretty hacky. On some Window Managers, we have
3087 // 2 problems:
3088 // 1. The non-topmost panel steals focus from its parent window at showing.
3089 // 2. The parent of non-topmost panel is not activated when the panel is hidden.
3090 // So, we have no reasons we should use non-toplevel window for popup.
3091 pref("ui.panel.default_level_parent", true);
3093 pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
3095 # XP_UNIX
3096 #endif
3097 #endif
3098 #endif
3100 #if OS_ARCH==OpenVMS
3102 pref("mail.use_builtin_movemail", false);
3104 pref("helpers.global_mime_types_file", "/sys$manager/netscape/mime.types");
3105 pref("helpers.global_mailcap_file", "/sys$manager/netscape/mailcap");
3106 pref("helpers.private_mime_types_file", "/sys$login/.mime.types");
3107 pref("helpers.private_mailcaptypes_file", "/sys$login/.mailcap");
3109 pref("applications.telnet", "create /term /detach \"telnet %h %p\"");
3110 pref("applications.tn3270", "create /term /detach \"telnet /term=IBM-3278-5 %h %p\"");
3111 pref("applications.rlogin", "create /term /detach \"rlogin %h\"");
3112 pref("applications.rlogin_with_user", "create /term /detach \"rlogin %h -l %u\"");
3114 /* PostScript module specific (see unix.js for additional configuration details) */
3115 pref("print.postscript.print_command", "print /delete");
3116 /* Print module independent */
3117 pref("print.print_command", "print /delete");
3118 pref("print.print_color", false);
3120 pref("browser.cache.disk.capacity", 4096);
3121 pref("plugin.soname.list", "");
3123 # OpenVMS
3124 #endif
3126 #if OS_ARCH==AIX
3128 // Override default Japanese fonts
3129 pref("font.name.serif.ja", "dt-interface system-jisx0208.1983-0");
3130 pref("font.name.sans-serif.ja", "dt-interface system-jisx0208.1983-0");
3131 pref("font.name.monospace.ja", "dt-interface user-jisx0208.1983-0");
3133 // Override default Cyrillic fonts
3134 pref("font.name.serif.x-cyrillic", "dt-interface system-iso8859-5");
3135 pref("font.name.sans-serif.x-cyrillic", "dt-interface system-iso8859-5");
3136 pref("font.name.monospace.x-cyrillic", "dt-interface user-iso8859-5");
3138 // Override default Unicode fonts
3139 pref("font.name.serif.x-unicode", "dt-interface system-ucs2.cjk_japan-0");
3140 pref("font.name.sans-serif.x-unicode", "dt-interface system-ucs2.cjk_japan-0");
3141 pref("font.name.monospace.x-unicode", "dt-interface user-ucs2.cjk_japan-0");
3143 # AIX
3144 #endif
3146 #ifdef SOLARIS
3148 pref("print.postscript.print_command", "lp -c -s ${MOZ_PRINTER_NAME:+-d\"$MOZ_PRINTER_NAME\"}");
3149 pref("print.print_command", "lp -c -s ${MOZ_PRINTER_NAME:+-d\"$MOZ_PRINTER_NAME\"}");
3151 # Solaris
3152 #endif
3154 // Login Manager prefs
3155 pref("signon.rememberSignons",              true);
3156 pref("signon.SignonFileName",               "signons.txt"); // obsolete 
3157 pref("signon.SignonFileName2",              "signons2.txt"); // obsolete
3158 pref("signon.SignonFileName3",              "signons3.txt"); // obsolete
3159 pref("signon.autofillForms",                true);
3160 pref("signon.autologin.proxy",              false);
3161 pref("signon.debug",                        false);
3163 // Satchel (Form Manager) prefs
3164 pref("browser.formfill.debug",            false);
3165 pref("browser.formfill.enable",           true);
3166 pref("browser.formfill.expire_days",      180);
3167 pref("browser.formfill.saveHttpsForms",   true);
3168 pref("browser.formfill.agedWeight",       2);
3169 pref("browser.formfill.bucketSize",       1);
3170 pref("browser.formfill.maxTimeGroupings", 25);
3171 pref("browser.formfill.timeGroupingSize", 604800);
3172 pref("browser.formfill.boundaryWeight",   25);
3173 pref("browser.formfill.prefixWeight",     5);
3175 // Zoom prefs
3176 pref("browser.zoom.full", false);
3177 pref("zoom.minPercent", 30);
3178 pref("zoom.maxPercent", 300);
3179 pref("toolkit.zoomManager.zoomValues", ".3,.5,.67,.8,.9,1,1.1,1.2,1.33,1.5,1.7,2,2.4,3");
3181 // Image cache prefs
3182 // The maximum size, in bytes, of the decoded images we cache
3183 pref("image.cache.size", 5242880);
3184 // A weight, from 0-1000, to place on time when comparing to size.
3185 // Size is given a weight of 1000 - timeweight.
3186 pref("image.cache.timeweight", 500);
3188 // The default Accept header sent for images loaded over HTTP(S)
3189 pref("image.http.accept", "image/png,image/*;q=0.8,*/*;q=0.5");
3192 // Image memory management prefs
3195 // Discards inactive image frames and re-decodes them on demand from
3196 // compressed data.
3197 pref("image.mem.discardable", true);
3199 // Prevents images from automatically being decoded on load, instead allowing
3200 // them to be decoded on demand when they are drawn.
3201 pref("image.mem.decodeondraw", false);
3203 // Minimum timeout for image discarding (in milliseconds). The actual time in
3204 // which an image must inactive for it to be discarded will vary between this
3205 // value and twice this value.
3206 pref("image.mem.min_discard_timeout_ms", 10000);
3208 // Chunk size for calls to the image decoders
3209 pref("image.mem.decode_bytes_at_a_time", 200000);
3211 // The longest time we can spend in an iteration of an async decode
3212 pref("image.mem.max_ms_before_yield", 400);
3214 // The maximum source data size for which we auto sync decode
3215 pref("image.mem.max_bytes_for_sync_decode", 150000);
3217 // WebGL prefs
3218 pref("webgl.force-enabled", false);
3219 pref("webgl.disabled", false);
3220 pref("webgl.shader_validator", true);
3221 pref("webgl.force_osmesa", false);
3222 pref("webgl.osmesalib", "");
3223 pref("webgl.verbose", false);
3224 pref("webgl.prefer-native-gl", false);
3226 #ifdef XP_WIN
3227 #ifndef WINCE
3228 // The default TCP send window on Windows is too small, and autotuning only occurs on receive
3229 pref("network.tcp.sendbuffer", 131072);
3230 #endif
3231 #endif
3233 #ifdef WINCE
3234 pref("mozilla.widget.disable-native-theme", true);
3235 pref("gfx.color_management.mode", 0);
3236 #endif
3238 // Whether to disable acceleration for all widgets.
3239 pref("layers.acceleration.disabled", false);
3241 // Whether to force acceleration on, ignoring blacklists.
3242 pref("layers.acceleration.force-enabled", false);
3244 #ifdef XP_WIN
3245 #ifndef WINCE
3246 // Whether to disable the automatic detection and use of direct2d.
3247 pref("gfx.direct2d.disabled", false);
3248 // Whether to attempt to enable Direct2D regardless of automatic detection or
3249 // blacklisting
3250 pref("gfx.direct2d.force-enabled", false);
3252 pref("layers.prefer-opengl", false);
3253 pref("layers.prefer-d3d9", false);
3254 #endif
3255 #endif
3257 // Enable/Disable the geolocation API for content
3258 pref("geo.enabled", true);
3260 // Enable/Disable the orientation API for content
3261 pref("accelerometer.enabled", true);
3263 // Enable/Disable HTML5 parser
3264 pref("html5.enable", true);
3265 // Toggle which thread the HTML5 parser uses for stream parsing
3266 pref("html5.offmainthread", true);
3267 // Time in milliseconds between the time a network buffer is seen and the 
3268 // timer firing when the timer hasn't fired previously in this parse in the 
3269 // off-the-main-thread HTML5 parser.
3270 pref("html5.flushtimer.initialdelay", 120);
3271 // Time in milliseconds between the time a network buffer is seen and the 
3272 // timer firing when the timer has already fired previously in this parse.
3273 pref("html5.flushtimer.subsequentdelay", 120);
3275 // Push/Pop/Replace State prefs
3276 pref("browser.history.allowPushState", true);
3277 pref("browser.history.allowReplaceState", true);
3278 pref("browser.history.allowPopState", true);
3279 pref("browser.history.maxStateObjectSize", 655360);
3281 // XPInstall prefs
3282 pref("xpinstall.whitelist.required", true);
3283 pref("extensions.alwaysUnpack", false);
3285 pref("network.buffer.cache.count", 24);
3286 pref("network.buffer.cache.size",  32768);
3288 // Desktop Notification
3289 pref("notification.feature.enabled", false);