home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Complet / thunderbird / defaults / pref / all.js next >
Encoding:
Text File  |  2004-02-07  |  42.6 KB  |  870 lines

  1. /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2.  
  3. /* ***** BEGIN LICENSE BLOCK *****
  4.  
  5.  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
  6.  
  7.  *
  8.  
  9.  * The contents of this file are subject to the Netscape Public License
  10.  
  11.  * Version 1.1 (the "License"); you may not use this file except in
  12.  
  13.  * compliance with the License. You may obtain a copy of the License at
  14.  
  15.  * http://www.mozilla.org/NPL/
  16.  
  17.  *
  18.  
  19.  * Software distributed under the License is distributed on an "AS IS" basis,
  20.  
  21.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  22.  
  23.  * for the specific language governing rights and limitations under the
  24.  
  25.  * License.
  26.  
  27.  *
  28.  
  29.  * The Original Code is mozilla.org code.
  30.  
  31.  *
  32.  
  33.  * The Initial Developer of the Original Code is 
  34.  
  35.  * Netscape Communications Corporation.
  36.  
  37.  * Portions created by the Initial Developer are Copyright (C) 1998
  38.  
  39.  * the Initial Developer. All Rights Reserved.
  40.  
  41.  *
  42.  
  43.  * Contributor(s):
  44.  
  45.  *
  46.  
  47.  * Alternatively, the contents of this file may be used under the terms of
  48.  
  49.  * either the GNU General Public License Version 2 or later (the "GPL"), or 
  50.  
  51.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  52.  
  53.  * in which case the provisions of the GPL or the LGPL are applicable instead
  54.  
  55.  * of those above. If you wish to allow use of your version of this file only
  56.  
  57.  * under the terms of either the GPL or the LGPL, and not to allow others to
  58.  
  59.  * use your version of this file under the terms of the NPL, indicate your
  60.  
  61.  * decision by deleting the provisions above and replace them with the notice
  62.  
  63.  * and other provisions required by the GPL or the LGPL. If you do not delete
  64.  
  65.  * the provisions above, a recipient may use your version of this file under
  66.  
  67.  * the terms of any one of the NPL, the GPL or the LGPL.
  68.  
  69.  *
  70.  
  71.  * ***** END LICENSE BLOCK ***** */
  72.  
  73.  
  74.  
  75. // SYNTAX HINTS:  dashes are delimiters.  Use underscores instead.
  76.  
  77. //  The first character after a period must be alphabetic.
  78.  
  79.  
  80.  
  81. pref("editor.singleLine.pasteNewlines", 4);
  82.  
  83. pref("startup.homepage_override_url","chrome://navigator-region/locale/region.properties");
  84.  
  85. pref("browser.chromeURL","chrome://navigator/content/navigator.xul");
  86.  
  87. pref("browser.hiddenWindowChromeURL", "chrome://messenger/content/hiddenWindow.xul");
  88.  
  89.  
  90.  
  91. pref("network.search.url","http://cgi.netscape.com/cgi-bin/url_search.cgi?search=");
  92.  
  93.  
  94.  
  95. pref("keyword.URL", "http://keyword.netscape.com/keyword/");
  96.  
  97. pref("keyword.enabled", false);
  98.  
  99. pref("general.useragent.locale", "chrome://navigator/locale/navigator.properties");
  100.  
  101. pref("general.useragent.contentlocale", "chrome://navigator-region/locale/region.properties");
  102.  
  103. pref("general.useragent.vendor", "Thunderbird");
  104.  
  105. pref("general.useragent.vendorSub", "0.5");
  106.  
  107.  
  108.  
  109. pref("general.startup.browser",             false);
  110.  
  111. pref("general.startup.mail",                false);
  112.  
  113. pref("general.startup.news",                false);
  114.  
  115. pref("general.startup.editor",              false);
  116.  
  117. pref("general.startup.compose",             false);
  118.  
  119. pref("general.startup.addressbook",         false);
  120.  
  121.  
  122.  
  123. pref("general.open_location.last_url",      "");
  124.  
  125. pref("general.open_location.last_window_choice", 0);
  126.  
  127.  
  128.  
  129. pref("general.config.obscure_value", 0); // for MCD .cfg files
  130.  
  131.  
  132.  
  133. pref("backups.number_of_prefs_copies", 1);
  134.  
  135.  
  136.  
  137. // 0 = blank, 1 = home (browser.startup.homepage), 2 = last
  138.  
  139. pref("browser.startup.page",                1);
  140.  
  141. pref("browser.startup.homepage",       "chrome://navigator-region/locale/region.properties");
  142.  
  143. pref("browser.startup.homepage.count", 1);
  144.  
  145. // "browser.startup.homepage_override" was for 4.x
  146.  
  147. pref("browser.startup.homepage_override.1", true);
  148.  
  149. pref("browser.startup.autoload_homepage",   true);
  150.  
  151.  
  152.  
  153. pref("browser.cache.enable",                true); // see also network.http.use-cache
  154.  
  155. pref("browser.cache.disk.enable",           true);
  156.  
  157. pref("browser.cache.disk.capacity",         50000);
  158.  
  159. pref("browser.cache.memory.enable",         true);
  160.  
  161. pref("browser.cache.memory.capacity",       4096);
  162.  
  163. pref("browser.cache.disk_cache_ssl",        false);
  164.  
  165. // 0 = once-per-session, 1 = each-time, 2 = never, 3 = when-appropriate/automatically
  166.  
  167. pref("browser.cache.check_doc_frequency",   3);
  168.  
  169.  
  170.  
  171. pref("browser.display.use_document_fonts",  1);  // 0 = never, 1 = quick, 2 = always
  172.  
  173. pref("browser.display.use_document_colors", true);
  174.  
  175. pref("browser.display.use_system_colors",   false);
  176.  
  177. pref("browser.display.foreground_color",    "#000000");
  178.  
  179. pref("browser.display.background_color",    "#FFFFFF");
  180.  
  181. pref("browser.display.force_inline_alttext", false); // true = force ALT text for missing images to be layed out inline
  182.  
  183. // 0 = no external leading, 
  184.  
  185. // 1 = use external leading only when font provides, 
  186.  
  187. // 2 = add extra leading both internal leading and external leading are zero
  188.  
  189. pref("browser.display.normal_lineheight_calc_control", 2);
  190.  
  191. pref("browser.display.show_image_placeholders", true); // true = show image placeholders while image is loaded and when image is broken
  192.  
  193. pref("browser.anchor_color",                "#0000EE");
  194.  
  195. pref("browser.active_color",                "#EE0000");
  196.  
  197. pref("browser.visited_color",               "#551A8B");
  198.  
  199. pref("browser.underline_anchors",           true);
  200.  
  201. pref("browser.blink_allowed",               true);
  202.  
  203. pref("browser.enable_automatic_image_resizing", false);
  204.  
  205.  
  206.  
  207. pref("browser.display.use_focus_colors",    false);
  208.  
  209. pref("browser.display.focus_background_color", "#117722");
  210.  
  211. pref("browser.display.focus_text_color",     "#ffffff");
  212.  
  213. pref("browser.display.focus_ring_width",     1);
  214.  
  215. pref("browser.display.focus_ring_on_anything", false);
  216.  
  217.  
  218.  
  219. pref("browser.urlbar.autoFill", false);
  220.  
  221. pref("browser.urlbar.showPopup", true);
  222.  
  223. pref("browser.urlbar.showSearch", true);
  224.  
  225. pref("browser.urlbar.matchOnlyTyped", false);
  226.  
  227.  
  228.  
  229. pref("browser.chrome.site_icons", true);
  230.  
  231. pref("browser.chrome.favicons", false);
  232.  
  233.  
  234.  
  235. pref("browser.chrome.toolbar_tips",         true);
  236.  
  237. // 0 = Pictures Only, 1 = Text Only, 2 = Pictures and Text
  238.  
  239. pref("browser.chrome.toolbar_style",        2);
  240.  
  241.  
  242.  
  243. pref("browser.toolbars.showbutton.bookmarks", true);
  244.  
  245. pref("browser.toolbars.showbutton.go",      false);
  246.  
  247. pref("browser.toolbars.showbutton.home",    true);
  248.  
  249. pref("browser.toolbars.showbutton.print",   true);
  250.  
  251. pref("browser.toolbars.showbutton.search",  true);
  252.  
  253.  
  254.  
  255. pref("browser.turbo.enabled", false);
  256.  
  257.  
  258.  
  259. pref("browser.helperApps.alwaysAsk.force",  false);
  260.  
  261. pref("browser.helperApps.neverAsk.saveToDisk", "");
  262.  
  263. pref("browser.helperApps.neverAsk.openFile", "");
  264.  
  265.  
  266.  
  267. pref("accessibility.browsewithcaret", false);
  268.  
  269. pref("accessibility.warn_on_browsewithcaret", true);
  270.  
  271. // Tab focus model bit field:
  272.  
  273. // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
  274.  
  275. // Most users will want 1, 3, or 7.
  276.  
  277. pref("accessibility.tabfocus", 7);
  278.  
  279. pref("accessibility.usetexttospeech", "");
  280.  
  281. pref("accessibility.usebrailledisplay", "");
  282.  
  283. pref("accessibility.accesskeycausesactivation", true);
  284.  
  285.  
  286.  
  287. // Type Ahead Find
  288.  
  289. pref("accessibility.typeaheadfind", true);
  290.  
  291. pref("accessibility.typeaheadfind.autostart", true);
  292.  
  293. pref("accessibility.typeaheadfind.linksonly", true);
  294.  
  295. pref("accessibility.typeaheadfind.startlinksonly", false);
  296.  
  297. pref("accessibility.typeaheadfind.timeout", 4000);
  298.  
  299. pref("accessibility.typeaheadfind.enabletimeout", true);
  300.  
  301. pref("accessibility.typeaheadfind.soundURL", "default");
  302.  
  303. pref("accessibility.typeaheadfind.enablesound", true);
  304.  
  305.  
  306.  
  307. // Dialog modality issues
  308.  
  309. pref("browser.prefWindowModal", true);
  310.  
  311. pref("browser.show_about_as_stupid_modal_window", false);
  312.  
  313.  
  314.  
  315. pref("browser.download.progressDnldDialog.keepAlive", true); // keep the dnload progress dialog up after dnload is complete
  316.  
  317. pref("browser.download.progressDnldDialog.enable_launch_reveal_buttons", true);
  318.  
  319. pref("browser.download.useDownloadDir", false);
  320.  
  321. pref("browser.download.folderList", 0);
  322.  
  323.  
  324.  
  325. // various default search settings
  326.  
  327. pref("browser.search.defaulturl", "chrome://navigator-region/locale/region.properties");
  328.  
  329. pref("browser.search.opensidebarsearchpanel", true);
  330.  
  331. pref("browser.search.last_search_category", "NC:SearchCategory?category=urn:search:category:1");
  332.  
  333. pref("browser.search.mode", 0);
  334.  
  335. pref("browser.search.powermode", 0);
  336.  
  337. // basic search popup constraint: minimum sherlock plugin version displayed
  338.  
  339. // (note: must be a string representation of a float or it'll default to 0.0)
  340.  
  341. pref("browser.search.basic.min_ver", "0.0");
  342.  
  343. pref("browser.urlbar.autocomplete.enabled", true);
  344.  
  345. pref("browser.urlbar.clickSelectsAll", true);
  346.  
  347.  
  348.  
  349. pref("browser.history_expire_days", 9);
  350.  
  351. pref("browser.history.grouping", "day");
  352.  
  353. pref("browser.sessionhistory.max_entries", 50);
  354.  
  355.  
  356.  
  357. // Translation service
  358.  
  359. pref("browser.translation.service", "http://www.teletranslator.com:8120/?AlisUI=frames_ex/moz_home&alis_info=moz&AlisTargetURI=");
  360.  
  361. pref("browser.translation.serviceDomain", "teletranslator.com");
  362.  
  363.   
  364.  
  365. // Platform for Internet Content Selection
  366.  
  367. pref("browser.PICS.ratings_enabled", false);
  368.  
  369. pref("browser.PICS.pages_must_be_rated", false);
  370.  
  371. pref("browser.PICS.disable_for_this_session", false);
  372.  
  373. pref("browser.PICS.reenable_for_this_session", false);
  374.  
  375. pref("browser.PICS.service.http___home_netscape_com_default_rating.service_enabled", true);
  376.  
  377. pref("browser.PICS.service.http___home_netscape_com_default_rating.s", 0);
  378.  
  379.  
  380.  
  381. // loading and rendering of framesets and iframes
  382.  
  383. pref("browser.frames.enabled", true);
  384.  
  385.  
  386.  
  387. // form submission
  388.  
  389. pref("browser.forms.submit.backwards_compatible", true);
  390.  
  391.  
  392.  
  393. // Tab browser preferences.
  394.  
  395. pref("browser.tabs.autoHide", true);
  396.  
  397. pref("browser.tabs.forceHide", false);
  398.  
  399. pref("browser.tabs.loadInBackground", false);
  400.  
  401. pref("browser.tabs.opentabfor.middleclick", false);
  402.  
  403. pref("browser.tabs.opentabfor.urlbar", false);
  404.  
  405. pref("browser.tabs.opentabfor.windowopen", false);
  406.  
  407. pref("browser.tabs.opentabfor.bookmarks", false);
  408.  
  409.  
  410.  
  411. // view source
  412.  
  413. pref("view_source.syntax_highlight", true);
  414.  
  415. pref("view_source.wrap_long_lines", false);
  416.  
  417.  
  418.  
  419. // css2 hover pref
  420.  
  421. pref("nglayout.events.showHierarchicalHover", false);
  422.  
  423.  
  424.  
  425. // dispatch left clicks only to content in browser (still allows clicks to chrome/xul)
  426.  
  427. pref("nglayout.events.dispatchLeftClickOnly", true);
  428.  
  429.  
  430.  
  431. // whether or not to use xbl form controls
  432.  
  433. pref("nglayout.debug.enable_xbl_forms", false);
  434.  
  435.  
  436.  
  437. // size of scrollbar snapping region
  438.  
  439. pref("slider.snapMultiplier", 6);
  440.  
  441.  
  442.  
  443. // option to choose plug-in finder
  444.  
  445. pref("application.use_ns_plugin_finder", false);
  446.  
  447.  
  448.  
  449. // Smart Browsing prefs
  450.  
  451. pref("browser.related.enabled", true);
  452.  
  453. pref("browser.related.autoload", 1);  // 0 = Always, 1 = After first use, 2 = Never
  454.  
  455. pref("browser.related.provider", "http://www-rl.netscape.com/wtgn?");
  456.  
  457. pref("browser.related.disabledForDomains", "");
  458.  
  459. pref("browser.goBrowsing.enabled", true);
  460.  
  461.  
  462.  
  463. // URI fixup prefs
  464.  
  465. pref("browser.fixup.alternate.enabled", true);
  466.  
  467. pref("browser.fixup.alternate.prefix", "www.");
  468.  
  469. pref("browser.fixup.alternate.suffix", ".com");
  470.  
  471.  
  472.  
  473. // Default bookmark sorting
  474.  
  475. pref("browser.bookmarks.sort.direction", "descending");
  476.  
  477. pref("browser.bookmarks.sort.resource", "rdf:http://home.netscape.com/NC-rdf#Name");
  478.  
  479.  
  480.  
  481. //Internet Search
  482.  
  483. pref("browser.search.defaultenginename", "chrome://communicator-region/locale/region.properties");
  484.  
  485.  
  486.  
  487. // Print header customization
  488.  
  489. // Use the following codes:
  490.  
  491. // &T - Title
  492.  
  493. // &U - Document URL
  494.  
  495. // &D - Date/Time
  496.  
  497. // &P - Page Number
  498.  
  499. // &PT - Page Number "of" Page total
  500.  
  501. // Set each header to a string containing zero or one of these codes
  502.  
  503. // and the code will be replaced in that string by the corresponding data
  504.  
  505. pref("print.print_headerleft", "&T");
  506.  
  507. pref("print.print_headercenter", "");
  508.  
  509. pref("print.print_headerright", "&U");
  510.  
  511. pref("print.print_footerleft", "&PT");
  512.  
  513. pref("print.print_footercenter", "");
  514.  
  515. pref("print.print_footerright", "&D");
  516.  
  517. pref("print.show_print_progress", true);
  518.  
  519.  
  520.  
  521. // When this is set to false it means each window has its PrintSettings
  522.  
  523. // and a change in one browser window does not effect the others
  524.  
  525. pref("print.use_global_printsettings", true);
  526.  
  527.  
  528.  
  529. // This indicates whether it should use the native dialog or the XP Dialog50
  530.  
  531. pref("print.use_native_print_dialog", false);
  532.  
  533.  
  534.  
  535. // Save the Printings after each print job
  536.  
  537. pref("print.save_print_settings", true);
  538.  
  539.  
  540.  
  541. pref("print.whileInPrintPreview", true);
  542.  
  543.  
  544.  
  545. // Cache old Presentation when going into Print Preview
  546.  
  547. pref("print.always_cache_old_pres", false);
  548.  
  549.  
  550.  
  551. // Enables you to specify the gap from the edge of the paper to the margin
  552.  
  553. // this is used by both Printing and Print Preview
  554.  
  555. pref("print.print_edge_top", 0); // 1/100 of an inch
  556.  
  557. pref("print.print_edge_left", 0); // 1/100 of an inch
  558.  
  559. pref("print.print_edge_right", 0); // 1/100 of an inch
  560.  
  561. pref("print.print_edge_bottom", 0); // 1/100 of an inch
  562.  
  563.  
  564.  
  565. // Default Capability Preferences: Security-Critical! 
  566.  
  567. // Editing these may create a security risk - be sure you know what you're doing
  568.  
  569. //pref("capability.policy.default.barprop.visible.set", "UniversalBrowserWrite");
  570.  
  571.  
  572.  
  573. pref("capability.policy.default_policynames", "mailnews");
  574.  
  575. pref("capability.policy.policynames", "");
  576.  
  577.  
  578.  
  579. pref("capability.policy.default.DOMException.code", "allAccess");
  580.  
  581. pref("capability.policy.default.DOMException.message", "allAccess");
  582.  
  583. pref("capability.policy.default.DOMException.name", "allAccess");
  584.  
  585. pref("capability.policy.default.DOMException.result", "allAccess");
  586.  
  587. pref("capability.policy.default.DOMException.toString", "allAccess");
  588.  
  589.  
  590.  
  591. pref("capability.policy.default.History.back", "allAccess");
  592.  
  593. pref("capability.policy.default.History.current", "UniversalBrowserRead");
  594.  
  595. pref("capability.policy.default.History.forward", "allAccess");
  596.  
  597. pref("capability.policy.default.History.go", "allAccess");
  598.  
  599. pref("capability.policy.default.History.item", "UniversalBrowserRead");
  600.  
  601. pref("capability.policy.default.History.next", "UniversalBrowserRead");
  602.  
  603. pref("capability.policy.default.History.previous", "UniversalBrowserRead");
  604.  
  605. pref("capability.policy.default.History.toString", "UniversalBrowserRead");
  606.  
  607.  
  608.  
  609. pref("capability.policy.default.HTMLDocument.close", "allAccess");
  610.  
  611. pref("capability.policy.default.HTMLDocument.open", "allAccess");
  612.  
  613.  
  614.  
  615. pref("capability.policy.default.Location.hash.set", "allAccess");
  616.  
  617. pref("capability.policy.default.Location.href.set", "allAccess");
  618.  
  619. pref("capability.policy.default.Location.reload", "allAccess");
  620.  
  621. pref("capability.policy.default.Location.replace", "allAccess");
  622.  
  623.  
  624.  
  625. pref("capability.policy.default.Navigator.preference", "allAccess");
  626.  
  627. pref("capability.policy.default.Navigator.preferenceinternal.get", "UniversalPreferencesRead");
  628.  
  629. pref("capability.policy.default.Navigator.preferenceinternal.set", "UniversalPreferencesWrite");
  630.  
  631.  
  632.  
  633. pref("capability.policy.default.Window.blur", "allAccess");
  634.  
  635. pref("capability.policy.default.Window.close", "allAccess");
  636.  
  637. pref("capability.policy.default.Window.closed", "allAccess");
  638.  
  639. pref("capability.policy.default.Window.Components", "allAccess");
  640.  
  641. pref("capability.policy.default.Window.document", "allAccess");
  642.  
  643. pref("capability.policy.default.Window.focus", "allAccess");
  644.  
  645. pref("capability.policy.default.Window.frames", "allAccess");
  646.  
  647. pref("capability.policy.default.Window.history", "allAccess");
  648.  
  649. pref("capability.policy.default.Window.length", "allAccess");
  650.  
  651. pref("capability.policy.default.Window.location", "allAccess");
  652.  
  653. pref("capability.policy.default.Window.opener", "allAccess");
  654.  
  655. pref("capability.policy.default.Window.parent", "allAccess");
  656.  
  657. pref("capability.policy.default.Window.self", "allAccess");
  658.  
  659. pref("capability.policy.default.Window.top", "allAccess");
  660.  
  661. pref("capability.policy.default.Window.window", "allAccess");
  662.  
  663.  
  664.  
  665. // Restrictions on the DOM for mail/news - see bugs 66938 and 84545
  666.  
  667. pref("capability.policy.mailnews.sites", "mailbox: imap: news:");
  668.  
  669.  
  670.  
  671. pref("capability.policy.mailnews.*.attributes.get", "noAccess");
  672.  
  673. pref("capability.policy.mailnews.*.baseURI.get", "noAccess");
  674.  
  675. pref("capability.policy.mailnews.*.data.get", "noAccess");
  676.  
  677. pref("capability.policy.mailnews.*.getAttribute", "noAccess");
  678.  
  679. pref("capability.policy.mailnews.*.getNamedItem", "noAccess");
  680.  
  681. pref("capability.policy.mailnews.*.host.get", "noAccess");
  682.  
  683. pref("capability.policy.mailnews.*.hostname.get", "noAccess");
  684.  
  685. pref("capability.policy.mailnews.*.href.get", "noAccess");
  686.  
  687. pref("capability.policy.mailnews.*.innerHTML.get", "noAccess");
  688.  
  689. pref("capability.policy.mailnews.*.lowSrc.get", "noAccess");
  690.  
  691. pref("capability.policy.mailnews.*.nodeValue.get", "noAccess");
  692.  
  693. pref("capability.policy.mailnews.*.pathname.get", "noAccess");
  694.  
  695. pref("capability.policy.mailnews.*.protocol.get", "noAccess");
  696.  
  697. pref("capability.policy.mailnews.*.src.get", "noAccess");
  698.  
  699. pref("capability.policy.mailnews.*.substringData.get", "noAccess");
  700.  
  701. pref("capability.policy.mailnews.*.text.get", "noAccess");
  702.  
  703. pref("capability.policy.mailnews.*.title.get", "noAccess");
  704.  
  705. pref("capability.policy.mailnews.DOMException.toString", "noAccess");
  706.  
  707. pref("capability.policy.mailnews.HTMLAnchorElement.toString", "noAccess");
  708.  
  709. pref("capability.policy.mailnews.HTMLDocument.domain", "noAccess");
  710.  
  711. pref("capability.policy.mailnews.HTMLDocument.URL", "noAccess");
  712.  
  713. pref("capability.policy.mailnews.Location.toString", "noAccess");
  714.  
  715. pref("capability.policy.mailnews.Range.toString", "noAccess");
  716.  
  717. pref("capability.policy.mailnews.Window.blur", "noAccess");
  718.  
  719. pref("capability.policy.mailnews.Window.focus", "noAccess");
  720.  
  721. pref("capability.policy.mailnews.Window.innerWidth.set", "noAccess");
  722.  
  723. pref("capability.policy.mailnews.Window.innerHeight.set", "noAccess");
  724.  
  725. pref("capability.policy.mailnews.Window.moveBy", "noAccess");
  726.  
  727. pref("capability.policy.mailnews.Window.moveTo", "noAccess");
  728.  
  729. pref("capability.policy.mailnews.Window.name.set", "noAccess");
  730.  
  731. pref("capability.policy.mailnews.Window.outerHeight.set", "noAccess");
  732.  
  733. pref("capability.policy.mailnews.Window.outerWidth.set", "noAccess");
  734.  
  735. pref("capability.policy.mailnews.Window.resizeBy", "noAccess");
  736.  
  737. pref("capability.policy.mailnews.Window.resizeTo", "noAccess");
  738.  
  739. pref("capability.policy.mailnews.Window.screenX.set", "noAccess");
  740.  
  741. pref("capability.policy.mailnews.Window.screenY.set", "noAccess");
  742.  
  743. pref("capability.policy.mailnews.Window.sizeToContent", "noAccess");
  744.  
  745. pref("capability.policy.mailnews.document.load", "noAccess");
  746.  
  747. pref("capability.policy.mailnews.XMLHttpRequest.channel", "noAccess");
  748.  
  749. pref("capability.policy.mailnews.XMLHttpRequest.responseXML", "noAccess");
  750.  
  751. pref("capability.policy.mailnews.XMLHttpRequest.responseText", "noAccess");
  752.  
  753. pref("capability.policy.mailnews.XMLHttpRequest.status", "noAccess");
  754.  
  755. pref("capability.policy.mailnews.XMLHttpRequest.statusText", "noAccess");
  756.  
  757. pref("capability.policy.mailnews.XMLHttpRequest.abort", "noAccess");
  758.  
  759. pref("capability.policy.mailnews.XMLHttpRequest.getAllResponseHeaders", "noAccess");
  760.  
  761. pref("capability.policy.mailnews.XMLHttpRequest.getResponseHeader", "noAccess");
  762.  
  763. pref("capability.policy.mailnews.XMLHttpRequest.open", "noAccess");
  764.  
  765. pref("capability.policy.mailnews.XMLHttpRequest.send", "noAccess");
  766.  
  767. pref("capability.policy.mailnews.XMLHttpRequest.setRequestHeader", "noAccess");
  768.  
  769. pref("capability.policy.mailnews.XMLHttpRequest.readyState", "noAccess");
  770.  
  771. pref("capability.policy.mailnews.XMLHttpRequest.overrideMimeType", "noAccess");
  772.  
  773. pref("capability.policy.mailnews.XMLHttpRequest.onload", "noAccess");
  774.  
  775. pref("capability.policy.mailnews.XMLHttpRequest.onerror", "noAccess");
  776.  
  777. pref("capability.policy.mailnews.XMLHttpRequest.onreadystatechange", "noAccess");
  778.  
  779. pref("capability.policy.mailnews.XMLSerializer.serializeToString", "noAccess");
  780.  
  781. pref("capability.policy.mailnews.XMLSerializer.serializeToStream", "noAccess");
  782.  
  783. pref("capability.policy.mailnews.DOMParser,parseFromString", "noAccess");
  784.  
  785. pref("capability.policy.mailnews.DOMParser,parseFromStream", "noAccess");
  786.  
  787. pref("capability.policy.mailnews.SOAPCall.transportURI", "noAccess");
  788.  
  789. pref("capability.policy.mailnews.SOAPCall.verifySourceHeader", "noAccess");
  790.  
  791. pref("capability.policy.mailnews.SOAPCall.invoke", "noAccess");
  792.  
  793. pref("capability.policy.mailnews.SOAPCall.asyncInvoke", "noAccess");
  794.  
  795. pref("capability.policy.mailnews.SOAPResponse.fault", "noAccess");
  796.  
  797. pref("capability.policy.mailnews.SOAPEncoding.styleURI", "noAccess");
  798.  
  799. pref("capability.policy.mailnews.SOAPEncoding.getAssociatedEncoding", "noAccess");
  800.  
  801. pref("capability.policy.mailnews.SOAPEncoding.setEncoder", "noAccess");
  802.  
  803. pref("capability.policy.mailnews.SOAPEncoding.getEncoder", "noAccess");
  804.  
  805. pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
  806.  
  807. pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
  808.  
  809. pref("capability.policy.mailnews.SOAPEncoding.getDecoder", "noAccess");
  810.  
  811. pref("capability.policy.mailnews.SOAPEncoding.defaultEncoder", "noAccess");
  812.  
  813. pref("capability.policy.mailnews.SOAPEncoding.defaultDecoder", "noAccess");
  814.  
  815. pref("capability.policy.mailnews.SOAPEncoding.schemaCollection", "noAccess");
  816.  
  817. pref("capability.policy.mailnews.SOAPEncoding.encode", "noAccess");
  818.  
  819. pref("capability.policy.mailnews.SOAPEncoding.decode", "noAccess");
  820.  
  821. pref("capability.policy.mailnews.SOAPEncoding.mapSchemaURI", "noAccess");
  822.  
  823. pref("capability.policy.mailnews.SOAPEncoding.unmapSchemaURI", "noAccess");
  824.  
  825. pref("capability.policy.mailnews.SOAPEncoding.getInternalSchemaURI", "noAccess");
  826.  
  827. pref("capability.policy.mailnews.SOAPEncoding.getExternalSchemaURI", "noAccess");
  828.  
  829. pref("capability.policy.mailnews.SOAPFault.element", "noAccess");
  830.  
  831. pref("capability.policy.mailnews.SOAPFault.faultNamespaceURI", "noAccess");
  832.  
  833. pref("capability.policy.mailnews.SOAPFault.faultCode", "noAccess");
  834.  
  835. pref("capability.policy.mailnews.SOAPFault.faultString", "noAccess");
  836.  
  837. pref("capability.policy.mailnews.SOAPFault.faultActor", "noAccess");
  838.  
  839. pref("capability.policy.mailnews.SOAPFault.detail", "noAccess");
  840.  
  841. pref("capability.policy.mailnews.SOAPHeaderBlock.actorURI", "noAccess");
  842.  
  843. pref("capability.policy.mailnews.SOAPHeaderBlock.mustUnderstand", "noAccess");
  844.  
  845. pref("capability.policy.mailnews.SOAPParameter", "noAccess");
  846.  
  847. pref("capability.policy.mailnews.SOAPPropertyBagMutator.propertyBag", "noAccess");
  848.  
  849. pref("capability.policy.mailnews.SOAPPropertyBagMutator.addProperty", "noAccess");
  850.  
  851. pref("capability.policy.mailnews.SchemaLoader.load", "noAccess");
  852.  
  853. pref("capability.policy.mailnews.SchemaLoader.loadAsync", "noAccess");
  854.  
  855. pref("capability.policy.mailnews.SchemaLoader.processSchemaElement", "noAccess");
  856.  
  857. pref("capability.policy.mailnews.SchemaLoader.onLoad", "noAccess");
  858.  
  859. pref("capability.policy.mailnews.SchemaLoader.onError", "noAccess");
  860.  
  861.  
  862.  
  863. // XMLExtras
  864.  
  865. pref("capability.policy.default.XMLHttpRequest.channel", "noAccess");
  866.  
  867. pref("capability.policy.default.DOMParser.parseFromStream", "noAccess");
  868.  
  869.  
  870.  
  871.  
  872.  
  873. // Scripts & Windows prefs
  874.  
  875. pref("browser.block.target_new_window",     false);
  876.  
  877. pref("dom.disable_image_src_set",           false);
  878.  
  879. pref("dom.disable_open_during_load",        false);
  880.  
  881. pref("dom.disable_window_flip",             false);
  882.  
  883. pref("dom.disable_window_move_resize",      false);
  884.  
  885. pref("dom.disable_window_status_change",    false);
  886.  
  887.  
  888.  
  889. pref("dom.disable_window_open_feature.titlebar",    false);
  890.  
  891. pref("dom.disable_window_open_feature.close",       false);
  892.  
  893. pref("dom.disable_window_open_feature.toolbar",     false);
  894.  
  895. pref("dom.disable_window_open_feature.location",    false);
  896.  
  897. pref("dom.disable_window_open_feature.directories", false);
  898.  
  899. pref("dom.disable_window_open_feature.personalbar", false);
  900.  
  901. pref("dom.disable_window_open_feature.menubar",     false);
  902.  
  903. pref("dom.disable_window_open_feature.scrollbars",  false);
  904.  
  905. pref("dom.disable_window_open_feature.resizable",   false);
  906.  
  907. pref("dom.disable_window_open_feature.minimizable", false);
  908.  
  909. pref("dom.disable_window_open_feature.status",      false);
  910.  
  911.  
  912.  
  913. pref("dom.allow_scripts_to_close_windows",          false);
  914.  
  915.  
  916.  
  917. pref("javascript.enabled",                  true);
  918.  
  919. pref("javascript.allow.mailnews",           false);
  920.  
  921. pref("javascript.options.strict",           false);
  922.  
  923. pref("javascript.options.showInConsole",    true);
  924.  
  925.  
  926.  
  927. // advanced prefs
  928.  
  929. pref("advanced.always_load_images",         true);
  930.  
  931. pref("security.enable_java",                true);
  932.  
  933. pref("advanced.mailftp",                    false);
  934.  
  935. pref("image.animation_mode",                "normal");
  936.  
  937.  
  938.  
  939. pref("offline.startup_state",            2);
  940.  
  941. pref("offline.send.unsent_messages",            0);
  942.  
  943. pref("offline.download.download_messages",  0);
  944.  
  945. pref("offline.prompt_synch_on_exit",            true);
  946.  
  947.  
  948.  
  949. // If there is ever a security firedrill that requires
  950.  
  951. // us to block certian ports global, this is the pref 
  952.  
  953. // to use.  Is is a comma delimited list of port numbers
  954.  
  955. // for example:
  956.  
  957. //   pref("network.security.ports.banned", "1,2,3,4,5");
  958.  
  959. // prevents necko connecting to ports 1-5 unless the protocol
  960.  
  961. // overrides.
  962.  
  963.  
  964.  
  965. // Prevent using external protocol handlers for these schemes
  966.  
  967. pref("network.protocol-handler.external.hcp", false);
  968.  
  969. pref("network.protocol-handler.external.vbscript", false);
  970.  
  971. pref("network.protocol-handler.external.javascript", false);
  972.  
  973. pref("network.protocol-handler.external.ms-help", false);
  974.  
  975. pref("network.protocol-handler.external.vnd.ms.radio", false);
  976.  
  977.  
  978.  
  979. // Expose only select protocol handlers. All others should go
  980.  
  981. // through the external protocol handler route.
  982.  
  983. pref("network.protocol-handler.expose-all", false);
  984.  
  985. pref("network.protocol-handler.expose.mailto", true);
  986.  
  987. pref("network.protocol-handler.expose.news", true);
  988.  
  989. pref("network.protocol-handler.expose.snews", true);
  990.  
  991. pref("network.protocol-handler.expose.nntp", true);
  992.  
  993. pref("network.protocol-handler.expose.imap", true);
  994.  
  995. pref("network.protocol-handler.expose.addbook", true);
  996.  
  997. pref("network.protocol-handler.expose.pop", true);
  998.  
  999. pref("network.protocol-handler.expose.mailbox", true);
  1000.  
  1001.  
  1002.  
  1003. pref("network.hosts.smtp_server",           "mail");
  1004.  
  1005. pref("network.hosts.pop_server",            "mail");
  1006.  
  1007. pref("network.protocols.useSystemDefaults",   false); // set to true if user links should use system default handlers
  1008.  
  1009.  
  1010.  
  1011. // <http>
  1012.  
  1013. pref("network.http.version", "1.1");      // default
  1014.  
  1015. // pref("network.http.version", "1.0");   // uncomment this out in case of problems
  1016.  
  1017. // pref("network.http.version", "0.9");   // it'll work too if you're crazy
  1018.  
  1019. // keep-alive option is effectively obsolete. Nevertheless it'll work with
  1020.  
  1021. // some older 1.0 servers:
  1022.  
  1023.  
  1024.  
  1025. pref("network.http.proxy.version", "1.1");    // default
  1026.  
  1027. // pref("network.http.proxy.version", "1.0"); // uncomment this out in case of problems
  1028.  
  1029.                                               // (required if using junkbuster proxy)
  1030.  
  1031.  
  1032.  
  1033. // enable caching of http documents
  1034.  
  1035. pref("network.http.use-cache", true);
  1036.  
  1037.  
  1038.  
  1039. // this preference can be set to override the socket type used for normal
  1040.  
  1041. // HTTP traffic.  an empty value indicates the normal TCP/IP socket type.
  1042.  
  1043. pref("network.http.default-socket-type", "");
  1044.  
  1045.  
  1046.  
  1047. pref("network.http.keep-alive", true); // set it to false in case of problems
  1048.  
  1049. pref("network.http.proxy.keep-alive", true);
  1050.  
  1051. pref("network.http.keep-alive.timeout", 300);
  1052.  
  1053.  
  1054.  
  1055. // limit the absolute number of http connections.
  1056.  
  1057. pref("network.http.max-connections", 24);
  1058.  
  1059.  
  1060.  
  1061. // limit the absolute number of http connections that can be established per
  1062.  
  1063. // host.  if a http proxy server is enabled, then the "server" is the proxy
  1064.  
  1065. // server.  Otherwise, "server" is the http origin server.
  1066.  
  1067. pref("network.http.max-connections-per-server", 8);
  1068.  
  1069.  
  1070.  
  1071. // if network.http.keep-alive is true, and if NOT connecting via a proxy, then
  1072.  
  1073. // a new connection will only be attempted if the number of active persistent
  1074.  
  1075. // connections to the server is less then max-persistent-connections-per-server.
  1076.  
  1077. pref("network.http.max-persistent-connections-per-server", 2);
  1078.  
  1079.  
  1080.  
  1081. // if network.http.keep-alive is true, and if connecting via a proxy, then a
  1082.  
  1083. // new connection will only be attempted if the number of active persistent
  1084.  
  1085. // connections to the proxy is less then max-persistent-connections-per-proxy.
  1086.  
  1087. pref("network.http.max-persistent-connections-per-proxy", 4);
  1088.  
  1089.  
  1090.  
  1091. // amount of time (in seconds) to suspend pending requests, before spawning a
  1092.  
  1093. // new connection, once the limit on the number of persistent connections per
  1094.  
  1095. // host has been reached.  however, a new connection will not be created if
  1096.  
  1097. // max-connections or max-connections-per-server has also been reached.
  1098.  
  1099. pref("network.http.request.max-start-delay", 10);
  1100.  
  1101.  
  1102.  
  1103. // http specific network timeouts (XXX currently unused)
  1104.  
  1105. pref("network.http.connect.timeout",  30);    // in seconds
  1106.  
  1107. pref("network.http.request.timeout", 120);    // in seconds
  1108.  
  1109.  
  1110.  
  1111. // Headers
  1112.  
  1113. pref("network.http.accept.default", "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1");
  1114.  
  1115.  
  1116.  
  1117. pref("network.http.sendRefererHeader",      2); // 0=don't send any, 1=send only on clicks, 2=send on image requests as well
  1118.  
  1119.  
  1120.  
  1121. // Controls whether we send HTTPS referres to other HTTPS sites.
  1122.  
  1123. // By default this is enabled for compatibility (see bug 141641)
  1124.  
  1125. pref("network.http.sendSecureXSiteReferrer", true);
  1126.  
  1127.  
  1128.  
  1129. // Maximum number of consecutive redirects before aborting.
  1130.  
  1131. pref("network.http.redirection-limit", 20);
  1132.  
  1133.  
  1134.  
  1135. // Enable http compression: comment this out in case of problems with 1.1
  1136.  
  1137. pref("network.http.accept-encoding" ,"gzip,deflate,compress;q=0.9");
  1138.  
  1139.  
  1140.  
  1141. pref("network.http.pipelining"      , false);
  1142.  
  1143. pref("network.http.proxy.pipelining", false);
  1144.  
  1145.  
  1146.  
  1147. // Always pipeling the very first request:  this will only work when you are
  1148.  
  1149. // absolutely sure the the site or proxy you are browsing to/through support
  1150.  
  1151. // pipelining; the default behavior will be that the browser will first make
  1152.  
  1153. // a normal, non-pipelined request, then  examine  and remember the responce
  1154.  
  1155. // and only the subsequent requests to that site will be pipeline
  1156.  
  1157. pref("network.http.pipelining.firstrequest", false);
  1158.  
  1159.  
  1160.  
  1161. // Max number of requests in the pipeline
  1162.  
  1163. pref("network.http.pipelining.maxrequests" , 4);
  1164.  
  1165.  
  1166.  
  1167. pref("network.http.proxy.ssl.connect",true);
  1168.  
  1169. // </http>
  1170.  
  1171.  
  1172.  
  1173. // This preference controls whether or not internationalized domain names (IDN)
  1174.  
  1175. // are handled.  IDN requires a nsIIDNService implementation.
  1176.  
  1177. pref("network.enableIDN", true);
  1178.  
  1179.  
  1180.  
  1181. // This preference controls whether or not URLs with UTF-8 characters are
  1182.  
  1183. // escaped.  Set this preference to TRUE for strict RFC2396 conformance.
  1184.  
  1185. pref("network.standard-url.escape-utf8", true);
  1186.  
  1187.  
  1188.  
  1189. // Idle timeout for ftp control connections - 5 minute default
  1190.  
  1191. pref("network.ftp.idleConnectionTimeout", 300);
  1192.  
  1193.  
  1194.  
  1195. // directory listing format - constants are defined in nsIDirectoryListing.idl
  1196.  
  1197. // Do not set this to 0...
  1198.  
  1199. pref("network.dir.format", 2);
  1200.  
  1201.  
  1202.  
  1203. // enables the prefetch service (i.e., prefetching of <link rel="next"> URLs).
  1204.  
  1205. pref("network.prefetch-next", true);
  1206.  
  1207.  
  1208.  
  1209. // sspitzer:  change this back to "news" when we get to beta.
  1210.  
  1211. // for now, set this to news.mozilla.org because you can only
  1212.  
  1213. // post to the server specified by this pref.
  1214.  
  1215. pref("network.hosts.nntp_server",           "news.mozilla.org");
  1216.  
  1217.  
  1218.  
  1219. pref("network.hosts.socks_server",          "");
  1220.  
  1221. pref("network.hosts.socks_serverport",      1080);
  1222.  
  1223. pref("network.hosts.socks_conf",            "");
  1224.  
  1225. pref("network.image.imageBehavior",         0); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
  1226.  
  1227. pref("network.image.warnAboutImages",       false);
  1228.  
  1229. pref("network.proxy.autoconfig_url",        "");
  1230.  
  1231. pref("network.proxy.type",                  0);
  1232.  
  1233. pref("network.proxy.ftp",                   "");
  1234.  
  1235. pref("network.proxy.ftp_port",              0);
  1236.  
  1237. pref("network.proxy.gopher",                "");
  1238.  
  1239. pref("network.proxy.gopher_port",           0);
  1240.  
  1241. pref("network.proxy.news",                  "");
  1242.  
  1243. pref("network.proxy.news_port",             0);
  1244.  
  1245. pref("network.proxy.http",                  "");
  1246.  
  1247. pref("network.proxy.http_port",             0);
  1248.  
  1249. pref("network.proxy.wais",                  "");
  1250.  
  1251. pref("network.proxy.wais_port",             0);
  1252.  
  1253. pref("network.proxy.ssl",                   "");
  1254.  
  1255. pref("network.proxy.ssl_port",              0);
  1256.  
  1257. pref("network.proxy.socks",                 "");
  1258.  
  1259. pref("network.proxy.socks_port",            0);
  1260.  
  1261. pref("network.proxy.socks_version",         5);
  1262.  
  1263. pref("network.proxy.no_proxies_on",         "localhost, 127.0.0.1");
  1264.  
  1265. pref("network.online",                      true); //online/offline
  1266.  
  1267. pref("network.cookie.cookieBehavior",       3); // 0-Accept, 1-dontAcceptForeign, 2-dontUse, 3-p3p
  1268.  
  1269. pref("network.cookie.disableCookieForMailNews", true); // disable all cookies for mail
  1270.  
  1271. pref("network.cookie.warnAboutCookies",     false);
  1272.  
  1273. pref("network.cookie.lifetime.enabled",     false);
  1274.  
  1275. pref("network.cookie.lifetime.behavior",    0);
  1276.  
  1277. pref("network.cookie.lifetime.days",        90);
  1278.  
  1279.  
  1280.  
  1281. // The following default value is for p3p medium mode.
  1282.  
  1283. // See extensions/cookie/resources/content/p3p.xul for the definitions of low/medium/hi
  1284.  
  1285. pref("network.cookie.p3p",                  "ffffaaaa");
  1286.  
  1287. pref("network.cookie.p3plevel",             1); // 0=low, 1=medium, 2=high, 3=custom
  1288.  
  1289.  
  1290.  
  1291. pref("signon.rememberSignons",              true);
  1292.  
  1293. pref("signon.expireMasterPassword",         false);
  1294.  
  1295. pref("network.enablePad",                   false); // Allow client to do proxy autodiscovery
  1296.  
  1297. pref("network.enableIDN",                   false); // Turn on/off IDN (Internationalized Domain Name) resolution
  1298.  
  1299. pref("converter.html2txt.structs",          true); // Output structured phrases (strong, em, code, sub, sup, b, i, u)
  1300.  
  1301. pref("converter.html2txt.header_strategy",  1); // 0 = no indention; 1 = indention, increased with header level; 2 = numbering and slight indention
  1302.  
  1303. pref("wallet.captureForms",                 true);
  1304.  
  1305. pref("wallet.notified",                     false);
  1306.  
  1307. pref("wallet.TutorialFromMenu",             "chrome://navigator/locale/navigator.properties");
  1308.  
  1309. pref("wallet.Server",                       "chrome://navigator/locale/navigator.properties");
  1310.  
  1311. pref("wallet.Samples",                      "chrome://navigator/locale/navigator.properties");
  1312.  
  1313. pref("wallet.version",                      "1");
  1314.  
  1315. pref("wallet.enabled",                      true);
  1316.  
  1317. pref("wallet.crypto",                       false);
  1318.  
  1319. pref("wallet.crypto.autocompleteoverride",  false); // Ignore 'autocomplete=off' - available only when wallet.crypto is enabled. 
  1320.  
  1321. pref("wallet.namePanel.hide",               false);
  1322.  
  1323. pref("wallet.addressPanel.hide",            false);
  1324.  
  1325. pref("wallet.phonePanel.hide",              false);
  1326.  
  1327. pref("wallet.creditPanel.hide",             false);
  1328.  
  1329. pref("wallet.employPanel.hide",             false);
  1330.  
  1331. pref("wallet.miscPanel.hide",               false);
  1332.  
  1333. pref("imageblocker.enabled",                true);
  1334.  
  1335. pref("intl.accept_languages",               "chrome://navigator/locale/navigator.properties");
  1336.  
  1337. pref("intl.accept_charsets",                "iso-8859-1,*,utf-8");
  1338.  
  1339. pref("intl.collationOption",                "chrome://navigator-platform/locale/navigator.properties");
  1340.  
  1341. pref("intl.menuitems.alwaysappendacceskeys","chrome://navigator/locale/navigator.properties");
  1342.  
  1343. pref("intl.charsetmenu.browser.static",     "chrome://navigator/locale/navigator.properties");
  1344.  
  1345. pref("intl.charsetmenu.browser.more1",      "chrome://navigator/locale/navigator.properties");
  1346.  
  1347. pref("intl.charsetmenu.browser.more2",      "chrome://navigator/locale/navigator.properties");
  1348.  
  1349. pref("intl.charsetmenu.browser.more3",      "chrome://navigator/locale/navigator.properties");
  1350.  
  1351. pref("intl.charsetmenu.browser.more4",      "chrome://navigator/locale/navigator.properties");
  1352.  
  1353. pref("intl.charsetmenu.browser.more5",      "chrome://navigator/locale/navigator.properties");
  1354.  
  1355. pref("intl.charsetmenu.mailedit",           "chrome://navigator/locale/navigator.properties");
  1356.  
  1357. pref("intl.charsetmenu.browser.cache",      "");
  1358.  
  1359. pref("intl.charsetmenu.mailview.cache",     "");
  1360.  
  1361. pref("intl.charsetmenu.composer.cache",     "");
  1362.  
  1363. pref("intl.charsetmenu.browser.cache.size", 5);
  1364.  
  1365. pref("intl.charset.detector",               "chrome://navigator/locale/navigator.properties");
  1366.  
  1367. pref("intl.charset.default",                "chrome://navigator-platform/locale/navigator.properties");
  1368.  
  1369. pref("intl.content.langcode",               "chrome://communicator-region/locale/region.properties");
  1370.  
  1371. pref("intl.locale.matchOS",                 false);
  1372.  
  1373. // fallback charset list for Unicode conversion (converting from Unicode)
  1374.  
  1375. // currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes)
  1376.  
  1377. // for ISO-8859-1
  1378.  
  1379. pref("intl.fallbackCharsetList.ISO-8859-1", "windows-1252");
  1380.  
  1381. pref("font.language.group",                 "chrome://navigator/locale/navigator.properties");
  1382.  
  1383.  
  1384.  
  1385. // -- folders (Mac: these are binary aliases.)
  1386.  
  1387. pref("mail.signature_file",             "");
  1388.  
  1389. pref("mail.directory",                  "");
  1390.  
  1391.  
  1392.  
  1393. pref("images.dither", "auto");
  1394.  
  1395. pref("news.directory",                  "");
  1396.  
  1397. pref("security.directory",              "");
  1398.  
  1399.  
  1400.  
  1401. pref("autoupdate.enabled",              true);
  1402.  
  1403.  
  1404.  
  1405. pref("browser.editor.disabled", false);
  1406.  
  1407.  
  1408.  
  1409. pref("spellchecker.dictionary", "");
  1410.  
  1411.  
  1412.  
  1413. pref("signed.applets.codebase_principal_support", false);
  1414.  
  1415. pref("security.checkloaduri", true);
  1416.  
  1417. pref("security.xpconnect.plugin.unrestricted", true);
  1418.  
  1419.  
  1420.  
  1421. // Modifier key prefs: default to Windows settings,
  1422.  
  1423. // menu access key = alt, accelerator key = control.
  1424.  
  1425. // Use 17 for Ctrl, 18 for Alt, 224 for Meta, 0 for none. Mac settings in macprefs.js
  1426.  
  1427. pref("ui.key.accelKey", 17);
  1428.  
  1429. pref("ui.key.generalAccessKey", 18);
  1430.  
  1431. pref("ui.key.menuAccessKey", 18);
  1432.  
  1433. pref("ui.key.menuAccessKeyFocuses", false);
  1434.  
  1435. pref("ui.key.saveLink.shift", true); // true = shift, false = meta
  1436.  
  1437.  
  1438.  
  1439. // Middle-mouse handling
  1440.  
  1441. pref("middlemouse.paste", false);
  1442.  
  1443. pref("middlemouse.openNewWindow", true);
  1444.  
  1445. pref("middlemouse.contentLoadURL", false);
  1446.  
  1447. pref("middlemouse.scrollbarPosition", false);
  1448.  
  1449.  
  1450.  
  1451. // Clipboard behavior
  1452.  
  1453. pref("clipboard.autocopy", false);
  1454.  
  1455.  
  1456.  
  1457. // 0=lines, 1=pages, 2=history , 3=text size
  1458.  
  1459. pref("mousewheel.withnokey.action",0);
  1460.  
  1461. pref("mousewheel.withnokey.numlines",1);    
  1462.  
  1463. pref("mousewheel.withnokey.sysnumlines",true);
  1464.  
  1465. pref("mousewheel.withcontrolkey.action",0);
  1466.  
  1467. pref("mousewheel.withcontrolkey.numlines",1);
  1468.  
  1469. pref("mousewheel.withcontrolkey.sysnumlines",true);
  1470.  
  1471. pref("mousewheel.withshiftkey.action",0);
  1472.  
  1473. pref("mousewheel.withshiftkey.numlines",1);
  1474.  
  1475. pref("mousewheel.withshiftkey.sysnumlines",false);
  1476.  
  1477. pref("mousewheel.withaltkey.action",2);
  1478.  
  1479. pref("mousewheel.withaltkey.numlines",1);
  1480.  
  1481. pref("mousewheel.withaltkey.sysnumlines",false);
  1482.  
  1483.  
  1484.  
  1485. pref("profile.confirm_automigration",true);
  1486.  
  1487. pref("profile.allow_automigration", false);   // setting to false bypasses automigration in the profile code
  1488.  
  1489.  
  1490.  
  1491. // profile.migration_behavior determines how the profiles root is set
  1492.  
  1493. // 0 - use NS_APP_USER_PROFILES_ROOT_DIR
  1494.  
  1495. // 1 - create one based on the NS4.x profile root
  1496.  
  1497. // 2 - use, if not empty, profile.migration_directory otherwise same as 0
  1498.  
  1499. pref("profile.migration_behavior",0);
  1500.  
  1501. pref("profile.migration_directory", "");
  1502.  
  1503.  
  1504.  
  1505. // the amount of time (in seconds) that must elapse
  1506.  
  1507. // before we think your mozilla profile is defunct
  1508.  
  1509. // and you'd benefit from re-migrating from 4.x
  1510.  
  1511. // see bug #137886 for more details
  1512.  
  1513. //
  1514.  
  1515. // if -1, we never think your profile is defunct
  1516.  
  1517. // and users will never see the remigrate UI.
  1518.  
  1519. pref("profile.seconds_until_defunct", -1);
  1520.  
  1521. // We can show it anytime from menus
  1522.  
  1523. pref("profile.manage_only_at_launch",false);
  1524.  
  1525.  
  1526.  
  1527. // Customizable toolbar stuff
  1528.  
  1529. pref("custtoolbar.personal_toolbar_folder", "");
  1530.  
  1531.  
  1532.  
  1533. pref("sidebar.customize.all_panels.url", "http://sidebar-rdf.netscape.com/%LOCALE%/sidebar-rdf/%SIDEBAR_VERSION%/all-panels.rdf");
  1534.  
  1535. pref("sidebar.customize.directory.url", "http://dmoz.org/Netscape/Sidebar/");
  1536.  
  1537. pref("sidebar.customize.more_panels.url", "http://dmoz.org/Netscape/Sidebar/");
  1538.  
  1539. pref("sidebar.num_tabs_in_view", 8);
  1540.  
  1541.  
  1542.  
  1543. pref("prefs.converted-to-utf8",false);
  1544.  
  1545. // --------------------------------------------------
  1546.  
  1547. // IBMBIDI 
  1548.  
  1549. // --------------------------------------------------
  1550.  
  1551. //
  1552.  
  1553. // ------------------
  1554.  
  1555. //  Text Direction
  1556.  
  1557. // ------------------
  1558.  
  1559. // 1 = directionLTRBidi *
  1560.  
  1561. // 2 = directionRTLBidi
  1562.  
  1563. pref("bidi.direction", 1);
  1564.  
  1565. // ------------------
  1566.  
  1567. //  Text Type
  1568.  
  1569. // ------------------
  1570.  
  1571. // 1 = charsettexttypeBidi *
  1572.  
  1573. // 2 = logicaltexttypeBidi
  1574.  
  1575. // 3 = visualtexttypeBidi
  1576.  
  1577. pref("bidi.texttype", 1);
  1578.  
  1579. // ------------------
  1580.  
  1581. //  Controls Text Mode
  1582.  
  1583. // ------------------
  1584.  
  1585. // 1 = logicalcontrolstextmodeBidiCmd
  1586.  
  1587. // 2 = visualcontrolstextmodeBidi <-- NO LONGER SUPPORTED
  1588.  
  1589. // 3 = containercontrolstextmodeBidi *
  1590.  
  1591. pref("bidi.controlstextmode", 1);
  1592.  
  1593. // ------------------
  1594.  
  1595. //  Clipboard Text Mode
  1596.  
  1597. // ------------------
  1598.  
  1599. //  1 = logicalclipboardtextmodeBidi
  1600.  
  1601. // 2 = visiualclipboardtextmodeBidi
  1602.  
  1603. // 3 = sourceclipboardtextmodeBidi *
  1604.  
  1605. pref("bidi.clipboardtextmode", 3);
  1606.  
  1607. // ------------------
  1608.  
  1609. //  Numeral Style
  1610.  
  1611. // ------------------
  1612.  
  1613. // 1 = regularcontextnumeralBidi *
  1614.  
  1615. // 2 = hindicontextnumeralBidi
  1616.  
  1617. // 3 = arabicnumeralBidi
  1618.  
  1619. // 4 = hindinumeralBidi
  1620.  
  1621. pref("bidi.numeral", 1);
  1622.  
  1623. // ------------------
  1624.  
  1625. //  Support Mode
  1626.  
  1627. // ------------------
  1628.  
  1629. // 1 = mozillaBidisupport *
  1630.  
  1631. // 2 = OsBidisupport
  1632.  
  1633. // 3 = disableBidisupport
  1634.  
  1635. pref("bidi.support", 1);
  1636.  
  1637. // ------------------
  1638.  
  1639. //  Charset Mode
  1640.  
  1641. // ------------------
  1642.  
  1643. // 1 = doccharactersetBidi *
  1644.  
  1645. // 2 = defaultcharactersetBidi
  1646.  
  1647. pref("bidi.characterset", 1);
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653. pref("browser.throbber.url","chrome://navigator-region/locale/region.properties");
  1654.  
  1655.  
  1656.  
  1657. // used for double-click word selection behavior. Win will override.
  1658.  
  1659. pref("layout.word_select.eat_space_to_next_word", false);
  1660.  
  1661. pref("layout.word_select.stop_at_punctuation", true);
  1662.  
  1663.  
  1664.  
  1665. // pref to force frames to be resizable
  1666.  
  1667. pref("layout.frames.force_resizability", false);
  1668.  
  1669.  
  1670.  
  1671. // pref to permit users to make verified SOAP calls by default
  1672.  
  1673. pref("capability.policy.default.SOAPCall.invokeVerifySourceHeader", "allAccess");
  1674.  
  1675.  
  1676.  
  1677. // pref to control the alert notification 
  1678.  
  1679. pref("alerts.slideIncrement", 1);
  1680.  
  1681. pref("alerts.slideIncrementTime", 10);
  1682.  
  1683. pref("alerts.totalOpenTime", 4000);
  1684.  
  1685. pref("alerts.height", 50);
  1686.  
  1687.  
  1688.  
  1689. // update notifications prefs
  1690.  
  1691. pref("update_notifications.enabled", true);
  1692.  
  1693. pref("update_notifications.provider.0.frequency", 7); // number of days
  1694.  
  1695. pref("update_notifications.provider.0.datasource", "chrome://communicator-region/locale/region.properties");
  1696.  
  1697.  
  1698.  
  1699. // 0 opens the download manager
  1700.  
  1701. // 1 opens a progress dialog
  1702.  
  1703. // 2 and other values, no download manager, no progress dialog. 
  1704.  
  1705. pref("browser.downloadmanager.behavior", 1);
  1706.  
  1707.  
  1708.  
  1709. // if true, allow plug-ins to override internal imglib decoder mime types in full-page mode
  1710.  
  1711. pref("plugin.override_internal_types", false);
  1712.  
  1713. pref("plugin.expose_full_path", false); // if true navigator.plugins reveals full path
  1714.  
  1715.  
  1716.  
  1717. // See bug 136985.  Gives embedders a pref to hook into to show
  1718.  
  1719. // a popup blocker if they choose.
  1720.  
  1721. pref("browser.popups.showPopupBlocker", true);
  1722.  
  1723.  
  1724.  
  1725. // Pref to control whether the viewmanager code does double-buffering or not
  1726.  
  1727. // See http://bugzilla.mozilla.org/show_bug.cgi?id=169483 for further details...
  1728.  
  1729. pref("viewmanager.do_doublebuffering", true);
  1730.  
  1731.  
  1732.  
  1733. pref("privacy.popups.sound_enabled",              true);
  1734.  
  1735. pref("privacy.popups.sound_url",                  "");
  1736.  
  1737. pref("privacy.popups.statusbar_icon_enabled",     true);
  1738.  
  1739.