adding color management capabilities -- preffed off. bug 16769. patch from tor....
[mozilla-central.git] / modules / libpref / src / init / all.js
blob911546cadca064f9a8e300bc5fad6756b27bccdf
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://navigator/locale/navigator.properties");
54 pref("general.config.obscure_value", 13); // for MCD .cfg files
56 pref("general.warnOnAboutConfig", true);
58 // maximum number of dated backups to keep at any time
59 pref("browser.bookmarks.max_backups",       5);
61 pref("browser.cache.disk.enable",           true);
62 pref("browser.cache.disk.capacity",         51200);
63 pref("browser.cache.memory.enable",         true);
64 //pref("browser.cache.memory.capacity",     -1);
65 // -1 = determine dynamically, 0 = none, n = memory capacity in kilobytes
66 pref("browser.cache.disk_cache_ssl",        false);
67 // 0 = once-per-session, 1 = each-time, 2 = never, 3 = when-appropriate/automatically
68 pref("browser.cache.check_doc_frequency",   3);
70 pref("browser.cache.offline.enable",           true);
71 // offline cache capacity in kilobytes
72 pref("browser.cache.offline.capacity",         10240);
74 // Fastback caching - if this pref is negative, then we calculate the number
75 // of content viewers to cache based on the amount of available memory.
76 pref("browser.sessionhistory.max_total_viewers", -1);
78 pref("browser.display.use_document_fonts",  1);  // 0 = never, 1 = quick, 2 = always
79 pref("browser.display.use_document_colors", true);
80 pref("browser.display.use_system_colors",   false);
81 pref("browser.display.foreground_color",    "#000000");
82 pref("browser.display.background_color",    "#FFFFFF");
83 pref("browser.display.force_inline_alttext", false); // true = force ALT text for missing images to be layed out inline
84 // 0 = no external leading, 
85 // 1 = use external leading only when font provides, 
86 // 2 = add extra leading both internal leading and external leading are zero
87 pref("browser.display.normal_lineheight_calc_control", 2);
88 pref("browser.display.show_image_placeholders", true); // true = show image placeholders while image is loaded and when image is broken
89 pref("browser.anchor_color",                "#0000EE");
90 pref("browser.active_color",                "#EE0000");
91 pref("browser.visited_color",               "#551A8B");
92 pref("browser.underline_anchors",           true);
93 pref("browser.blink_allowed",               true);
94 pref("browser.enable_automatic_image_resizing", false);
96 // See http://whatwg.org/specs/web-apps/current-work/#ping
97 pref("browser.send_pings", false);
98 pref("browser.send_pings.max_per_link", 1);           // limit the number of pings that are sent per link click
99 pref("browser.send_pings.require_same_host", false);  // only send pings to the same host if this is true
101 pref("browser.display.use_focus_colors",    false);
102 pref("browser.display.focus_background_color", "#117722");
103 pref("browser.display.focus_text_color",     "#ffffff");
104 pref("browser.display.focus_ring_width",     1);
105 pref("browser.display.focus_ring_on_anything", false);
107 pref("browser.helperApps.alwaysAsk.force",  false);
108 pref("browser.helperApps.neverAsk.saveToDisk", "");
109 pref("browser.helperApps.neverAsk.openFile", "");
111 // xxxbsmedberg: where should prefs for the toolkit go?
112 pref("browser.chrome.toolbar_tips",         true);
113 // 0 = Pictures Only, 1 = Text Only, 2 = Pictures and Text
114 pref("browser.chrome.toolbar_style",        2);
115 // max image size for which it is placed in the tab icon for tabbrowser.
116 // if 0, no images are used for tab icons for image documents.
117 pref("browser.chrome.image_icons.max_size", 1024);
119 pref("browser.triple_click_selects_paragraph", true);
121 pref("gfx.color_management.enabled", false);
122 pref("gfx.color_management.display_profile", "");
124 pref("accessibility.browsewithcaret", false);
125 pref("accessibility.warn_on_browsewithcaret", true);
127 #ifndef XP_MACOSX
128 // Tab focus model bit field:
129 // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
130 // Most users will want 1, 3, or 7.
131 // On OS X, we use Full Keyboard Access system preference,
132 // unless accessibility.tabfocus is set by the user.
133 pref("accessibility.tabfocus", 7);
134 pref("accessibility.tabfocus_applies_to_xul", false);
136 // On OS X, we follow the "Click in the scrollbar to:" system preference
137 // unless this preference was set manually
138 pref("ui.scrollToClick", 0);
140 #else
141 // Only on mac tabfocus is expected to handle UI widgets as well as web content
142 pref("accessibility.tabfocus_applies_to_xul", true);
143 #endif
145 pref("accessibility.usetexttospeech", "");
146 pref("accessibility.usebrailledisplay", "");
147 pref("accessibility.accesskeycausesactivation", true);
149 // Type Ahead Find
150 pref("accessibility.typeaheadfind", true);
151 pref("accessibility.typeaheadfind.autostart", true);
152 // casesensitive: controls the find bar's case-sensitivity
153 //     0 - "never"  (case-insensitive)
154 //     1 - "always" (case-sensitive)
155 // other - "auto"   (case-sensitive for mixed-case input, insensitive otherwise)
156 pref("accessibility.typeaheadfind.casesensitive", 0);
157 pref("accessibility.typeaheadfind.linksonly", true);
158 pref("accessibility.typeaheadfind.startlinksonly", false);
159 pref("accessibility.typeaheadfind.timeout", 4000);
160 pref("accessibility.typeaheadfind.enabletimeout", true);
161 pref("accessibility.typeaheadfind.soundURL", "beep");
162 pref("accessibility.typeaheadfind.enablesound", true);
163 pref("accessibility.typeaheadfind.prefillwithselection", true);
165 pref("browser.history_expire_days", 9);
167 // loading and rendering of framesets and iframes
168 pref("browser.frames.enabled", true);
170 // form submission
171 pref("browser.forms.submit.backwards_compatible", true);
173 // xxxbsmedberg more toolkit prefs?
174 // Tab browser preferences.
175 pref("browser.tabs.autoHide", true);
176 pref("browser.tabs.forceHide", false);
177 pref("browser.tabs.warnOnClose", true);
178 pref("browser.tabs.warnOnCloseOther", true);
179 pref("browser.tabs.warnOnOpen", true);
180 pref("browser.tabs.maxOpenBeforeWarn", 15);
181 // 0 = append, 1 = replace
182 pref("browser.tabs.loadGroup", 1);
184 pref("toolkit.scrollbox.scrollIncrement", 20);
185 pref("toolkit.scrollbox.clickToScroll.scrollDelay", 150);
187 // lets new tab/window load something different than first window
188 // -1 - use navigator startup preference
189 //  0 - loads blank page
190 //  1 - loads home page
191 //  2 - loads last page visited
192 pref("browser.tabs.loadOnNewTab", 0);
193 pref("browser.windows.loadOnNewWindow", 1);
195 // view source
196 pref("view_source.syntax_highlight", true);
197 pref("view_source.wrap_long_lines", false);
199 // dispatch left clicks only to content in browser (still allows clicks to chrome/xul)
200 pref("nglayout.events.dispatchLeftClickOnly", true);
202 // whether or not to draw images while dragging
203 pref("nglayout.enable_drag_images", true);
205 // whether or not to use xbl form controls
206 pref("nglayout.debug.enable_xbl_forms", false);
208 // scrollbar snapping region
209 // 0 - off
210 // 1 and higher - slider thickness multiple
211 pref("slider.snapMultiplier", 0);
213 // option to choose plug-in finder
214 pref("application.use_ns_plugin_finder", false);
216 // URI fixup prefs
217 pref("browser.fixup.alternate.enabled", true);
218 pref("browser.fixup.alternate.prefix", "www.");
219 pref("browser.fixup.alternate.suffix", ".com");
220 pref("browser.fixup.hide_user_pass", true);
222 // Print header customization
223 // Use the following codes:
224 // &T - Title
225 // &U - Document URL
226 // &D - Date/Time
227 // &P - Page Number
228 // &PT - Page Number "of" Page total
229 // Set each header to a string containing zero or one of these codes
230 // and the code will be replaced in that string by the corresponding data
231 pref("print.print_headerleft", "&T");
232 pref("print.print_headercenter", "");
233 pref("print.print_headerright", "&U");
234 pref("print.print_footerleft", "&PT");
235 pref("print.print_footercenter", "");
236 pref("print.print_footerright", "&D");
237 pref("print.show_print_progress", true);
239 // xxxbsmedberg: more toolkit prefs
241 // When this is set to false each window has its own PrintSettings
242 // and a change in one window does not affect the others
243 pref("print.use_global_printsettings", true);
245 // Use the native dialog or the XP dialog?
246 pref("print.use_native_print_dialog", false);
248 // Save the Printings after each print job
249 pref("print.save_print_settings", true);
251 pref("print.whileInPrintPreview", true);
253 // Cache old Presentation when going into Print Preview
254 pref("print.always_cache_old_pres", false);
256 // Enables you to specify the gap from the edge of the paper to the margin
257 // this is used by both Printing and Print Preview
258 pref("print.print_edge_top", 0); // 1/100 of an inch
259 pref("print.print_edge_left", 0); // 1/100 of an inch
260 pref("print.print_edge_right", 0); // 1/100 of an inch
261 pref("print.print_edge_bottom", 0); // 1/100 of an inch
263 // Pref used by the spellchecker extension to control the 
264 // maximum number of misspelled words that will be underlined
265 // in a document.
266 pref("extensions.spellcheck.inline.max-misspellings", 500);
268 // Prefs used by libeditor. Prefs specific to seamonkey composer
269 // belong in mozilla/editor/ui/composer.js
271 pref("editor.use_custom_colors", false);
272 pref("editor.htmlWrapColumn", 72);
273 pref("editor.singleLine.pasteNewlines",     1);
274 pref("editor.quotesPreformatted",            false);
275 pref("editor.use_css",                       true);
276 pref("editor.css.default_length_unit",       "px");
277 pref("editor.resizing.preserve_ratio",       true);
278 pref("editor.positioning.offset",            0);
281 // Default Capability Preferences: Security-Critical! 
282 // Editing these may create a security risk - be sure you know what you're doing
283 //pref("capability.policy.default.barprop.visible.set", "UniversalBrowserWrite");
285 pref("capability.policy.default_policynames", "mailnews");
287 pref("capability.policy.default.DOMException.code", "allAccess");
288 pref("capability.policy.default.DOMException.message", "allAccess");
289 pref("capability.policy.default.DOMException.name", "allAccess");
290 pref("capability.policy.default.DOMException.result", "allAccess");
291 pref("capability.policy.default.DOMException.toString.get", "allAccess");
293 pref("capability.policy.default.History.back.get", "allAccess");
294 pref("capability.policy.default.History.current", "UniversalBrowserRead");
295 pref("capability.policy.default.History.forward.get", "allAccess");
296 pref("capability.policy.default.History.go.get", "allAccess");
297 pref("capability.policy.default.History.item", "UniversalBrowserRead");
298 pref("capability.policy.default.History.next", "UniversalBrowserRead");
299 pref("capability.policy.default.History.previous", "UniversalBrowserRead");
300 pref("capability.policy.default.History.toString", "UniversalBrowserRead");
302 pref("capability.policy.default.HTMLDocument.open.get", "allAccess");
304 pref("capability.policy.default.Location.hash.set", "allAccess");
305 pref("capability.policy.default.Location.href.set", "allAccess");
306 pref("capability.policy.default.Location.replace.get", "allAccess");
308 pref("capability.policy.default.Navigator.preference", "allAccess");
309 pref("capability.policy.default.Navigator.preferenceinternal.get", "UniversalPreferencesRead");
310 pref("capability.policy.default.Navigator.preferenceinternal.set", "UniversalPreferencesWrite");
312 pref("capability.policy.default.Window.blur.get", "allAccess");
313 pref("capability.policy.default.Window.close.get", "allAccess");
314 pref("capability.policy.default.Window.closed.get", "allAccess");
315 pref("capability.policy.default.Window.document.get", "allAccess");
316 pref("capability.policy.default.Window.focus.get", "allAccess");
317 pref("capability.policy.default.Window.frames.get", "allAccess");
318 pref("capability.policy.default.Window.history.get", "allAccess");
319 pref("capability.policy.default.Window.length.get", "allAccess");
320 pref("capability.policy.default.Window.location", "allAccess");
321 pref("capability.policy.default.Window.opener.get", "allAccess");
322 pref("capability.policy.default.Window.parent.get", "allAccess");
323 pref("capability.policy.default.Window.self.get", "allAccess");
324 pref("capability.policy.default.Window.top.get", "allAccess");
325 pref("capability.policy.default.Window.window.get", "allAccess");
327 pref("capability.policy.default.Selection.addSelectionListener", "UniversalXPConnect");
328 pref("capability.policy.default.Selection.removeSelectionListener", "UniversalXPConnect");
330 // Restrictions on the DOM for mail/news - see bugs 66938 and 84545
331 pref("capability.policy.mailnews.sites", "mailbox: imap: news:");
333 pref("capability.policy.mailnews.*.attributes.get", "noAccess");
334 pref("capability.policy.mailnews.*.baseURI.get", "noAccess");
335 pref("capability.policy.mailnews.*.data.get", "noAccess");
336 pref("capability.policy.mailnews.*.getAttribute", "noAccess");
337 pref("capability.policy.mailnews.HTMLDivElement.getAttribute", "sameOrigin");
338 pref("capability.policy.mailnews.*.getAttributeNS", "noAccess");
339 pref("capability.policy.mailnews.*.getNamedItem", "noAccess");
340 pref("capability.policy.mailnews.*.getNamedItemNS", "noAccess");
341 pref("capability.policy.mailnews.*.host.get", "noAccess");
342 pref("capability.policy.mailnews.*.hostname.get", "noAccess");
343 pref("capability.policy.mailnews.*.href.get", "noAccess");
344 pref("capability.policy.mailnews.*.innerHTML.get", "noAccess");
345 pref("capability.policy.mailnews.*.lowSrc.get", "noAccess");
346 pref("capability.policy.mailnews.*.nodeValue.get", "noAccess");
347 pref("capability.policy.mailnews.*.pathname.get", "noAccess");
348 pref("capability.policy.mailnews.*.protocol.get", "noAccess");
349 pref("capability.policy.mailnews.*.src.get", "noAccess");
350 pref("capability.policy.mailnews.*.substringData.get", "noAccess");
351 pref("capability.policy.mailnews.*.text.get", "noAccess");
352 pref("capability.policy.mailnews.*.title.get", "noAccess");
353 pref("capability.policy.mailnews.DOMException.toString", "noAccess");
354 pref("capability.policy.mailnews.HTMLAnchorElement.toString", "noAccess");
355 pref("capability.policy.mailnews.HTMLDocument.domain", "noAccess");
356 pref("capability.policy.mailnews.HTMLDocument.URL", "noAccess");
357 pref("capability.policy.mailnews.Location.toString", "noAccess");
358 pref("capability.policy.mailnews.Range.toString", "noAccess");
359 pref("capability.policy.mailnews.Window.blur", "noAccess");
360 pref("capability.policy.mailnews.Window.focus", "noAccess");
361 pref("capability.policy.mailnews.Window.innerWidth.set", "noAccess");
362 pref("capability.policy.mailnews.Window.innerHeight.set", "noAccess");
363 pref("capability.policy.mailnews.Window.moveBy", "noAccess");
364 pref("capability.policy.mailnews.Window.moveTo", "noAccess");
365 pref("capability.policy.mailnews.Window.name.set", "noAccess");
366 pref("capability.policy.mailnews.Window.outerHeight.set", "noAccess");
367 pref("capability.policy.mailnews.Window.outerWidth.set", "noAccess");
368 pref("capability.policy.mailnews.Window.resizeBy", "noAccess");
369 pref("capability.policy.mailnews.Window.resizeTo", "noAccess");
370 pref("capability.policy.mailnews.Window.screenX.set", "noAccess");
371 pref("capability.policy.mailnews.Window.screenY.set", "noAccess");
372 pref("capability.policy.mailnews.Window.sizeToContent", "noAccess");
373 pref("capability.policy.mailnews.document.load", "noAccess");
374 pref("capability.policy.mailnews.XMLHttpRequest.channel", "noAccess");
375 pref("capability.policy.mailnews.XMLHttpRequest.getInterface", "noAccess");
376 pref("capability.policy.mailnews.XMLHttpRequest.responseXML", "noAccess");
377 pref("capability.policy.mailnews.XMLHttpRequest.responseText", "noAccess");
378 pref("capability.policy.mailnews.XMLHttpRequest.status", "noAccess");
379 pref("capability.policy.mailnews.XMLHttpRequest.statusText", "noAccess");
380 pref("capability.policy.mailnews.XMLHttpRequest.abort", "noAccess");
381 pref("capability.policy.mailnews.XMLHttpRequest.getAllResponseHeaders", "noAccess");
382 pref("capability.policy.mailnews.XMLHttpRequest.getResponseHeader", "noAccess");
383 pref("capability.policy.mailnews.XMLHttpRequest.open", "noAccess");
384 pref("capability.policy.mailnews.XMLHttpRequest.send", "noAccess");
385 pref("capability.policy.mailnews.XMLHttpRequest.setRequestHeader", "noAccess");
386 pref("capability.policy.mailnews.XMLHttpRequest.readyState", "noAccess");
387 pref("capability.policy.mailnews.XMLHttpRequest.overrideMimeType", "noAccess");
388 pref("capability.policy.mailnews.XMLHttpRequest.onload", "noAccess");
389 pref("capability.policy.mailnews.XMLHttpRequest.onerror", "noAccess");
390 pref("capability.policy.mailnews.XMLHttpRequest.onreadystatechange", "noAccess");
391 pref("capability.policy.mailnews.XMLSerializer.serializeToString", "noAccess");
392 pref("capability.policy.mailnews.XMLSerializer.serializeToStream", "noAccess");
393 pref("capability.policy.mailnews.DOMParser.parseFromString", "noAccess");
394 pref("capability.policy.mailnews.DOMParser.parseFromStream", "noAccess");
395 pref("capability.policy.mailnews.SOAPCall.transportURI", "noAccess");
396 pref("capability.policy.mailnews.SOAPCall.verifySourceHeader", "noAccess");
397 pref("capability.policy.mailnews.SOAPCall.invoke", "noAccess");
398 pref("capability.policy.mailnews.SOAPCall.asyncInvoke", "noAccess");
399 pref("capability.policy.mailnews.SOAPResponse.fault", "noAccess");
400 pref("capability.policy.mailnews.SOAPEncoding.styleURI", "noAccess");
401 pref("capability.policy.mailnews.SOAPEncoding.getAssociatedEncoding", "noAccess");
402 pref("capability.policy.mailnews.SOAPEncoding.setEncoder", "noAccess");
403 pref("capability.policy.mailnews.SOAPEncoding.getEncoder", "noAccess");
404 pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
405 pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
406 pref("capability.policy.mailnews.SOAPEncoding.getDecoder", "noAccess");
407 pref("capability.policy.mailnews.SOAPEncoding.defaultEncoder", "noAccess");
408 pref("capability.policy.mailnews.SOAPEncoding.defaultDecoder", "noAccess");
409 pref("capability.policy.mailnews.SOAPEncoding.schemaCollection", "noAccess");
410 pref("capability.policy.mailnews.SOAPEncoding.encode", "noAccess");
411 pref("capability.policy.mailnews.SOAPEncoding.decode", "noAccess");
412 pref("capability.policy.mailnews.SOAPEncoding.mapSchemaURI", "noAccess");
413 pref("capability.policy.mailnews.SOAPEncoding.unmapSchemaURI", "noAccess");
414 pref("capability.policy.mailnews.SOAPEncoding.getInternalSchemaURI", "noAccess");
415 pref("capability.policy.mailnews.SOAPEncoding.getExternalSchemaURI", "noAccess");
416 pref("capability.policy.mailnews.SOAPFault.element", "noAccess");
417 pref("capability.policy.mailnews.SOAPFault.faultNamespaceURI", "noAccess");
418 pref("capability.policy.mailnews.SOAPFault.faultCode", "noAccess");
419 pref("capability.policy.mailnews.SOAPFault.faultString", "noAccess");
420 pref("capability.policy.mailnews.SOAPFault.faultActor", "noAccess");
421 pref("capability.policy.mailnews.SOAPFault.detail", "noAccess");
422 pref("capability.policy.mailnews.SOAPHeaderBlock.actorURI", "noAccess");
423 pref("capability.policy.mailnews.SOAPHeaderBlock.mustUnderstand", "noAccess");
424 pref("capability.policy.mailnews.SOAPParameter", "noAccess");
425 pref("capability.policy.mailnews.SOAPPropertyBagMutator.propertyBag", "noAccess");
426 pref("capability.policy.mailnews.SOAPPropertyBagMutator.addProperty", "noAccess");
427 pref("capability.policy.mailnews.SchemaLoader.load", "noAccess");
428 pref("capability.policy.mailnews.SchemaLoader.loadAsync", "noAccess");
429 pref("capability.policy.mailnews.SchemaLoader.processSchemaElement", "noAccess");
430 pref("capability.policy.mailnews.SchemaLoader.onLoad", "noAccess");
431 pref("capability.policy.mailnews.SchemaLoader.onError", "noAccess");
432 pref("capability.policy.mailnews.WSDLLoader.load", "noAccess");
433 pref("capability.policy.mailnews.WSDLLoader.loadAsync", "noAccess");
434 pref("capability.policy.mailnews.WSDLLoader.onLoad", "noAccess");
435 pref("capability.policy.mailnews.WSDLLoader.onError", "noAccess");
436 pref("capability.policy.mailnews.WebServiceProxyFactory.createProxy", "noAccess");
437 pref("capability.policy.mailnews.WebServiceProxyFactory.createProxyAsync", "noAccess");
438 pref("capability.policy.mailnews.WebServiceProxyFactory.onLoad", "noAccess");
439 pref("capability.policy.mailnews.WebServiceProxyFactory.onError", "noAccess");
441 // XMLExtras
442 pref("capability.policy.default.XMLHttpRequest.channel", "noAccess");
443 pref("capability.policy.default.XMLHttpRequest.getInterface", "noAccess");
444 pref("capability.policy.default.DOMParser.parseFromStream", "noAccess");
446 // Clipboard
447 pref("capability.policy.default.Clipboard.cutcopy", "noAccess");
448 pref("capability.policy.default.Clipboard.paste", "noAccess");
450 // Scripts & Windows prefs
451 pref("dom.disable_image_src_set",           false);
452 pref("dom.disable_window_flip",             false);
453 pref("dom.disable_window_move_resize",      false);
454 pref("dom.disable_window_status_change",    false);
456 pref("dom.disable_window_open_feature.titlebar",    false);
457 pref("dom.disable_window_open_feature.close",       false);
458 pref("dom.disable_window_open_feature.toolbar",     false);
459 pref("dom.disable_window_open_feature.location",    false);
460 pref("dom.disable_window_open_feature.directories", false);
461 pref("dom.disable_window_open_feature.personalbar", false);
462 pref("dom.disable_window_open_feature.menubar",     false);
463 pref("dom.disable_window_open_feature.scrollbars",  false);
464 pref("dom.disable_window_open_feature.resizable",   false);
465 pref("dom.disable_window_open_feature.minimizable", false);
466 pref("dom.disable_window_open_feature.status",      true);
468 pref("dom.allow_scripts_to_close_windows",          false);
470 pref("dom.disable_open_during_load",                false);
471 pref("dom.popup_maximum",                           20);
472 pref("dom.popup_allowed_events", "change click dblclick mouseup reset submit");
473 pref("dom.disable_open_click_delay", 1000);
475 pref("dom.storage.enabled", true);
477 // Disable popups from plugins by default
478 //   0 = openAllowed
479 //   1 = openControlled
480 //   2 = openAbused
481 pref("privacy.popups.disable_from_plugins", 2);
483 pref("dom.event.contextmenu.enabled",       true);
485 pref("javascript.enabled",                  true);
486 pref("javascript.allow.mailnews",           false);
487 pref("javascript.options.strict",           false);
488 pref("javascript.options.relimit",          false);
490 // advanced prefs
491 pref("security.enable_java",                true);
492 pref("advanced.mailftp",                    false);
493 pref("image.animation_mode",                "normal");
495 // If there is ever a security firedrill that requires
496 // us to block certian ports global, this is the pref 
497 // to use.  Is is a comma delimited list of port numbers
498 // for example:
499 //   pref("network.security.ports.banned", "1,2,3,4,5");
500 // prevents necko connecting to ports 1-5 unless the protocol
501 // overrides.
503 // Default action for unlisted external protocol handlers
504 pref("network.protocol-handler.external-default", true);      // OK to load
505 pref("network.protocol-handler.warn-external-default", true); // warn before load
507 // Prevent using external protocol handlers for these schemes
508 pref("network.protocol-handler.external.hcp", false);
509 pref("network.protocol-handler.external.vbscript", false);
510 pref("network.protocol-handler.external.javascript", false);
511 pref("network.protocol-handler.external.data", false);
512 pref("network.protocol-handler.external.ms-help", false);
513 pref("network.protocol-handler.external.shell", false);
514 pref("network.protocol-handler.external.vnd.ms.radio", false);
515 #ifdef XP_MACOSX
516 pref("network.protocol-handler.external.help", false);
517 #endif
518 pref("network.protocol-handler.external.disk", false);
519 pref("network.protocol-handler.external.disks", false);
520 pref("network.protocol-handler.external.afp", false);
522 // An exposed protocol handler is one that can be used in all contexts.  A
523 // non-exposed protocol handler is one that can only be used internally by the
524 // application.  For example, a non-exposed protocol would not be loaded by the
525 // application in response to a link click or a X-remote openURL command.
526 // Instead, it would be deferred to the system's external protocol handler.
527 // Only internal/built-in protocol handlers can be marked as exposed.
529 // This pref controls the default settings.  Per protocol settings can be used
530 // to override this value.
531 pref("network.protocol-handler.expose-all", true);
533 // Example: make IMAP an exposed protocol
534 // pref("network.protocol-handler.expose.imap", true);
536 pref("network.hosts.smtp_server",           "mail");
537 pref("network.hosts.pop_server",            "mail");
539 // <http>
540 pref("network.http.version", "1.1");      // default
541 // pref("network.http.version", "1.0");   // uncomment this out in case of problems
542 // pref("network.http.version", "0.9");   // it'll work too if you're crazy
543 // keep-alive option is effectively obsolete. Nevertheless it'll work with
544 // some older 1.0 servers:
546 pref("network.http.proxy.version", "1.1");    // default
547 // pref("network.http.proxy.version", "1.0"); // uncomment this out in case of problems
548                                               // (required if using junkbuster proxy)
550 // enable caching of http documents
551 pref("network.http.use-cache", true);
553 // this preference can be set to override the socket type used for normal
554 // HTTP traffic.  an empty value indicates the normal TCP/IP socket type.
555 pref("network.http.default-socket-type", "");
557 pref("network.http.keep-alive", true); // set it to false in case of problems
558 pref("network.http.proxy.keep-alive", true);
559 pref("network.http.keep-alive.timeout", 300);
561 // limit the absolute number of http connections.
562 pref("network.http.max-connections", 24);
564 // limit the absolute number of http connections that can be established per
565 // host.  if a http proxy server is enabled, then the "server" is the proxy
566 // server.  Otherwise, "server" is the http origin server.
567 pref("network.http.max-connections-per-server", 8);
569 // if network.http.keep-alive is true, and if NOT connecting via a proxy, then
570 // a new connection will only be attempted if the number of active persistent
571 // connections to the server is less then max-persistent-connections-per-server.
572 pref("network.http.max-persistent-connections-per-server", 2);
574 // if network.http.keep-alive is true, and if connecting via a proxy, then a
575 // new connection will only be attempted if the number of active persistent
576 // connections to the proxy is less then max-persistent-connections-per-proxy.
577 pref("network.http.max-persistent-connections-per-proxy", 4);
579 // amount of time (in seconds) to suspend pending requests, before spawning a
580 // new connection, once the limit on the number of persistent connections per
581 // host has been reached.  however, a new connection will not be created if
582 // max-connections or max-connections-per-server has also been reached.
583 pref("network.http.request.max-start-delay", 10);
585 // Headers
586 pref("network.http.accept.default", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
587 pref("network.http.sendRefererHeader",      2); // 0=don't send any, 1=send only on clicks, 2=send on image requests as well
589 // Controls whether we send HTTPS referres to other HTTPS sites.
590 // By default this is enabled for compatibility (see bug 141641)
591 pref("network.http.sendSecureXSiteReferrer", true);
593 // Maximum number of consecutive redirects before aborting.
594 pref("network.http.redirection-limit", 20);
596 // Enable http compression: comment this out in case of problems with 1.1
597 // NOTE: support for "compress" has been disabled per bug 196406.
598 pref("network.http.accept-encoding" ,"gzip,deflate");
600 pref("network.http.pipelining"      , false);
601 pref("network.http.proxy.pipelining", false);
603 // Max number of requests in the pipeline
604 pref("network.http.pipelining.maxrequests" , 4);
606 // </http>
608 // This preference controls whether or not internationalized domain names (IDN)
609 // are handled.  IDN requires a nsIIDNService implementation.
610 pref("network.enableIDN", true);
612 // This preference, if true, causes all UTF-8 domain names to be normalized to
613 // punycode.  The intention is to allow UTF-8 domain names as input, but never
614 // generate them from punycode.
615 pref("network.IDN_show_punycode", false);
617 // TLDs with "network.IDN.whitelist.tld" explicitly set to true are treated as 
618 // IDN-safe. Otherwise, they're treated as unsafe and punycode will be used
619 // for displaying them in the UI (e.g. URL bar). Note that these preferences
620 // are referred to ONLY when "network.IDN_show_punycode" is false. In other
621 // words, all IDNs will be shown in punycode if "network.IDN_show_punycode"
622 // is true.
624 // ccTLDs
625 pref("network.IDN.whitelist.ac", true);
626 pref("network.IDN.whitelist.at", true);
627 pref("network.IDN.whitelist.br", true);
628 pref("network.IDN.whitelist.ch", true);
629 pref("network.IDN.whitelist.cl", true);
630 pref("network.IDN.whitelist.cn", true);
631 pref("network.IDN.whitelist.de", true);
632 pref("network.IDN.whitelist.dk", true);
633 pref("network.IDN.whitelist.fi", true);
634 pref("network.IDN.whitelist.gr", true);
635 pref("network.IDN.whitelist.hu", true);
636 pref("network.IDN.whitelist.io", true);
637 pref("network.IDN.whitelist.is", true);
638 pref("network.IDN.whitelist.jp", true);
639 pref("network.IDN.whitelist.kr", true);
640 pref("network.IDN.whitelist.li", true);
641 pref("network.IDN.whitelist.lt", true);
642 pref("network.IDN.whitelist.no", true);
643 pref("network.IDN.whitelist.se", true);
644 pref("network.IDN.whitelist.sh", true);
645 pref("network.IDN.whitelist.th", true);
646 pref("network.IDN.whitelist.tm", true);
647 pref("network.IDN.whitelist.tw", true);
648 pref("network.IDN.whitelist.vn", true);
650 // non-ccTLDs
651 pref("network.IDN.whitelist.biz", true);
652 pref("network.IDN.whitelist.cat", true);
653 pref("network.IDN.whitelist.info", true);
654 pref("network.IDN.whitelist.museum", true);
655 pref("network.IDN.whitelist.org", true);
657 // If a domain includes any of the following characters, it may be a spoof 
658 // attempt and so we always display the domain name as punycode. This would 
659 // override the settings "network.IDN_show_punycode" and 
660 // "network.IDN.whitelist.*".
661 pref("network.IDN.blacklist_chars", "\u0020\u00A0\u00BC\u00BD\u01C3\u0337\u0338\u05C3\u05F4\u06D4\u0702\u115F\u1160\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u200B\u2024\u2027\u2028\u2029\u202F\u2039\u203A\u2044\u205F\u2154\u2155\u2156\u2159\u215A\u215B\u215F\u2215\u23AE\u29F6\u29F8\u2AFB\u2AFD\u2FF0\u2FF1\u2FF2\u2FF3\u2FF4\u2FF5\u2FF6\u2FF7\u2FF8\u2FF9\u2FFA\u2FFB\u3000\u3002\u3014\u3015\u3033\u3164\u321D\u321E\u33AE\u33AF\u33C6\u33DF\uFE14\uFE15\uFE3F\uFE5D\uFE5E\uFEFF\uFF0E\uFF0F\uFF61\uFFA0\uFFF9\uFFFA\uFFFB\uFFFC\uFFFD");
663 // This preference specifies a list of domains for which DNS lookups will be
664 // IPv4 only. Works around broken DNS servers which can't handle IPv6 lookups
665 // and/or allows the user to disable IPv6 on a per-domain basis. See bug 68796.
666 pref("network.dns.ipv4OnlyDomains", ".doubleclick.net");
668 // This preference can be used to turn off IPv6 name lookups. See bug 68796.
669 pref("network.dns.disableIPv6", false);
671 // This preference controls whether or not URLs with UTF-8 characters are
672 // escaped.  Set this preference to TRUE for strict RFC2396 conformance.
673 pref("network.standard-url.escape-utf8", true);
675 // This preference controls whether or not URLs are always encoded and sent as
676 // UTF-8.
677 pref("network.standard-url.encode-utf8", true);
679 // This preference controls whether or not queries are encoded and sent as
680 // UTF-8.
681 pref("network.standard-url.encode-query-utf8", false);
683 // Idle timeout for ftp control connections - 5 minute default
684 pref("network.ftp.idleConnectionTimeout", 300);
686 // directory listing format
687 // 2: HTML
688 // 3: XUL directory viewer
689 // all other values are treated like 2
690 pref("network.dir.format", 2);
692 // enables the prefetch service (i.e., prefetching of <link rel="next"> URLs).
693 pref("network.prefetch-next", true);
696 // The following prefs pertain to the negotiate-auth extension (see bug 17578),
697 // which provides transparent Kerberos or NTLM authentication using the SPNEGO
698 // protocol.  Each pref is a comma-separated list of keys, where each key has
699 // the format:
700 //   [scheme "://"] [host [":" port]]
701 // For example, "foo.com" would match "http://www.foo.com/bar", etc.
703 // This list controls which URIs can use the negotiate-auth protocol.  This
704 // list should be limited to the servers you know you'll need to login to.
705 pref("network.negotiate-auth.trusted-uris", "");
706 // This list controls which URIs can support delegation.
707 pref("network.negotiate-auth.delegation-uris", "");
709 // Allow SPNEGO by default when challenged by a proxy server.
710 pref("network.negotiate-auth.allow-proxies", true);
712 // Path to a specific gssapi library
713 pref("network.negotiate-auth.gsslib", "");
715 // Specify if the gss lib comes standard with the OS
716 pref("network.negotiate-auth.using-native-gsslib", true);
718 #ifdef XP_WIN
720 // Default to using the SSPI intead of GSSAPI on windows 
721 pref("network.auth.use-sspi", true);
723 #endif
725 // The following prefs are used to enable automatic use of the operating
726 // system's NTLM implementation to silently authenticate the user with their
727 // Window's domain logon.  The trusted-uris pref follows the format of the
728 // trusted-uris pref for negotiate authentication.
729 pref("network.automatic-ntlm-auth.allow-proxies", true);
730 pref("network.automatic-ntlm-auth.trusted-uris", "");
732 // This preference controls whether or not the LM hash will be included in
733 // response to a NTLM challenge.  By default, this is disabled since servers
734 // should almost never need the LM hash, and the LM hash is what makes NTLM
735 // authentication less secure.  See bug 250691 for further details.
736 // NOTE: automatic-ntlm-auth which leverages the OS-provided NTLM
737 //       implementation will not be affected by this preference.
738 pref("network.ntlm.send-lm-response", false);
740 // sspitzer:  change this back to "news" when we get to beta.
741 // for now, set this to news.mozilla.org because you can only
742 // post to the server specified by this pref.
743 pref("network.hosts.nntp_server",           "news.mozilla.org");
745 pref("permissions.default.image",           1); // 1-Accept, 2-Deny, 3-dontAcceptForeign
746 pref("network.proxy.type",                  0);
747 pref("network.proxy.ftp",                   "");
748 pref("network.proxy.ftp_port",              0);
749 pref("network.proxy.gopher",                "");
750 pref("network.proxy.gopher_port",           0);
751 pref("network.proxy.http",                  "");
752 pref("network.proxy.http_port",             0);
753 pref("network.proxy.ssl",                   "");
754 pref("network.proxy.ssl_port",              0);
755 pref("network.proxy.socks",                 "");
756 pref("network.proxy.socks_port",            0);
757 pref("network.proxy.socks_version",         5);
758 pref("network.proxy.socks_remote_dns",      false);
759 pref("network.proxy.no_proxies_on",         "localhost, 127.0.0.1");
760 pref("network.proxy.failover_timeout",      1800); // 30 minutes
761 pref("network.online",                      true); //online/offline
762 pref("network.cookie.cookieBehavior",       0); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
763 pref("network.cookie.disableCookieForMailNews", true); // disable all cookies for mail
764 pref("network.cookie.lifetimePolicy",       0); // accept normally, 1-askBeforeAccepting, 2-acceptForSession,3-acceptForNDays
765 pref("network.cookie.alwaysAcceptSessionCookies", false);
766 pref("network.cookie.prefsMigrated",        false);
767 pref("network.cookie.lifetime.days",        90);
769 // The PAC file to load.  Ignored unless network.proxy.type is 2.
770 pref("network.proxy.autoconfig_url", "");
772 // If we cannot load the PAC file, then try again (doubling from interval_min
773 // until we reach interval_max or the PAC file is successfully loaded).
774 pref("network.proxy.autoconfig_retry_interval_min", 5);    // 5 seconds
775 pref("network.proxy.autoconfig_retry_interval_max", 300);  // 5 minutes
777 pref("converter.html2txt.structs",          true); // Output structured phrases (strong, em, code, sub, sup, b, i, u)
778 pref("converter.html2txt.header_strategy",  1); // 0 = no indention; 1 = indention, increased with header level; 2 = numbering and slight indention
780 pref("intl.accept_languages",               "chrome://navigator/locale/navigator.properties");
781 pref("intl.accept_charsets",                "iso-8859-1,*,utf-8");
782 pref("intl.collationOption",                "chrome://navigator-platform/locale/navigator.properties");
783 pref("intl.menuitems.alwaysappendaccesskeys","chrome://navigator/locale/navigator.properties");
784 pref("intl.menuitems.insertseparatorbeforeaccesskeys","chrome://navigator/locale/navigator.properties");
785 pref("intl.charsetmenu.browser.static",     "chrome://navigator/locale/navigator.properties");
786 pref("intl.charsetmenu.browser.more1",      "chrome://navigator/locale/navigator.properties");
787 pref("intl.charsetmenu.browser.more2",      "chrome://navigator/locale/navigator.properties");
788 pref("intl.charsetmenu.browser.more3",      "chrome://navigator/locale/navigator.properties");
789 pref("intl.charsetmenu.browser.more4",      "chrome://navigator/locale/navigator.properties");
790 pref("intl.charsetmenu.browser.more5",      "chrome://navigator/locale/navigator.properties");
791 pref("intl.charsetmenu.browser.unicode",    "chrome://navigator/locale/navigator.properties");
792 pref("intl.charsetmenu.mailedit",           "chrome://navigator/locale/navigator.properties");
793 pref("intl.charsetmenu.browser.cache",      "");
794 pref("intl.charsetmenu.mailview.cache",     "");
795 pref("intl.charsetmenu.composer.cache",     "");
796 pref("intl.charsetmenu.browser.cache.size", 5);
797 pref("intl.charset.detector",               "chrome://navigator/locale/navigator.properties");
798 pref("intl.charset.default",                "chrome://navigator-platform/locale/navigator.properties");
799 pref("intl.content.langcode",               "chrome://communicator-region/locale/region.properties");
800 pref("intl.locale.matchOS",                 false);
801 // fallback charset list for Unicode conversion (converting from Unicode)
802 // currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes)
803 // for ISO-8859-1
804 pref("intl.fallbackCharsetList.ISO-8859-1", "windows-1252");
805 pref("font.language.group",                 "chrome://navigator/locale/navigator.properties");
807 pref("images.dither", "auto");
808 pref("security.directory",              "");
810 pref("signed.applets.codebase_principal_support", false);
811 pref("security.checkloaduri", true);
812 pref("security.xpconnect.plugin.unrestricted", true);
813 // security-sensitive dialogs should delay button enabling. In milliseconds.
814 pref("security.dialog_enable_delay", 2000);
816 // Modifier key prefs: default to Windows settings,
817 // menu access key = alt, accelerator key = control.
818 // Use 17 for Ctrl, 18 for Alt, 224 for Meta, 0 for none. Mac settings in macprefs.js
819 pref("ui.key.accelKey", 17);
820 pref("ui.key.menuAccessKey", 18);
821 pref("ui.key.generalAccessKey", -1);
823 // If generalAccessKey is -1, use the following two prefs instead.
824 // Use 0 for disabled, 1 for Shift, 2 for Ctrl, 4 for Alt, 8 for Meta
825 // (values can be combined, e.g. 5 for Alt+Shift)
826 pref("ui.key.chromeAccess", 4);
827 pref("ui.key.contentAccess", 5);
829 pref("ui.key.menuAccessKeyFocuses", false); // overridden below
830 pref("ui.key.saveLink.shift", true); // true = shift, false = meta
832 // Middle-mouse handling
833 pref("middlemouse.paste", false);
834 pref("middlemouse.openNewWindow", true);
835 pref("middlemouse.contentLoadURL", false);
836 pref("middlemouse.scrollbarPosition", false);
838 // Clipboard behavior
839 pref("clipboard.autocopy", false);
841 // mouse wheel scroll transaction period of time (in milliseconds)
842 pref("mousewheel.transaction.timeout", 1500);
843 // mouse wheel scroll transaction is held even if the mouse cursor is moved.
844 pref("mousewheel.transaction.ignoremovedelay", 100);
846 // 0=lines, 1=pages, 2=history , 3=text size
847 pref("mousewheel.withnokey.action",0);
848 pref("mousewheel.withnokey.numlines",1);        
849 pref("mousewheel.withnokey.sysnumlines",true);
850 pref("mousewheel.withcontrolkey.action",0);
851 pref("mousewheel.withcontrolkey.numlines",1);
852 pref("mousewheel.withcontrolkey.sysnumlines",true);
853 // mousewheel.withshiftkey, see the Mac note below.
854 pref("mousewheel.withshiftkey.action",0);
855 pref("mousewheel.withshiftkey.numlines",1);
856 pref("mousewheel.withshiftkey.sysnumlines",true);
857 pref("mousewheel.withaltkey.action",2);
858 pref("mousewheel.withaltkey.numlines",1);
859 pref("mousewheel.withaltkey.sysnumlines",false);
860 pref("mousewheel.withmetakey.action",0);
861 pref("mousewheel.withmetakey.numlines",1);
862 pref("mousewheel.withmetakey.sysnumlines",true);
864 // on platforms where scroll messages differ between horizontal scroll
865 // and back/forward button events we can activate them by default
866 #ifdef XP_WIN
867 #define HORIZSCROLL_AVAILABLE
868 #endif
869 #ifdef XP_MACOSX
870 #define HORIZSCROLL_AVAILABLE
871 // The Mac does interesting things with horizontal scrolling.  If a
872 // scroll event comes from a pointing device with a scroll wheel for
873 // the vertical axis, and the user is holding the shift key, the event
874 // comes through as a horizontal scroll event with the shift key
875 // (mousewheel.horizscroll.withshiftkey) and not mousewheel.withshiftkey.
876 // These events should map to horizontal scroll to maintain platform
877 // UI consistency.
878 #endif
879 #ifdef XP_OS2
880 #define HORIZSCROLL_AVAILABLE
881 #endif
882 #ifdef HORIZSCROLL_AVAILABLE
883 // activate horizontal scrolling by default
884 pref("mousewheel.horizscroll.withnokey.action",0);
885 pref("mousewheel.horizscroll.withnokey.numlines",1);
886 pref("mousewheel.horizscroll.withnokey.sysnumlines",true);
887 pref("mousewheel.horizscroll.withcontrolkey.action",0);
888 pref("mousewheel.horizscroll.withcontrolkey.numlines",1);
889 pref("mousewheel.horizscroll.withcontrolkey.sysnumlines",true);
890 pref("mousewheel.horizscroll.withshiftkey.action",0);
891 pref("mousewheel.horizscroll.withshiftkey.numlines",1);
892 pref("mousewheel.horizscroll.withshiftkey.sysnumlines",true);
893 pref("mousewheel.horizscroll.withaltkey.action",2);
894 pref("mousewheel.horizscroll.withaltkey.numlines",-1);
895 pref("mousewheel.horizscroll.withaltkey.sysnumlines",false);
896 pref("mousewheel.horizscroll.withmetakey.action",0);
897 pref("mousewheel.horizscroll.withmetakey.numlines",1);
898 pref("mousewheel.horizscroll.withmetakey.sysnumlines",true);
899 #endif
900 #ifndef HORIZSCROLL_AVAILABLE
901 // disable horizontal scrolling to be able to use back/forward buttons
902 pref("mousewheel.horizscroll.withnokey.action",2);
903 pref("mousewheel.horizscroll.withnokey.numlines",-1);
904 pref("mousewheel.horizscroll.withnokey.sysnumlines",false);
905 pref("mousewheel.horizscroll.withcontrolkey.action",2);
906 pref("mousewheel.horizscroll.withcontrolkey.numlines",-1);
907 pref("mousewheel.horizscroll.withcontrolkey.sysnumlines",false);
908 pref("mousewheel.horizscroll.withshiftkey.action",2);
909 pref("mousewheel.horizscroll.withshiftkey.numlines",-1);
910 pref("mousewheel.horizscroll.withshiftkey.sysnumlines",false);
911 pref("mousewheel.horizscroll.withaltkey.action",2);
912 pref("mousewheel.horizscroll.withaltkey.numlines",-1);
913 pref("mousewheel.horizscroll.withaltkey.sysnumlines",false);
914 pref("mousewheel.horizscroll.withmetakey.action",2);
915 pref("mousewheel.horizscroll.withmetakey.numlines",-1);
916 pref("mousewheel.horizscroll.withmetakey.sysnumlines",false);
917 #endif
919 pref("profile.confirm_automigration",true);
920 // profile.migration_behavior determines how the profiles root is set
921 // 0 - use NS_APP_USER_PROFILES_ROOT_DIR
922 // 1 - create one based on the NS4.x profile root
923 // 2 - use, if not empty, profile.migration_directory otherwise same as 0
924 pref("profile.migration_behavior",0);
925 pref("profile.migration_directory", "");
927 // the amount of time (in seconds) that must elapse
928 // before we think your mozilla profile is defunct
929 // and you'd benefit from re-migrating from 4.x
930 // see bug #137886 for more details
932 // if -1, we never think your profile is defunct
933 // and users will never see the remigrate UI.
934 pref("profile.seconds_until_defunct", -1);
935 // We can show it anytime from menus
936 pref("profile.manage_only_at_launch", false);
938 pref("prefs.converted-to-utf8",false);
940 // --------------------------------------------------
941 // IBMBIDI 
942 // --------------------------------------------------
944 // ------------------
945 //  Text Direction
946 // ------------------
947 // 1 = directionLTRBidi *
948 // 2 = directionRTLBidi
949 pref("bidi.direction", 1);
950 // ------------------
951 //  Text Type
952 // ------------------
953 // 1 = charsettexttypeBidi *
954 // 2 = logicaltexttypeBidi
955 // 3 = visualtexttypeBidi
956 pref("bidi.texttype", 1);
957 // ------------------
958 //  Controls Text Mode
959 // ------------------
960 // 1 = logicalcontrolstextmodeBidiCmd
961 // 2 = visualcontrolstextmodeBidi <-- NO LONGER SUPPORTED
962 // 3 = containercontrolstextmodeBidi *
963 pref("bidi.controlstextmode", 1);
964 // ------------------
965 //  Numeral Style
966 // ------------------
967 // 0 = nominalnumeralBidi *
968 // 1 = regularcontextnumeralBidi
969 // 2 = hindicontextnumeralBidi
970 // 3 = arabicnumeralBidi
971 // 4 = hindinumeralBidi
972 pref("bidi.numeral", 0);
973 // ------------------
974 //  Support Mode
975 // ------------------
976 // 1 = mozillaBidisupport *
977 // 2 = OsBidisupport
978 // 3 = disableBidisupport
979 pref("bidi.support", 1);
980 // ------------------
981 //  Charset Mode
982 // ------------------
983 // 1 = doccharactersetBidi *
984 // 2 = defaultcharactersetBidi
985 pref("bidi.characterset", 1);
986 // Whether delete and backspace should immediately delete characters not
987 // visually adjacent to the caret, or adjust the visual position of the caret
988 // on the first keypress and delete the character on a second keypress
989 pref("bidi.edit.delete_immediately", false);
991 // Bidi caret movement style:
992 // 0 = logical
993 // 1 = visual
994 // 2 = visual, but logical during selection
995 pref("bidi.edit.caret_movement_style", 2);
997 // used for double-click word selection behavior. Win will override.
998 pref("layout.word_select.eat_space_to_next_word", false);
999 pref("layout.word_select.stop_at_punctuation", true);
1001 // controls caret style and word-delete during text selection
1002 // 0 = use platform default
1003 // 1 = caret moves and blinks as when there is no selection; word
1004 //     delete deselects the selection and then deletes word (Windows default)
1005 // 2 = caret moves to selection edge and is not visible during selection; 
1006 //     word delete deletes the selection (Mac default)
1007 // 3 = caret moves and blinks as when there is no selection; word delete
1008 //     deletes the selection (Unix default)
1009 pref("layout.selection.caret_style", 0);
1011 // pref to control whether or not to replace backslashes with Yen signs
1012 // in documents encoded in one of Japanese legacy encodings (EUC-JP, 
1013 // Shift_JIS, ISO-2022-JP)
1014 pref("layout.enable_japanese_specific_transform", false);
1016 // pref to force frames to be resizable
1017 pref("layout.frames.force_resizability", false);
1019 // pref to report CSS errors to the error console
1020 pref("layout.css.report_errors", true);
1022 // pref for which side vertical scrollbars should be on
1023 // 0 = end-side in UI direction
1024 // 1 = end-side in document/content direction
1025 // 2 = right
1026 // 3 = left
1027 pref("layout.scrollbar.side", 0);
1029 // pref to permit users to make verified SOAP calls by default
1030 pref("capability.policy.default.SOAPCall.invokeVerifySourceHeader", "allAccess");
1032 // if true, allow plug-ins to override internal imglib decoder mime types in full-page mode
1033 pref("plugin.override_internal_types", false);
1034 pref("plugin.expose_full_path", false); // if true navigator.plugins reveals full path
1036 // See bug 136985.  Gives embedders a pref to hook into to show
1037 // a popup blocker if they choose.
1038 pref("browser.popups.showPopupBlocker", true);
1040 // Pref to control whether the viewmanager code does double-buffering or not
1041 // See http://bugzilla.mozilla.org/show_bug.cgi?id=169483 for further details...
1042 pref("viewmanager.do_doublebuffering", true);
1044 // which files will be selected for roaming by default.
1045 // See sroaming/content/prefs/all.js
1046 pref("roaming.default.files", "bookmarks.html,abook.mab,cookies.txt");
1047 // display some general warning to the user about making backups, security etc.
1048 pref("roaming.showInitialWarning", true);
1050 // whether use prefs from system
1051 pref("config.use_system_prefs", false);
1053 // if the system has enabled accessibility
1054 pref("config.use_system_prefs.accessibility", false);
1057  * What are the entities that you want Mozilla to save using mnemonic
1058  * names rather than numeric codes? E.g. If set, we'll output &nbsp;
1059  * otherwise, we may output 0xa0 depending on the charset.
1061  * "none"   : don't use any entity names; only use numeric codes.
1062  * "basic"  : use entity names just for &nbsp; &amp; &lt; &gt; &quot; for 
1063  *            interoperability/exchange with products that don't support more
1064  *            than that.
1065  * "latin1" : use entity names for 8bit accented letters and other special
1066  *            symbols between 128 and 255.
1067  * "html"   : use entity names for 8bit accented letters, greek letters, and
1068  *            other special markup symbols as defined in HTML4.
1069  */
1070 //pref("editor.encode_entity",                 "html");
1072 pref("editor.resizing.preserve_ratio",       true);
1073 pref("editor.positioning.offset",            0);
1075 pref("dom.max_chrome_script_run_time", 20);
1076 pref("dom.max_script_run_time", 10);
1078 pref("svg.enabled", true);
1080 #ifdef XP_WIN
1081 pref("font.name.serif.ar", "Times New Roman");
1082 pref("font.name.sans-serif.ar", "Arial");
1083 pref("font.name.monospace.ar", "Courier New");
1084 pref("font.name.cursive.ar", "Comic Sans MS");
1086 pref("font.name.serif.el", "Times New Roman");
1087 pref("font.name.sans-serif.el", "Arial");
1088 pref("font.name.monospace.el", "Courier New");
1089 pref("font.name.cursive.el", "Comic Sans MS");
1091 pref("font.name.serif.he", "Narkisim");
1092 pref("font.name.sans-serif.he", "Arial");
1093 pref("font.name.monospace.he", "Fixed Miriam Transparent");
1094 pref("font.name.cursive.he", "Guttman Yad");
1095 pref("font.name-list.serif.he", "Narkisim, David");
1096 pref("font.name-list.monospace.he", "Fixed Miriam Transparent, Miriam Fixed, Rod, Courier New");
1097 pref("font.name-list.cursive.he", "Guttman Yad, Ktav, Arial");
1099 // For CJK fonts, we list a font twice in name-list, once in the native script and once in English
1100 // because the name of a CJK font returned by Win32 API is beyond our control and depends on
1101 // whether or not Mozilla is run on CJK Win 9x/ME or Win 2k/XP with a CJK locale.
1102 // (see bug 227815)
1104 pref("font.name.serif.ja", "MS P明朝"); // "MS PMincho"
1105 pref("font.name.sans-serif.ja", "MS Pゴシック"); // "MS PGothic"
1106 pref("font.name.monospace.ja", "MS ゴシック"); // "MS Gothic"
1107 pref("font.name-list.serif.ja", "MS PMincho, MS P明朝, MS Mincho, MS PGothic, MS Gothic");
1108 pref("font.name-list.sans-serif.ja", "MS PGothic, MS Pゴシック, MS Gothic, MS PMincho, MS Mincho");
1109 pref("font.name-list.monospace.ja", "MS Gothic, MS ゴシック, MS Mincho, MS 明朝, MS PGothic, MS PMincho");
1111 pref("font.name.serif.ko", "바탕"); // "Batang" 
1112 pref("font.name.sans-serif.ko", "굴림"); // "Gulim" 
1113 pref("font.name.monospace.ko", "굴림체"); // "GulimChe" 
1114 pref("font.name.cursive.ko", "궁서"); // "Gungseo"
1116 pref("font.name-list.serif.ko", "Batang, 바탕, Gulim, 굴림"); 
1117 pref("font.name-list.sans-serif.ko", "Gulim, 굴림"); 
1118 pref("font.name-list.monospace.ko", "GulimChe, 굴림체"); 
1119 pref("font.name-list.cursive.ko", "Gungseo, 궁서"); 
1121 pref("font.name.serif.th", "Times New Roman");
1122 pref("font.name.sans-serif.th", "Arial");
1123 pref("font.name.monospace.th", "Courier New");
1124 pref("font.name.cursive.th", "Comic Sans MS");
1126 pref("font.name.serif.tr", "Times New Roman");
1127 pref("font.name.sans-serif.tr", "Arial");
1128 pref("font.name.monospace.tr", "Courier New");
1129 pref("font.name.cursive.tr", "Comic Sans MS");
1131 pref("font.name.serif.x-baltic", "Times New Roman");
1132 pref("font.name.sans-serif.x-baltic", "Arial");
1133 pref("font.name.monospace.x-baltic", "Courier New");
1134 pref("font.name.cursive.x-baltic", "Comic Sans MS");
1136 pref("font.name.serif.x-central-euro", "Times New Roman");
1137 pref("font.name.sans-serif.x-central-euro", "Arial");
1138 pref("font.name.monospace.x-central-euro", "Courier New");
1139 pref("font.name.cursive.x-central-euro", "Comic Sans MS");
1141 pref("font.name.serif.x-cyrillic", "Times New Roman");
1142 pref("font.name.sans-serif.x-cyrillic", "Arial");
1143 pref("font.name.monospace.x-cyrillic", "Courier New");
1144 pref("font.name.cursive.x-cyrillic", "Comic Sans MS");
1146 pref("font.name.serif.x-unicode", "Times New Roman");
1147 pref("font.name.sans-serif.x-unicode", "Arial");
1148 pref("font.name.monospace.x-unicode", "Courier New");
1149 pref("font.name.cursive.x-unicode", "Comic Sans MS");
1151 pref("font.name.serif.x-western", "Times New Roman");
1152 pref("font.name.sans-serif.x-western", "Arial");
1153 pref("font.name.monospace.x-western", "Courier New");
1154 pref("font.name.cursive.x-western", "Comic Sans MS");
1156 pref("font.name.serif.zh-CN", "宋体"); //MS Song
1157 pref("font.name.sans-serif.zh-CN", "宋体"); //MS Song
1158 pref("font.name.monospace.zh-CN", "宋体"); //MS Song
1159 pref("font.name-list.serif.zh-CN", "MS Song, 宋体, SimSun");
1160 pref("font.name-list.sans-serif.zh-CN", "MS Song, 宋体, SimSun");
1161 pref("font.name-list.monospace.zh-CN", "MS Song, 宋体, SimSun");
1163 // Per Taiwanese users' demand. They don't want to use TC fonts for
1164 // rendering Latin letters. (bug 88579)
1165 pref("font.name.serif.zh-TW", "Times New Roman"); 
1166 pref("font.name.sans-serif.zh-TW", "Arial"); 
1167 pref("font.name.monospace.zh-TW", "細明體");  // MingLiU
1168 pref("font.name-list.serif.zh-TW", "新細明體,PMingLiu,細明體,MingLiU"); 
1169 pref("font.name-list.sans-serif.zh-TW", "新細明體,PMingLiU,細明體,MingLiU");
1170 pref("font.name-list.monospace.zh-TW", "MingLiU,細明體");
1172 // hkscsm3u.ttf (HKSCS-2001) :  http://www.microsoft.com/hk/hkscs 
1173 // Hong Kong users have the same demand about glyphs for Latin letters (bug 88579) 
1174 pref("font.name.serif.zh-HK", "Times New Roman"); 
1175 pref("font.name.sans-serif.zh-HK", "Arial"); 
1176 pref("font.name.monospace.zh-HK", "細明體_HKSCS"); 
1177 pref("font.name-list.serif.zh-HK", "細明體_HKSCS, MingLiu_HKSCS, Ming(for ISO10646), MingLiU, 細明體"); 
1178 pref("font.name-list.sans-serif.zh-HK", "細明體_HKSCS, MingLiU_HKSCS, Ming(for ISO10646), MingLiU, 細明體");  
1179 pref("font.name-list.monospace.zh-HK", "MingLiU_HKSCS,  細明體_HKSCS, Ming(for ISO10646), MingLiU, 細明體");
1181 pref("font.name.serif.x-devanagari", "Mangal");
1182 pref("font.name.sans-serif.x-devanagari", "Raghindi");
1183 pref("font.name.monospace.x-devanagari", "Mangal");
1184 pref("font.name-list.serif.x-devanagari", "Mangal, Raghindi");
1185 pref("font.name-list.monospace.x-devanagari", "Mangal, Raghindi");
1187 pref("font.name.serif.x-tamil", "Latha");
1188 pref("font.name.sans-serif.x-tamil", "Code2000");
1189 pref("font.name.monospace.x-tamil", "Latha");
1190 pref("font.name-list.serif.x-tamil", "Latha, Code2000");
1191 pref("font.name-list.monospace.x-tamil", "Latha, Code2000");
1193 # http://www.alanwood.net/unicode/fonts.html
1195 pref("font.name.serif.x-armn", "Sylfaen");
1196 pref("font.name.sans-serif.x-armn", "Arial AMU");
1197 pref("font.name.monospace.x-armn", "Arial AMU");
1198 pref("font.name-list.serif.x-armn", "Sylfaen,Arial Unicode MS, Code2000");
1199 pref("font.name-list.monospace.x-armn", "Arial AMU, Arial Unicode MS, Code2000");
1201 pref("font.name.serif.x-beng", "Akaash");
1202 pref("font.name.sans-serif.x-beng", "Likhan");
1203 pref("font.name.monospace.x-beng", "Mitra Mono");
1204 pref("font.name-list.serif.x-beng", "Akaash, Ekushey Punarbhaba, Code2000, Arial Unicode MS"); 
1205 pref("font.name-list.monospace.x-beng", "Likhan, Mukti Narrow, Code 2000, Arial Unicode MS");
1207 pref("font.name.serif.x-cans", "Aboriginal Serif");
1208 pref("font.name.sans-serif.x-cans", "Aboriginal Sans");
1209 pref("font.name.monospace.x-cans", "Aboriginal Sans");
1210 pref("font.name-list.serif.x-cans", "Aboriginal Serif, BJCree Uni");
1211 pref("font.name-list.monospace.x-cans", "Aboriginal Sans, OskiDakelh, Pigiarniq, Uqammaq");
1213 pref("font.name.serif.x-ethi", "Visual Geez Unicode");
1214 pref("font.name.sans-serif.x-ethi", "GF Zemen Unicode");
1215 pref("font.name.cursive.x-ethi", "Visual Geez Unicode Title");
1216 pref("font.name.monospace.x-ethi", "Ethiopia Jiret");
1217 pref("font.name-list.serif.x-ethi", "Visual Geez Unicode, Visual Geez Unicode Agazian, Code2000");
1218 pref("font.name-list.monospace.x-ethi", "Ethiopia Jiret, Code2000");
1220 pref("font.name.serif.x-geor", "Sylfaen");
1221 pref("font.name.sans-serif.x-geor", "BPG Classic 99U");
1222 pref("font.name.monospace.x-geor", "Code2000");
1223 pref("font.name-list.serif.x-geor", "Sylfaen, BPG Paata Khutsuri U, TITUS Cyberbit Basic"); 
1224 pref("font.name-list.monospace.x-geor", "BPG Classic 99U, Code2000, Arial Unicode MS");
1226 pref("font.name.serif.x-gujr", "Shruti");
1227 pref("font.name.sans-serif.x-gujr", "Shruti");
1228 pref("font.name.monospace.x-gujr", "Code2000");
1229 pref("font.name-list.serif.x-gujr", "Shruti, Code2000, Arial Unicode MS"); 
1230 pref("font.name-list.monospace.x-gujr", "Code2000, Shruti, Arial Unicode MS");
1232 pref("font.name.serif.x-guru", "Raavi");
1233 pref("font.name.sans-serif.x-guru", "Code2000");
1234 pref("font.name.monospace.x-guru", "Code2000");
1235 pref("font.name-list.serif.x-guru", "Raavi, Saab, Code2000, Arial Unicode MS"); 
1236 pref("font.name-list.monospace.x-guru", "Code2000, Raavi, Saab, Arial Unicode MS");
1238 pref("font.name.serif.x-khmr", "PhnomPenh OT");
1239 pref("font.name.sans-serif.x-khmr", "Khmer OS");
1240 pref("font.name.monospace.x-khmr", "Code2000");
1241 pref("font.name-list.serif.x-khmr", "PhnomPenh OT,.Mondulkiri U GR 1.5, Khmer OS");
1242 pref("font.name-list.monospace.x-khmr", "Code2000, Khmer OS, Khmer OS System");
1244 pref("font.name.serif.x-mlym", "Kartika");
1245 pref("font.name.sans-serif.x-mlym", "Anjali-Beta");
1246 pref("font.name.monospace.x-mlym", "Code2000");
1247 pref("font.name-list.serif.x-mlym", "Kartika, ThoolikaUnicode, Code2000, Arial Unicode MS");
1248 pref("font.name-list.monospace.x-mlym", "Code2000, Anjali-Beta");
1250 pref("font.default.ar", "sans-serif");
1251 pref("font.size.variable.ar", 16);
1252 pref("font.size.fixed.ar", 13);
1254 pref("font.default.el", "serif");
1255 pref("font.size.variable.el", 16);
1256 pref("font.size.fixed.el", 13);
1258 pref("font.default.he", "sans-serif");
1259 pref("font.size.variable.he", 16);
1260 pref("font.size.fixed.he", 13);
1262 pref("font.default.ja", "sans-serif");
1263 pref("font.size.variable.ja", 16);
1264 pref("font.size.fixed.ja", 16);
1266 pref("font.default.ko", "sans-serif");
1267 pref("font.size.variable.ko", 16);
1268 pref("font.size.fixed.ko", 16);
1270 pref("font.default.th", "serif");
1271 pref("font.size.variable.th", 16);
1272 pref("font.size.fixed.th", 13);
1274 pref("font.default.tr", "serif");
1275 pref("font.size.variable.tr", 16);
1276 pref("font.size.fixed.tr", 13);
1278 pref("font.default.x-baltic", "serif");
1279 pref("font.size.variable.x-baltic", 16);
1280 pref("font.size.fixed.x-baltic", 13);
1282 pref("font.default.x-central-euro", "serif");
1283 pref("font.size.variable.x-central-euro", 16);
1284 pref("font.size.fixed.x-central-euro", 13);
1286 pref("font.default.x-cyrillic", "serif");
1287 pref("font.size.variable.x-cyrillic", 16);
1288 pref("font.size.fixed.x-cyrillic", 13);
1290 pref("font.default.x-devanagari", "serif");
1291 pref("font.size.variable.x-devanagari", 16);
1292 pref("font.size.fixed.x-devanagari", 13);
1294 pref("font.default.x-tamil", "serif");
1295 pref("font.size.variable.x-tamil", 16);
1296 pref("font.size.fixed.x-tamil", 13);
1298 pref("font.default.x-armn", "serif");
1299 pref("font.size.variable.x-armn", 16);
1300 pref("font.size.fixed.x-armn", 13);
1302 pref("font.default.x-beng", "serif");
1303 pref("font.size.variable.x-beng", 16);
1304 pref("font.size.fixed.x-beng", 13);
1306 pref("font.default.x-cans", "serif");
1307 pref("font.size.variable.x-cans", 16);
1308 pref("font.size.fixed.x-cans", 13);
1310 pref("font.default.x-ethi", "serif");
1311 pref("font.size.variable.x-ethi", 16);
1312 pref("font.size.fixed.x-ethi", 13);
1314 pref("font.default.x-geor", "serif");
1315 pref("font.size.variable.x-geor", 16);
1316 pref("font.size.fixed.x-geor", 13);
1318 pref("font.default.x-gujr", "serif");
1319 pref("font.size.variable.x-gujr", 16);
1320 pref("font.size.fixed.x-gujr", 13);
1322 pref("font.default.x-guru", "serif");
1323 pref("font.size.variable.x-guru", 16);
1324 pref("font.size.fixed.x-guru", 13);
1326 pref("font.default.x-khmr", "serif");
1327 pref("font.size.variable.x-khmr", 16);
1328 pref("font.size.fixed.x-khmr", 13);
1330 pref("font.default.x-mlym", "serif");
1331 pref("font.size.variable.x-mlym", 16);
1332 pref("font.size.fixed.x-mlym", 13);
1334 pref("font.default.x-unicode", "serif");
1335 pref("font.size.variable.x-unicode", 16);
1336 pref("font.size.fixed.x-unicode", 13);
1338 pref("font.default.x-western", "serif");
1339 pref("font.size.variable.x-western", 16);
1340 pref("font.size.fixed.x-western", 13);
1342 pref("font.default.zh-CN", "sans-serif");
1343 pref("font.size.variable.zh-CN", 16);
1344 pref("font.size.fixed.zh-CN", 16);
1346 pref("font.default.zh-TW", "sans-serif");
1347 pref("font.size.variable.zh-TW", 16);
1348 pref("font.size.fixed.zh-TW", 16);
1350 pref("font.default.zh-HK", "sans-serif");
1351 pref("font.size.variable.zh-HK", 16);
1352 pref("font.size.fixed.zh-HK", 16);
1354 pref("ui.key.menuAccessKeyFocuses", true);
1356 // override double-click word selection behavior.
1357 pref("layout.word_select.eat_space_to_next_word", true);
1359 // scrollbar snapping region
1360 pref("slider.snapMultiplier", 6);
1362 // print_extra_margin enables platforms to specify an extra gap or margin
1363 // around the content of the page for Print Preview only
1364 pref("print.print_extra_margin", 90); // twips (90 twips is an eigth of an inch)
1366 // This indicates whether it should use the native dialog or the XP Dialog
1367 pref("print.use_native_print_dialog", true);
1369 // Whether to extend the native dialog with information on printing frames.
1370 pref("print.extend_native_print_dialog", true);
1372 // Locate Java by scanning the Sun JRE installation directory with a minimum version
1373 // Note: Does not scan if security.enable_java is not true
1374 pref("plugin.scan.SunJRE", "1.3");
1376 // Locate plugins by scanning the Adobe Acrobat installation directory with a minimum version
1377 pref("plugin.scan.Acrobat", "5.0");
1379 // Locate plugins by scanning the Quicktime installation directory with a minimum version
1380 pref("plugin.scan.Quicktime", "5.0");
1382 // Locate and scan the Window Media Player installation directory for plugins with a minimum version
1383 pref("plugin.scan.WindowsMediaPlayer", "7.0");
1385 // Locate plugins by the directories specified in the Windows registry for PLIDs
1386 // Which is currently HKLM\Software\MozillaPlugins\xxxPLIDxxx\Path
1387 pref("plugin.scan.plid.all", true);
1389 // Controls the scanning of the Navigator 4.x directory for plugins
1390 // When pref is missing, the default is to pickup popular plugins such as
1391 // Flash, Shockwave, Acrobat, and Quicktime. If set to true, ALL plugins
1392 // will be picked up and if set to false the scan will not happen at all
1393 //pref("plugin.scan.4xPluginFolder", false);
1395 // Help Windows NT, 2000, and XP dialup a RAS connection
1396 // when a network address is unreachable.
1397 pref("network.autodial-helper.enabled", true);
1399 // Pref to control whether we set ddeexec subkeys for the http
1400 // Internet shortcut protocol if we are handling it.  These
1401 // subkeys will be set only while we are running (to avoid the
1402 // problem of Windows showing an alert when it tries to use DDE
1403 // and we're not already running).
1404 pref("advanced.system.supportDDEExec", true);
1406 // Use CP932 compatible map for JIS X 0208
1407 pref("intl.jis0208.map", "CP932");
1409 // Switch the keyboard layout per window
1410 pref("intl.keyboard.per_window_layout", false);
1412 # WINNT
1413 #endif
1415 #ifdef XP_MACOSX
1416 // Mac specific preference defaults
1417 pref("browser.drag_out_of_frame_style", 1);
1418 pref("ui.key.saveLink.shift", false); // true = shift, false = meta
1419 pref("ui.click_hold_context_menus", false);
1421 // default font name (in UTF8)
1423 pref("font.name.serif.ar", "Lucida Grande");
1424 pref("font.name.sans-serif.ar", "Lucida Grande");
1425 pref("font.name.monospace.ar", "Monaco");
1426 pref("font.name.cursive.ar", "XXX.cursive");
1427 pref("font.name.fantasy.ar", "XXX.fantasy");
1429 pref("font.name.serif.el", "Lucida Grande");
1430 pref("font.name.sans-serif.el", "Lucida Grande");
1431 pref("font.name.monospace.el", "Monaco");
1432 pref("font.name.cursive.el", "XXX.cursive");
1433 pref("font.name.fantasy.el", "XXX.fantasy");
1435 pref("font.name.serif.he", "Lucida Grande");
1436 pref("font.name.sans-serif.he", "Lucida Grande");
1437 pref("font.name.monospace.he", "Monaco");
1438 pref("font.name.cursive.he", "XXX.cursive");
1439 pref("font.name.fantasy.he", "XXX.fantasy");
1441 pref("font.name.serif.ja", "ヒラギノ明朝 Pro W3"); 
1442 pref("font.name.sans-serif.ja", "ヒラギノ角ゴ Pro W3"); 
1443 pref("font.name.monospace.ja", "Osaka−等幅"); 
1444 pref("font.name.cursive.ja", "XXX.cursive");
1445 pref("font.name.fantasy.ja", "XXX.fantasy");
1447 pref("font.name.serif.ko", "AppleMyungjo"); 
1448 pref("font.name.sans-serif.ko", "AppleGothic"); 
1449 pref("font.name.monospace.ko", "AppleGothic"); 
1450 pref("font.name.cursive.ko", "XXX.cursive");
1451 pref("font.name.fantasy.ko", "XXX.fantasy");
1453 pref("font.name.serif.th", "Lucida Grande");
1454 pref("font.name.sans-serif.th", "Lucida Grande");
1455 pref("font.name.monospace.th", "Monaco");
1456 pref("font.name.cursive.th", "XXX.cursive");
1457 pref("font.name.fantasy.th", "XXX.fantasy");
1459 pref("font.name.serif.tr", "Times");
1460 pref("font.name.sans-serif.tr", "Helvetica");
1461 pref("font.name.monospace.tr", "Courier");
1462 pref("font.name.cursive.tr", "Apple Chancery");
1463 pref("font.name.fantasy.tr", "Papyrus");
1465 pref("font.name.serif.x-baltic", "Times");
1466 pref("font.name.sans-serif.x-baltic", "Helvetica");
1467 pref("font.name.monospace.x-baltic", "Courier");
1468 pref("font.name.cursive.x-baltic", "Apple Chancery");
1469 pref("font.name.fantasy.x-baltic", "Papyrus");
1471 pref("font.name.serif.x-central-euro", "Times");
1472 pref("font.name.sans-serif.x-central-euro", "Helvetica");
1473 pref("font.name.monospace.x-central-euro", "Courier");
1474 pref("font.name.cursive.x-central-euro", "Apple Chancery");
1475 pref("font.name.fantasy.x-central-euro", "Papyrus");
1477 pref("font.name.serif.x-cyrillic", "Times CY");
1478 pref("font.name.sans-serif.x-cyrillic", "Helvetica CY");
1479 pref("font.name.monospace.x-cyrillic", "Monaco CY");
1480 pref("font.name.cursive.x-cyrillic", "Geneva CY");
1481 pref("font.name.fantasy.x-cyrillic", "Charcoal CY");
1483 pref("font.name.serif.x-unicode", "Times");
1484 pref("font.name.sans-serif.x-unicode", "Helvetica");
1485 pref("font.name.monospace.x-unicode", "Courier");
1486 pref("font.name.cursive.x-unicode", "Apple Chancery");
1487 pref("font.name.fantasy.x-unicode", "Papyrus");
1489 pref("font.name.serif.x-western", "Times");
1490 pref("font.name.sans-serif.x-western", "Helvetica");
1491 pref("font.name.monospace.x-western", "Courier");
1492 pref("font.name.cursive.x-western", "Apple Chancery");
1493 pref("font.name.fantasy.x-western", "Papyrus");
1495 pref("font.name.serif.zh-CN", "Song");
1496 pref("font.name.sans-serif.zh-CN", "Hei");
1497 pref("font.name.monospace.zh-CN", "Hei");
1498 pref("font.name.cursive.zh-CN", "XXX.cursive");
1499 pref("font.name.fantasy.zh-CN", "XXX.fantasy");
1501 pref("font.name.serif.zh-TW", "Apple LiSung Light"); 
1502 pref("font.name.sans-serif.zh-TW", "Apple LiGothic Medium");  
1503 pref("font.name.monospace.zh-TW", "Apple LiGothic Medium");  
1504 pref("font.name.cursive.zh-TW", "XXX.cursive");
1505 pref("font.name.fantasy.zh-TW", "XXX.fantasy");
1507 pref("font.name.serif.zh-HK", "儷宋 Pro");
1508 pref("font.name.sans-serif.zh-HK", "儷黑 Pro");
1509 pref("font.name.monospace.zh-HK", "儷黑 Pro");
1510 pref("font.name.cursive.zh-HK", "XXX.cursive");
1511 pref("font.name.fantasy.zh-HK", "XXX.fantasy");
1513 pref("font.default.ar", "sans-serif");
1514 pref("font.size.variable.ar", 15);
1515 pref("font.size.fixed.ar", 13);
1517 pref("font.default.el", "serif");
1518 pref("font.size.variable.el", 16);
1519 pref("font.size.fixed.el", 13);
1521 pref("font.default.he", "sans-serif");
1522 pref("font.size.variable.he", 15);
1523 pref("font.size.fixed.he", 13);
1525 pref("font.default.ja", "sans-serif");
1526 pref("font.size.variable.ja", 14);
1527 pref("font.size.fixed.ja", 14);
1529 pref("font.default.ko", "sans-serif");
1530 pref("font.size.variable.ko", 16);
1531 pref("font.size.fixed.ko", 16);
1533 pref("font.default.th", "serif");
1534 pref("font.size.variable.th", 16);
1535 pref("font.size.fixed.th", 13);
1537 pref("font.default.tr", "serif");
1538 pref("font.size.variable.tr", 16);
1539 pref("font.size.fixed.tr", 13);
1541 pref("font.default.x-baltic", "serif");
1542 pref("font.size.variable.x-baltic", 16);
1543 pref("font.size.fixed.x-baltic", 13);
1545 pref("font.default.x-central-euro", "serif");
1546 pref("font.size.variable.x-central-euro", 16);
1547 pref("font.size.fixed.x-central-euro", 13);
1549 pref("font.default.x-cyrillic", "serif");
1550 pref("font.size.variable.x-cyrillic", 16);
1551 pref("font.size.fixed.x-cyrillic", 13);
1553 pref("font.default.x-unicode", "serif");
1554 pref("font.size.variable.x-unicode", 16);
1555 pref("font.size.fixed.x-unicode", 13);
1557 pref("font.default.x-western", "serif");
1558 pref("font.size.variable.x-western", 16);
1559 pref("font.size.fixed.x-western", 13);
1561 pref("font.default.zh-CN", "sans-serif");
1562 pref("font.size.variable.zh-CN", 15);
1563 pref("font.size.fixed.zh-CN", 16);
1565 pref("font.default.zh-TW", "sans-serif");
1566 pref("font.size.variable.zh-TW", 15);
1567 pref("font.size.fixed.zh-TW", 16);
1569 pref("font.default.zh-HK", "sans-serif");
1570 pref("font.size.variable.zh-HK", 15);
1571 pref("font.size.fixed.zh-HK", 16);
1573 pref("browser.urlbar.clickAtEndSelects", false);
1575 // Override the Windows settings: no menu key, meta accelerator key. ctrl for general access key in HTML/XUL
1576 // Use 17 for Ctrl, 18 for Option, 224 for Cmd, 0 for none
1577 pref("ui.key.menuAccessKey", 0);
1578 pref("ui.key.accelKey", 224);
1579 // (pinkerton, joki, saari) IE5 for mac uses Control for access keys. The HTML4 spec
1580 // suggests to use command on mac, but this really sucks (imagine someone having a "q"
1581 // as an access key and not letting you quit the app!). As a result, we've made a 
1582 // command decision 1 day before tree lockdown to change it to the control key.
1583 pref("ui.key.generalAccessKey", -1);
1585 // If generalAccessKey is -1, use the following two prefs instead.
1586 // Use 0 for disabled, 1 for Shift, 2 for Ctrl, 4 for Alt, 8 for Meta (Cmd)
1587 // (values can be combined, e.g. 3 for Ctrl+Shift)
1588 pref("ui.key.chromeAccess", 2);
1589 pref("ui.key.contentAccess", 2);
1591 // print_extra_margin enables platforms to specify an extra gap or margin
1592 // around the content of the page for Print Preview only
1593 pref("print.print_extra_margin", 90); // twips (90 twips is an eigth of an inch)
1595 // This indicates whether it should use the native dialog or the XP Dialog
1596 pref("print.use_native_print_dialog", true);
1598 // Disable IPv6 name lookups by default.
1599 // This is because OS X (including 10.3) always performs IPv6 name lookups
1600 // even if IPv6 is turned off at the OS level. This causes long delays even
1601 // for people who use IPv4 only. See bugs 231607 and 68796.
1602 pref("network.dns.disableIPv6", true);
1604 # XP_MACOSX
1605 #endif
1607 #ifdef XP_OS2
1609 pref("ui.key.menuAccessKeyFocuses", true);
1610 pref("layout.css.dpi", -1); // max(96dpi, System setting)
1612 pref("font.alias-list", "sans,sans-serif,serif,monospace");
1614 /* Fonts only needs lists if we have a default that might not be available. */
1615 /* Tms Rmn, Helv and Courier are ALWAYS available on OS/2 */
1617 pref("font.name.serif.ar", "Tms Rmn");
1618 pref("font.name.sans-serif.ar", "Helv");
1619 pref("font.name.monospace.ar", "Courier");
1621 pref("font.name.serif.el", "Tms Rmn");
1622 pref("font.name.sans-serif.el", "Helv");
1623 pref("font.name.monospace.el", "Courier");
1625 pref("font.name.serif.he", "Tms Rmn");
1626 pref("font.name.sans-serif.he", "Helv");
1627 pref("font.name.monospace.he", "Courier");
1629 pref("font.name.serif.ja", "Times New Roman WT J");
1630 pref("font.name-list.serif.ja", "Times New Roman WT J, Times New Roman MT 30, Tms Rmn");
1631 pref("font.name.sans-serif.ja", "Helv");
1632 pref("font.name.monospace.ja", "Courier");
1634 pref("font.name.serif.ko", "Times New Roman WT K");
1635 pref("font.name-list.serif.ko", "Times New Roman WT K, Times New Roman MT 30, Tms Rmn");
1636 pref("font.name.sans-serif.ko", "Helv");
1637 pref("font.name.monospace.ko", "Courier");
1639 pref("font.name.serif.th", "Tms Rmn");
1640 pref("font.name.sans-serif.th", "Helv");
1641 pref("font.name.monospace.th", "Courier");
1643 pref("font.name.serif.tr", "Tms Rmn");
1644 pref("font.name.sans-serif.tr", "Helv");
1645 pref("font.name.monospace.tr", "Courier");
1647 pref("font.name.serif.x-baltic", "Tms Rmn");
1648 pref("font.name.sans-serif.x-baltic", "Helv");
1649 pref("font.name.monospace.x-baltic", "Courier");
1651 pref("font.name.serif.x-central-euro", "Tms Rmn");
1652 pref("font.name.sans-serif.x-central-euro", "Tms Rmn");
1653 pref("font.name.monospace.x-central-euro", "Courier");
1655 pref("font.name.serif.x-cyrillic", "Tms Rmn");
1656 pref("font.name.sans-serif.x-cyrillic", "Tms Rmn");
1657 pref("font.name.monospace.x-cyrillic", "Courier");
1659 /* The unicode fonts must ALWAYS have a list with one valid font */
1660 pref("font.name.serif.x-unicode", "Times New Roman MT 30");
1661 pref("font.name-list.serif.x-unicode", "Times New Roman MT 30, Times New Roman WT J, Times New Roman WT SC, Times New Roman WT TC, Times New Roman WT K, Tms Rmn");
1662 pref("font.name.sans-serif.x-unicode", "Times New Roman MT 30");
1663 pref("font.name-list.sans-serif.x-unicode", "Times New Roman MT 30, Times New Roman WT J, Times New Roman WT SC, Times New Roman WT TC, Times New Roman WT K, Helv");
1664 pref("font.name.monospace.x-unicode", "Times New Roman MT 30");
1665 pref("font.name-list.monospace.x-unicode", "Times New Roman MT 30, Times New Roman WT J, Times New Roman WT SC, Times New Roman WT TC, Times New Roman WT K, Courier");
1666 pref("font.name.fantasy.x-unicode", "Times New Roman MT 30");
1667 pref("font.name-list.fantasy.x-unicode", "Times New Roman MT 30, Times New Roman WT J, Times New Roman WT SC, Times New Roman WT TC, Times New Roman WT K, Helv");
1668 pref("font.name.cursive.x-unicode", "Times New Roman MT 30");
1669 pref("font.name-list.cursive.x-unicode", "Times New Roman MT 30, Times New Roman WT J, Times New Roman WT SC, Times New Roman WT TC, Times New Roman WT K, Helv");
1671 pref("font.name.serif.x-western", "Tms Rmn");
1672 pref("font.name.sans-serif.x-western", "Helv");
1673 pref("font.name.monospace.x-western", "Courier");
1675 pref("font.name.serif.zh-CN", "Times New Roman WT SC");
1676 pref("font.name-list.serif.zh_CN", "Times New Roman WT SC, Times New Roman MT 30, Tms Rmn");
1677 pref("font.name.sans-serif.zh-CN", "Helv");
1678 pref("font.name.monospace.zh-CN", "Courier");
1680 pref("font.name.serif.zh-TW", "Times New Roman WT TC");
1681 pref("font.name-list.serif.zh-TW", "Times New Roman WT TC, Times New Roman MT 30, Tms Rmn");
1682 pref("font.name.sans-serif.zh-TW", "Helv");
1683 pref("font.name.monospace.zh-TW", "Courier");
1685 // XXX : just copied values for zh-TW. TO CHANGE if necessary
1686 pref("font.name.serif.zh-HK", "Times New Roman WT TC");
1687 pref("font.name-list.serif.zh-HK", "Times New Roman WT TC, Times New Roman MT 30, Tms Rmn");
1688 pref("font.name.sans-serif.zh-HK", "Helv");
1689 pref("font.name.monospace.zh-HK", "Courier");
1691 pref("font.default", "serif");
1693 pref("font.default.ar", "sans-serif");
1694 pref("font.size.variable.ar", 16);
1695 pref("font.size.fixed.ar", 13);
1697 pref("font.default.el", "serif");
1698 pref("font.size.variable.el", 16);
1699 pref("font.size.fixed.el", 13);
1701 pref("font.default.he", "sans-serif");
1702 pref("font.size.variable.he", 16);
1703 pref("font.size.fixed.he", 13);
1705 pref("font.default.ja", "sans-serif");
1706 pref("font.size.variable.ja", 16);
1707 pref("font.size.fixed.ja", 16);
1709 pref("font.default.ko", "sans-serif");
1710 pref("font.size.variable.ko", 16);
1711 pref("font.size.fixed.ko", 16);
1713 pref("font.default.th", "serif");
1714 pref("font.size.variable.th", 16);
1715 pref("font.size.fixed.th", 13);
1717 pref("font.default.tr", "serif");
1718 pref("font.size.variable.tr", 16);
1719 pref("font.size.fixed.tr", 13);
1721 pref("font.default.x-baltic", "serif");
1722 pref("font.size.variable.x-baltic", 16);
1723 pref("font.size.fixed.x-baltic", 13);
1725 pref("font.default.x-central-euro", "serif");
1726 pref("font.size.variable.x-central-euro", 16);
1727 pref("font.size.fixed.x-central-euro", 13);
1729 pref("font.default.x-cyrillic", "serif");
1730 pref("font.size.variable.x-cyrillic", 16);
1731 pref("font.size.fixed.x-cyrillic", 13);
1733 pref("font.default.x-devanagari", "serif");
1734 pref("font.size.variable.x-devanagari", 16);
1735 pref("font.size.fixed.x-devanagari", 13);
1737 pref("font.default.x-tamil", "serif");
1738 pref("font.size.variable.x-tamil", 16);
1739 pref("font.size.fixed.x-tamil", 13);
1741 pref("font.default.x-unicode", "serif");
1742 pref("font.size.variable.x-unicode", 16);
1743 pref("font.size.fixed.x-unicode", 13);
1745 pref("font.default.x-western", "serif");
1746 pref("font.size.variable.x-western", 16);
1747 pref("font.size.fixed.x-western", 13);
1749 pref("font.default.zh-CN", "sans-serif");
1750 pref("font.size.variable.zh-CN", 16);
1751 pref("font.size.fixed.zh-CN", 16);
1753 pref("font.default.zh-TW", "sans-serif");
1754 pref("font.size.variable.zh-TW", 16);
1755 pref("font.size.fixed.zh-TW", 16);
1757 pref("font.default.zh-HK", "sans-serif");
1758 pref("font.size.variable.zh-HK", 16);
1759 pref("font.size.fixed.zh-HK", 16);
1761 pref("netinst.profile.show_profile_wizard", true); 
1763 pref("middlemouse.paste", true);
1765 // override double-click word selection behavior.
1766 pref("layout.word_select.eat_space_to_next_word", true);
1767 pref("layout.word_select.stop_at_punctuation", false);
1769 // If false, will always use closest matching size for a given
1770 // image font.  If true, will substitute a vector font for a given
1771 // image font if the given size is smaller/larger than can be handled
1772 // by the image font.
1773 pref("browser.display.substitute_vector_fonts", true);
1775 // print_extra_margin enables platforms to specify an extra gap or margin
1776 // around the content of the page for Print Preview only
1777 pref("print.print_extra_margin", 90); // twips (90 twips is an eigth of an inch)
1779 pref("applications.telnet", "telnetpm.exe");
1780 pref("applications.telnet.host", "%host%");
1781 pref("applications.telnet.port", "-p %port%");
1783 pref("mail.compose.max_recycled_windows", 0);
1785 // Use IBM943 compatible map for JIS X 0208
1786 pref("intl.jis0208.map", "IBM943");
1788 // Disable IPv6 name lookups by default.
1789 // This is because OS/2 doesn't support IPv6
1790 pref("network.dns.disableIPv6", true);
1792 # OS2
1793 #endif
1795 #ifdef XP_BEOS
1797 pref("layout.css.dpi", -1); // max(96dpi, System setting)
1799 pref("intl.font_charset", "");
1800 pref("intl.font_spec_list", "");
1801 pref("mail.signature_date", 0);
1803 pref("font.alias-list", "sans,sans-serif,serif,monospace");
1805 pref("font.default.ar", "sans-serif");
1806 pref("font.size.variable.ar", 16);
1807 pref("font.size.fixed.ar", 13);
1809 pref("font.default.el", "serif");
1810 pref("font.size.variable.el", 16);
1811 pref("font.size.fixed.el", 13);
1813 pref("font.default.he", "sans-serif");
1814 pref("font.size.variable.he", 16);
1815 pref("font.size.fixed.he", 13);
1817 pref("font.default.ja", "sans-serif");
1818 pref("font.size.variable.ja", 16);
1819 pref("font.size.fixed.ja", 16);
1821 pref("font.default.ko", "sans-serif");
1822 pref("font.size.variable.ko", 16);
1823 pref("font.size.fixed.ko", 16);
1825 pref("font.default.th", "serif");
1826 pref("font.size.variable.th", 16);
1827 pref("font.size.fixed.th", 13);
1829 pref("font.default.tr", "serif");
1830 pref("font.size.variable.tr", 16);
1831 pref("font.size.fixed.tr", 13);
1833 pref("font.default.x-baltic", "serif");
1834 pref("font.size.variable.x-baltic", 16);
1835 pref("font.size.fixed.x-baltic", 13);
1837 pref("font.default.x-central-euro", "serif");
1838 pref("font.size.variable.x-central-euro", 16);
1839 pref("font.size.fixed.x-central-euro", 13);
1841 pref("font.default.x-cyrillic", "serif");
1842 pref("font.size.variable.x-cyrillic", 16);
1843 pref("font.size.fixed.x-cyrillic", 13);
1845 pref("font.default.x-unicode", "serif");
1846 pref("font.size.variable.x-unicode", 16);
1847 pref("font.size.fixed.x-unicode", 13);
1849 pref("font.default.x-western", "serif");
1850 pref("font.size.variable.x-western", 16);
1851 pref("font.size.fixed.x-western", 13);
1853 pref("font.default.zh-CN", "sans-serif");
1854 pref("font.size.variable.zh-CN", 16);
1855 pref("font.size.fixed.zh-CN", 16);
1857 pref("font.default.zh-TW", "sans-serif");
1858 pref("font.size.variable.zh-TW", 16);
1859 pref("font.size.fixed.zh-TW", 16);
1861 pref("font.default.zh-HK", "sans-serif");
1862 pref("font.size.variable.zh-HK", 16);
1863 pref("font.size.fixed.zh-HK", 16);
1866  * Set default accelKey to "Alt", which is the default under BeOS.
1867  * The generalAccessKey is used for shortcuts on web pages, set to
1868  * Ctrl+Shift. The menuAccessKey is now the "windows" key.
1869  */
1870 pref("ui.key.accelKey", 18);
1871 pref("ui.key.menuAccessKey", 17);
1872 pref("ui.key.generalAccessKey", -1);
1874 // If generalAccessKey is -1, use the following two prefs instead.
1875 // Use 0 for disabled, 1 for Shift, 2 for Ctrl, 4 for Alt, 8 for Meta
1876 // (values can be combined, e.g. 3 for Ctrl+Shift)
1877 pref("ui.key.chromeAccess", 2);
1878 pref("ui.key.contentAccess", 3);
1880 // xxx toolkit?
1881 pref("browser.download.dir", "/boot/home/Downloads");
1883 # BeOS
1884 #endif
1886 #ifndef XP_MACOSX
1887 #ifdef XP_UNIX
1888 // Handled differently under Mac/Windows
1889 pref("network.hosts.smtp_server", "localhost");
1890 pref("network.hosts.pop_server", "pop");
1891 pref("network.protocol-handler.warn-external.file", false);
1892 pref("layout.css.dpi", -1); // max(96dpi, System setting)
1893 pref("browser.drag_out_of_frame_style", 1);
1894 pref("editor.singleLine.pasteNewlines", 0);
1896 // Middle-mouse handling
1897 pref("middlemouse.paste", true);
1898 pref("middlemouse.contentLoadURL", true);
1899 pref("middlemouse.openNewWindow", true);
1900 pref("middlemouse.scrollbarPosition", true);
1902 // Clipboard behavior
1903 pref("clipboard.autocopy", true);
1905 pref("browser.urlbar.clickSelectsAll", false);
1907 // Tab focus model bit field:
1908 // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
1909 // Leave this at the default, 7, to match mozilla1.0-era user expectations.
1910 // pref("accessibility.tabfocus", 1);
1912 // override double-click word selection behavior.
1913 pref("layout.word_select.stop_at_punctuation", false);
1915 // autocomplete keyboard grab workaround
1916 pref("autocomplete.grab_during_popup", true);
1917 pref("autocomplete.ungrab_during_mode_switch", true);
1919 // Default to using the system filepicker if possible, but allow
1920 // toggling to use the XUL filepicker
1921 pref("ui.allow_platform_file_picker", true);
1923 pref("helpers.global_mime_types_file", "/etc/mime.types");
1924 pref("helpers.global_mailcap_file", "/etc/mailcap");
1925 pref("helpers.private_mime_types_file", "~/.mime.types");
1926 pref("helpers.private_mailcap_file", "~/.mailcap");
1927 pref("java.global_java_version_file", "/etc/.java/versions");
1928 pref("java.private_java_version_file", "~/.java/versions");
1929 pref("java.default_java_location_solaris", "/usr/j2se");
1930 pref("java.default_java_location_others", "/usr/java");
1931 pref("java.java_plugin_library_name", "javaplugin_oji");
1932 pref("applications.telnet", "xterm -e telnet %h %p");
1933 pref("applications.tn3270", "xterm -e tn3270 %h");
1934 pref("applications.rlogin", "xterm -e rlogin %h");
1935 pref("applications.rlogin_with_user", "xterm -e rlogin %h -l %u");
1936 pref("print.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
1937 pref("print.printer_list", ""); // list of printers, separated by spaces
1938 pref("print.print_reversed", false);
1939 pref("print.print_color", true);
1940 pref("print.print_landscape", false);
1941 pref("print.print_paper_size", 0);
1943 // Enables you to specify the gap from the edge of the paper to the margin
1944 // this is used by both Printing and Print Preview
1945 pref("print.print_edge_top", 4); // 1/100 of an inch
1946 pref("print.print_edge_left", 4); // 1/100 of an inch
1947 pref("print.print_edge_right", 4); // 1/100 of an inch
1948 pref("print.print_edge_bottom", 4); // 1/100 of an inch
1950 // print_extra_margin enables platforms to specify an extra gap or margin
1951 // around the content of the page for Print Preview only
1952 pref("print.print_extra_margin", 0); // twips
1954 pref("print.whileInPrintPreview", false);
1956 pref("font.allow_double_byte_special_chars", true);
1957 // font names
1959 pref("font.alias-list", "sans,sans-serif,serif,monospace");
1961 // ar
1963 #ifdef MOZ_ENABLE_XFT
1965 pref("font.name.serif.el", "serif");
1966 pref("font.name.sans-serif.el", "sans-serif");
1967 pref("font.name.monospace.el", "monospace");
1969 pref("font.name.serif.he", "serif");
1970 pref("font.name.sans-serif.he", "sans-serif");
1971 pref("font.name.monospace.he", "monospace");
1973 pref("font.name.serif.ja", "serif");
1974 pref("font.name.sans-serif.ja", "sans-serif");
1975 pref("font.name.monospace.ja", "monospace");
1977 pref("font.name.serif.ko", "serif");
1978 pref("font.name.sans-serif.ko", "sans-serif");
1979 pref("font.name.monospace.ko", "monospace");
1981 // th
1983 pref("font.name.serif.tr", "Times");
1984 pref("font.name.sans-serif.tr", "Helvetica");
1985 pref("font.name.monospace.tr", "Courier");
1987 pref("font.name.serif.x-baltic", "serif");
1988 pref("font.name.sans-serif.x-baltic", "sans-serif");
1989 pref("font.name.monospace.x-baltic", "monospace");
1991 pref("font.name.serif.x-central-euro", "Times");
1992 pref("font.name.sans-serif.x-central-euro", "Helvetica");
1993 pref("font.name.monospace.x-central-euro", "Courier");
1995 pref("font.name.serif.x-cyrillic", "serif");
1996 pref("font.name.sans-serif.x-cyrillic", "sans-serif");
1997 pref("font.name.monospace.x-cyrillic", "monospace");
1999 pref("font.name.serif.x-unicode", "Times");
2000 pref("font.name.sans-serif.x-unicode", "Helvetica");
2001 pref("font.name.monospace.x-unicode", "Courier");
2003 pref("font.name.serif.x-user-def", "Times");
2004 pref("font.name.sans-serif.x-user-def", "Helvetica");
2005 pref("font.name.monospace.x-user-def", "Courier");
2007 pref("font.name.serif.x-western", "Times");
2008 pref("font.name.sans-serif.x-western", "Helvetica");
2009 pref("font.name.monospace.x-western", "Courier");
2011 pref("font.name.serif.zh-CN", "serif");
2012 pref("font.name.sans-serif.zh-CN", "sans-serif");
2013 pref("font.name.monospace.zh-CN", "monospace");
2015 // ming_uni.ttf (HKSCS-2001) 
2016 // http://www.info.gov.hk/digital21/eng/hkscs/download/uime.exe
2017 pref("font.name.serif.zh-HK", "serif");
2018 pref("font.name.sans-serif.zh-HK", "sans-serif");
2019 pref("font.name.monospace.zh-HK", "monospace");
2021 // zh-TW
2022 # MOZ_ENABLE_XFT
2023 #else
2024 pref("font.name.serif.el", "misc-fixed-iso8859-7");
2025 pref("font.name.sans-serif.el", "misc-fixed-iso8859-7");
2026 pref("font.name.monospace.el", "misc-fixed-iso8859-7");
2028 pref("font.name.serif.he", "misc-fixed-iso8859-8");
2029 pref("font.name.sans-serif.he", "misc-fixed-iso8859-8");
2030 pref("font.name.monospace.he", "misc-fixed-iso8859-8");
2032 pref("font.name.serif.ja", "jis-fixed-jisx0208.1983-0");
2033 pref("font.name.sans-serif.ja", "jis-fixed-jisx0208.1983-0");
2034 pref("font.name.monospace.ja", "jis-fixed-jisx0208.1983-0");
2036 pref("font.name.serif.ko", "daewoo-mincho-ksc5601.1987-0");
2037 pref("font.name.sans-serif.ko", "daewoo-mincho-ksc5601.1987-0");
2038 pref("font.name.monospace.ko", "daewoo-mincho-ksc5601.1987-0");
2040 // th
2042 pref("font.name.serif.tr", "adobe-times-iso8859-9");
2043 pref("font.name.sans-serif.tr", "adobe-helvetica-iso8859-9");
2044 pref("font.name.monospace.tr", "adobe-courier-iso8859-9");
2046 pref("font.name.serif.x-baltic", "b&h-lucidux serif-iso8859-4");
2047 pref("font.name.sans-serif.x-baltic", "b&h-lucidux sans-iso8859-4");
2048 pref("font.name.monospace.x-baltic", "b&h-lucidux mono-iso8859-4");
2050 pref("font.name.serif.x-central-euro", "adobe-times-iso8859-2");
2051 pref("font.name.sans-serif.x-central-euro", "adobe-helvetica-iso8859-2");
2052 pref("font.name.monospace.x-central-euro", "adobe-courier-iso8859-2");
2054 pref("font.name.serif.x-cyrillic", "cronyx-times-koi8-r");
2055 pref("font.name.sans-serif.x-cyrillic", "cronyx-helvetica-koi8-r");
2056 pref("font.name.monospace.x-cyrillic", "cronyx-courier-koi8-r");
2058 pref("font.name.serif.x-unicode", "adobe-times-iso8859-1");
2059 pref("font.name.sans-serif.x-unicode", "adobe-helvetica-iso8859-1");
2060 pref("font.name.monospace.x-unicode", "adobe-courier-iso8859-1");
2062 pref("font.name.serif.x-user-def", "adobe-times-iso8859-1");
2063 pref("font.name.sans-serif.x-user-def", "adobe-helvetica-iso8859-1");
2064 pref("font.name.monospace.x-user-def", "adobe-courier-iso8859-1");
2066 pref("font.name.serif.x-western", "adobe-times-iso8859-1");
2067 pref("font.name.sans-serif.x-western", "adobe-helvetica-iso8859-1");
2068 pref("font.name.monospace.x-western", "adobe-courier-iso8859-1");
2070 pref("font.name.serif.zh-CN", "isas-song ti-gb2312.1980-0");
2071 pref("font.name.sans-serif.zh-CN", "isas-song ti-gb2312.1980-0");
2072 pref("font.name.monospace.zh-CN", "isas-song ti-gb2312.1980-0");
2074 // ming_uni.ttf (HKSCS-2001) 
2075 // http://www.info.gov.hk/digital21/eng/hkscs/download/uime.exe
2076 pref("font.name.serif.zh-HK", "-arphic-Ming for ISO10646-big5hkscs-0");
2077 pref("font.name.sans-serif.zh-HK", "-arphic-Ming for ISO10646-big5hkscs-0");
2078 pref("font.name.monospace.zh-HK", "-arphic-Ming for ISO10646-big5hkscs-0");
2080 // zh-TW
2081 # MOZ_ENABLE_XFT
2082 #endif
2084 pref("font.default.ar", "sans-serif");
2085 pref("font.size.variable.ar", 16);
2086 pref("font.size.fixed.ar", 12);
2088 pref("font.default.el", "serif");
2089 pref("font.size.variable.el", 16);
2090 pref("font.size.fixed.el", 12);
2092 pref("font.default.he", "sans-serif");
2093 pref("font.size.variable.he", 16);
2094 pref("font.size.fixed.he", 12);
2096 pref("font.default.ja", "sans-serif");
2097 pref("font.size.variable.ja", 16);
2098 pref("font.size.fixed.ja", 16);
2100 pref("font.default.ko", "sans-serif");
2101 pref("font.size.variable.ko", 16);
2102 pref("font.size.fixed.ko", 16);
2104 pref("font.default.th", "serif");
2105 pref("font.size.variable.th", 16);
2106 pref("font.size.fixed.th", 12);
2108 pref("font.default.tr", "serif");
2109 pref("font.size.variable.tr", 16);
2110 pref("font.size.fixed.tr", 12);
2112 pref("font.default.x-baltic", "serif");
2113 pref("font.size.variable.x-baltic", 16);
2114 pref("font.size.fixed.x-baltic", 12);
2116 pref("font.default.x-central-euro", "serif");
2117 pref("font.size.variable.x-central-euro", 16);
2118 pref("font.size.fixed.x-central-euro", 12);
2120 pref("font.default.x-cyrillic", "serif");
2121 pref("font.size.variable.x-cyrillic", 16);
2122 pref("font.size.fixed.x-cyrillic", 12);
2124 pref("font.default.x-unicode", "serif");
2125 pref("font.size.variable.x-unicode", 16);
2126 pref("font.size.fixed.x-unicode", 12);
2128 pref("font.default.x-western", "serif");
2129 pref("font.size.variable.x-western", 16);
2130 pref("font.size.fixed.x-western", 12);
2132 pref("font.default.zh-CN", "sans-serif");
2133 pref("font.size.variable.zh-CN", 16);
2134 pref("font.size.fixed.zh-CN", 16);
2136 pref("font.default.zh-TW", "sans-serif");
2137 pref("font.size.variable.zh-TW", 16);
2138 pref("font.size.fixed.zh-TW", 16);
2140 pref("font.default.zh-HK", "sans-serif");
2141 pref("font.size.variable.zh-HK", 16);
2142 pref("font.size.fixed.zh-HK", 16);
2144 // below a certian pixel size outline scaled fonts produce poor results
2145 pref("font.scale.outline.min",      6);
2147 // TrueType
2148 pref("font.FreeType2.enable", false);
2149 pref("font.freetype2.shared-library", "libfreetype.so.6");
2150 // if libfreetype was built without hinting compiled in
2151 // it is best to leave hinting off
2152 pref("font.FreeType2.autohinted", false);
2153 pref("font.FreeType2.unhinted", true);
2154 // below a certian pixel size anti-aliased fonts produce poor results
2155 pref("font.antialias.min",        10);
2156 pref("font.embedded_bitmaps.max", 1000000);
2157 pref("font.scale.tt_bitmap.dark_text.min", 64);
2158 pref("font.scale.tt_bitmap.dark_text.gain", "0.8");
2159 // sample prefs for TrueType font dirs
2160 //pref("font.directory.truetype.1", "/u/sam/tt_font1");
2161 //pref("font.directory.truetype.2", "/u/sam/tt_font2");
2162 //pref("font.directory.truetype.3", "/u/sam/tt_font3");
2163 pref("font.FreeType2.printing", true);
2165 // below a certian pixel size anti-aliased bitmat scaled fonts 
2166 // produce poor results
2167 pref("font.scale.aa_bitmap.enable", true);
2168 pref("font.scale.aa_bitmap.always", false);
2169 pref("font.scale.aa_bitmap.min", 6);
2170 pref("font.scale.aa_bitmap.undersize", 80);
2171 pref("font.scale.aa_bitmap.oversize", 120);
2172 pref("font.scale.aa_bitmap.dark_text.min", 64);
2173 pref("font.scale.aa_bitmap.dark_text.gain", "0.5");
2174 pref("font.scale.aa_bitmap.light_text.min", 64);
2175 pref("font.scale.aa_bitmap.light_text.gain", "1.3");
2177 pref("font.scale.bitmap.min",       12);
2178 pref("font.scale.bitmap.undersize", 80);
2179 pref("font.scale.bitmap.oversize",  120);
2181 pref("font.scale.outline.min.ja",      10);
2182 pref("font.scale.aa_bitmap.min.ja",    12);
2183 pref("font.scale.aa_bitmap.always.ja", false);
2184 pref("font.scale.bitmap.min.ja",       16);
2185 pref("font.scale.bitmap.undersize.ja", 80);
2186 pref("font.scale.bitmap.oversize.ja",  120);
2188 pref("font.scale.outline.min.ko",      10);
2189 pref("font.scale.aa_bitmap.min.ko",    12);
2190 pref("font.scale.aa_bitmap.always.ko", false);
2191 pref("font.scale.bitmap.min.ko",       16);
2192 pref("font.scale.bitmap.undersize.ko", 80);
2193 pref("font.scale.bitmap.oversize.ko",  120);
2195 pref("font.scale.outline.min.zh-CN",      10);
2196 pref("font.scale.aa_bitmap.min.zh-CN",    12);
2197 pref("font.scale.aa_bitmap.always.zh-CN", false);
2198 pref("font.scale.bitmap.min.zh-CN",       16);
2199 pref("font.scale.bitmap.undersize.zh-CN", 80);
2200 pref("font.scale.bitmap.oversize.zh-CN",  120);
2202 pref("font.scale.outline.min.zh-TW",      10);
2203 pref("font.scale.aa_bitmap.min.zh-TW",    12);
2204 pref("font.scale.aa_bitmap.always.zh-TW", false);
2205 pref("font.scale.bitmap.min.zh-TW",       16);
2206 pref("font.scale.bitmap.undersize.zh-TW", 80);
2207 pref("font.scale.bitmap.oversize.zh-TW",  120);
2209 pref("font.scale.outline.min.zh-HK",      10);
2210 pref("font.scale.aa_bitmap.min.zh-HK",    12);
2211 pref("font.scale.aa_bitmap.always.zh-HK", false);
2212 pref("font.scale.bitmap.min.zh-HK",       16);
2213 pref("font.scale.bitmap.undersize.zh-HK", 80);
2214 pref("font.scale.bitmap.oversize.zh-HK",  120);
2216 // minimum font sizes
2218 pref("font.min-size.variable.ja", 10);
2219 pref("font.min-size.fixed.ja", 10);
2221 pref("font.min-size.variable.ko", 10);
2222 pref("font.min-size.fixed.ko", 10);
2224 pref("font.min-size.variable.zh-CN", 10);
2225 pref("font.min-size.fixed.zh-CN", 10);
2227 pref("font.min-size.variable.zh-TW", 10);
2228 pref("font.min-size.fixed.zh-TW", 10);
2230 pref("font.min-size.variable.zh-HK", 10);
2231 pref("font.min-size.fixed.zh-HK", 10);
2233 // X11 specific
2234 /* X11 font accept/reject patterns:
2235  * Patterns have to match against strings like this:
2236  * (boolean values can only be "true" or "false")
2237  * "fname=.*;scalable=.*;outline_scaled=.*;xdisplay=.*;xdpy=%d;ydpy=%d;xdevice=.*"
2238  * - fname     = X11 font name (string)
2239  * - scalable  = is font scalable ? (boolean)
2240  * - outline_scaled = is font an outline scaled font ? (boolean)
2241  * - xdisplay  = X11 display name (like "host:0.0" (string)
2242  * - xdpy      = X DPI (X screen resolution) (integer)
2243  * - ydpy      = Y DPI (Y screen resolution) (integer)
2244  * - xdevice   = "display" or "printer" (Xprint - now obsolete)
2245  * Patterns use  the regular expressions described in the EXTENDED REGULAR
2246  * EXPRESSIONS section of the regex(5) manual page.
2247  * Note that prefs strings can always be concatenated via the '+'-operator,
2248  * e.g. pref("font.x11.acceptfontpattern", "pattern1|" + 
2249  *                                         "pattern2|" +
2250  *                                         "pattern3");
2251  */
2252 /* reject font if accept pattern does not match it... */
2253 //pref("font.x11.acceptfontpattern", ".*");
2254 /* reject font if reject pattern matches it... */
2255 //pref("font.x11.rejectfontpattern", 
2256 //     "fname=-urw.*;scalable=false;outline_scaled=false;xdisplay=.*;xdpy=.*;ydpy=.*;xdevice=.*");
2258 /* PostScript print module prefs */
2259 // pref("print.postscript.enabled",      true);
2260 pref("print.postscript.paper_size",    "letter");
2261 pref("print.postscript.orientation",   "portrait");
2262 pref("print.postscript.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
2264 # XP_UNIX
2265 #endif
2266 #endif
2268 #if MOZ_WIDGET_TOOLKIT==photon
2270 // font names
2271 pref("font.name.serif.x-western", "serif");
2272 pref("font.name.sans-serif.x-western", "sans-serif");
2273 pref("font.name.monospace.x-western", "monospace");
2274 pref("font.name.cursive.x-western", "cursive");
2275 pref("font.name.fantasy.x-western", "fantasy");
2277 pref("font.name.serif.el", "serif");
2278 pref("font.name.sans-serif.el", "sans-serif");
2279 pref("font.name.monospace.el", "monospace");
2281 pref("font.name.serif.he", "serif");
2282 pref("font.name.sans-serif.he", "sans-serif");
2283 pref("font.name.monospace.he", "monospace");
2285 pref("font.name.serif.ja", "serif");
2286 pref("font.name.sans-serif.ja", "sans-serif");
2287 pref("font.name.monospace.ja", "monospace");
2289 pref("font.name.serif.ko", "serif");
2290 pref("font.name.sans-serif.ko", "sans-serif");
2291 pref("font.name.monospace.ko", "monospace");
2293 pref("font.name.serif.tr", "serif");
2294 pref("font.name.sans-serif.tr", "sans-serif");
2295 pref("font.name.monospace.tr", "monospace");
2297 pref("font.name.serif.x-baltic", "serif");
2298 pref("font.name.sans-serif.x-baltic", "sans-serif");
2299 pref("font.name.monospace.x-baltic", "monospace");
2301 pref("font.name.serif.x-central-euro", "serif");
2302 pref("font.name.sans-serif.x-central-euro", "sans-serif");
2303 pref("font.name.monospace.x-central-euro", "monospace");
2305 pref("font.name.serif.x-cyrillic", "serif");
2306 pref("font.name.sans-serif.x-cyrillic", "sans-serif");
2307 pref("font.name.monospace.x-cyrillic", "monospace");
2309 pref("font.name.serif.x-unicode", "serif");
2310 pref("font.name.sans-serif.x-unicode", "sans-serif");
2311 pref("font.name.monospace.x-unicode", "monospace");
2313 pref("font.name.serif.x-user-def", "serif");
2314 pref("font.name.sans-serif.x-user-def", "sans-serif");
2315 pref("font.name.monospace.x-user-def", "monospace");
2317 pref("font.name.serif.zh-CN", "serif");
2318 pref("font.name.sans-serif.zh-CN", "sans-serif");
2319 pref("font.name.monospace.zh-CN", "monospace");
2321 pref("font.size.variable.x-western", 14);
2322 pref("font.size.fixed.x-western", 12);
2324 pref("applications.telnet", "pterm telnet %h %p");
2325 pref("applications.tn3270", "pterm tn3270 %h");
2326 pref("applications.rlogin", "pterm rlogin %h");
2327 pref("applications.rlogin_with_user", "pterm rlogin %h -l %u");
2329 // print_extra_margin enables platforms to specify an extra gap or margin
2330 // around the content of the page for Print Preview only
2331 pref("print.print_extra_margin", 90); // twips (90 twips is an eigth of an inch)
2333 # photon
2334 #endif
2336 #if OS_ARCH==OpenVMS
2338 pref("mail.use_builtin_movemail", false);
2340 pref("helpers.global_mime_types_file", "/sys$manager/netscape/mime.types");
2341 pref("helpers.global_mailcap_file", "/sys$manager/netscape/mailcap");
2342 pref("helpers.private_mime_types_file", "/sys$login/.mime.types");
2343 pref("helpers.private_mailcaptypes_file", "/sys$login/.mailcap");
2345 pref("applications.telnet", "create /term /detach \"telnet %h %p\"");
2346 pref("applications.tn3270", "create /term /detach \"telnet /term=IBM-3278-5 %h %p\"");
2347 pref("applications.rlogin", "create /term /detach \"rlogin %h\"");
2348 pref("applications.rlogin_with_user", "create /term /detach \"rlogin %h -l %u\"");
2350 /* PostScript module specific (see unix.js for additional configuration details) */
2351 pref("print.postscript.print_command", "print /delete");
2352 /* Print module independant */
2353 pref("print.print_command", "print /delete");
2354 pref("print.print_color", false);
2356 pref("browser.cache.disk.capacity", 4096);
2357 pref("plugin.soname.list", "");
2359 # OpenVMS
2360 #endif
2362 #if OS_ARCH==AIX
2364 // Override default Japanese fonts
2365 pref("font.name.serif.ja", "dt-interface system-jisx0208.1983-0");
2366 pref("font.name.sans-serif.ja", "dt-interface system-jisx0208.1983-0");
2367 pref("font.name.monospace.ja", "dt-interface user-jisx0208.1983-0");
2369 // Override default Cyrillic fonts
2370 pref("font.name.serif.x-cyrillic", "dt-interface system-iso8859-5");
2371 pref("font.name.sans-serif.x-cyrillic", "dt-interface system-iso8859-5");
2372 pref("font.name.monospace.x-cyrillic", "dt-interface user-iso8859-5");
2374 // Override default Unicode fonts
2375 pref("font.name.serif.x-unicode", "dt-interface system-ucs2.cjk_japan-0");
2376 pref("font.name.sans-serif.x-unicode", "dt-interface system-ucs2.cjk_japan-0");
2377 pref("font.name.monospace.x-unicode", "dt-interface user-ucs2.cjk_japan-0");
2379 # AIX
2380 #endif
2382 #ifdef SOLARIS
2384 pref("print.postscript.print_command", "lp -c -s ${MOZ_PRINTER_NAME:+'-d'}${MOZ_PRINTER_NAME}");
2385 pref("print.print_command", "lp -c -s ${MOZ_PRINTER_NAME:+'-d'}${MOZ_PRINTER_NAME}");
2387 # Solaris
2388 #endif
2390 // Login Manager prefs
2391 pref("signon.rememberSignons",              true);
2392 pref("signon.expireMasterPassword",         false);
2393 pref("signon.SignonFileName",               "signons.txt"); // obsolete 
2394 pref("signon.SignonFileName2",              "signons2.txt");
2395 pref("signon.autofillForms",                true); 
2396 pref("signon.debug",                        false); // logs to Error Console