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