home *** CD-ROM | disk | FTP | other *** search
/ PC World 2004 January / PCWorld_2004-01_cd.bin / akce / openoffice / f_0048 / defaults / pref / all.js next >
Text File  |  2003-07-13  |  33KB  |  710 lines

  1. /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* ***** BEGIN LICENSE BLOCK *****
  3.  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
  4.  *
  5.  * The contents of this file are subject to the Netscape Public License
  6.  * Version 1.1 (the "License"); you may not use this file except in
  7.  * compliance with the License. You may obtain a copy of the License at
  8.  * http://www.mozilla.org/NPL/
  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.  *
  24.  * Alternatively, the contents of this file may be used under the terms of
  25.  * either the GNU General Public License Version 2 or later (the "GPL"), or 
  26.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27.  * in which case the provisions of the GPL or the LGPL are applicable instead
  28.  * of those above. If you wish to allow use of your version of this file only
  29.  * under the terms of either the GPL or the LGPL, and not to allow others to
  30.  * use your version of this file under the terms of the NPL, indicate your
  31.  * decision by deleting the provisions above and replace them with the notice
  32.  * and other provisions required by the GPL or the LGPL. If you do not delete
  33.  * the provisions above, a recipient may use your version of this file under
  34.  * the terms of any one of the NPL, the GPL or the LGPL.
  35.  *
  36.  * ***** END LICENSE BLOCK ***** */
  37.  
  38. // SYNTAX HINTS:  dashes are delimiters.  Use underscores instead.
  39. //  The first character after a period must be alphabetic.
  40.  
  41. pref("network.search.url","http://cgi.netscape.com/cgi-bin/url_search.cgi?search=");
  42.  
  43. pref("keyword.URL", "http://keyword.netscape.com/keyword/");
  44. pref("keyword.enabled", false);
  45. pref("general.useragent.locale", "chrome://navigator/locale/navigator.properties");
  46. pref("general.useragent.misc", "rv:1.0.0");
  47.  
  48. pref("general.startup.browser",             true);
  49. pref("general.startup.mail",                false);
  50. pref("general.startup.news",                false);
  51. pref("general.startup.editor",              false);
  52. pref("general.startup.compose",             false);
  53. pref("general.startup.addressbook",         false);
  54.  
  55. pref("general.open_location.last_url",      "");
  56. pref("general.open_location.last_window_choice", 0);
  57.  
  58. pref("backups.number_of_prefs_copies", 1);
  59.  
  60. // 0 = blank, 1 = home (browser.startup.homepage), 2 = last
  61. pref("browser.startup.page",                1);
  62. pref("browser.startup.homepage",       "chrome://navigator-region/locale/region.properties");
  63. // "browser.startup.homepage_override" was for 4.x
  64. pref("browser.startup.homepage_override.1", true);
  65. pref("browser.startup.autoload_homepage",   true);
  66.  
  67. pref("browser.cache.enable",                true); // see also network.http.use-cache
  68. pref("browser.cache.disk.enable",           true);
  69. pref("browser.cache.disk.capacity",         50000);
  70. pref("browser.cache.memory.enable",         true);
  71. pref("browser.cache.memory.capacity",       4096);
  72. pref("browser.cache.disk_cache_ssl",        false);
  73. // 0 = once-per-session, 1 = each-time, 2 = never, 3 = when-appropriate/automatically
  74. pref("browser.cache.check_doc_frequency",   3);
  75.  
  76. pref("browser.display.use_document_fonts",  1);  // 0 = never, 1 = quick, 2 = always
  77. pref("browser.display.use_document_colors", true);
  78. pref("browser.display.use_system_colors",   false);
  79. pref("browser.display.foreground_color",    "#000000");
  80. pref("browser.display.background_color",    "#FFFFFF");
  81. pref("browser.display.force_inline_alttext", false); // true = force ALT text for missing images to be layed out inline
  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.visited_color",               "#551A8B");
  85. pref("browser.underline_anchors",           true);
  86. pref("browser.blink_allowed",               true);
  87.  
  88. pref("browser.display.use_focus_colors",    false);
  89. pref("browser.display.focus_background_color", "#117722");
  90. pref("browser.display.focus_text_color",     "#ffffff");
  91. pref("browser.display.focus_ring_width",     1);
  92. pref("browser.display.focus_ring_on_anything", false);
  93.  
  94. pref("browser.new_find", true);  // temporary
  95. pref("editor.new_find",  true);  // temporary
  96.  
  97. pref("browser.urlbar.autoFill", false);
  98. pref("browser.urlbar.showPopup", true);
  99. pref("browser.urlbar.showSearch", true);
  100. pref("browser.urlbar.matchOnlyTyped", false);
  101.  
  102. pref("browser.chrome.site_icons", true);
  103. pref("browser.chrome.favicons", false);
  104.  
  105. pref("browser.chrome.toolbar_tips",         true);
  106. pref("browser.chrome.toolbar_style",        2);
  107.  
  108. pref("browser.toolbars.showbutton.bookmarks", true);
  109. pref("browser.toolbars.showbutton.go",      false);
  110. pref("browser.toolbars.showbutton.home",    true);
  111. pref("browser.toolbars.showbutton.mynetscape", true);
  112. pref("browser.toolbars.showbutton.net2phone", true);
  113. pref("browser.toolbars.showbutton.print",   true);
  114. pref("browser.toolbars.showbutton.search",  true);
  115.  
  116. pref("browser.turbo.enabled", false);
  117. pref("browser.turbo.singleProfileOnly", true);
  118.  
  119. pref("browser.helperApps.alwaysAsk.force",  false);
  120. pref("browser.helperApps.neverAsk.saveToDisk", "");
  121. pref("browser.helperApps.neverAsk.openFile", "");
  122.  
  123. pref("accessibility.browsewithcaret", false);
  124. pref("accessibility.warn_on_browsewithcaret", true);
  125. pref("accessibility.usetexttospeech", "");
  126. pref("accessibility.usebrailledisplay", "");
  127. pref("accessibility.accesskeycausesactivation", true);
  128.  
  129. // Dialog modality issues
  130. pref("browser.prefWindowModal", true);
  131. pref("browser.show_about_as_stupid_modal_window", false);
  132.  
  133. pref("browser.download.progressDnldDialog.keepAlive", true); // keep the dnload progress dialog up after dnload is complete
  134.  
  135. // various default search settings
  136. pref("browser.search.defaulturl", "chrome://navigator-region/locale/region.properties");
  137. pref("browser.search.opensidebarsearchpanel", true);
  138. pref("browser.search.last_search_category", "NC:SearchCategory?category=urn:search:category:1");
  139. pref("browser.search.mode", 0);
  140. pref("browser.search.powermode", 0);
  141. // basic search popup constraint: minimum sherlock plugin version displayed
  142. // (note: must be a string representation of a float or it'll default to 0.0)
  143. pref("browser.search.basic.min_ver", "0.0");
  144. pref("browser.urlbar.autocomplete.enabled", true);
  145. pref("browser.urlbar.clickSelectsAll", true);
  146.  
  147. pref("browser.history.last_page_visited", "");
  148. pref("browser.history_expire_days", 9);
  149. pref("browser.history.grouping", "day");
  150. pref("browser.sessionhistory.max_entries", 50);
  151.  
  152. // Translation service
  153. pref("browser.translation.service", "http://www.teletranslator.com:8120/?AlisUI=frames_ex/moz_home&alis_info=moz&AlisTargetURI=");
  154. pref("browser.translation.serviceDomain", "teletranslator.com");
  155.   
  156. // Platform for Internet Content Selection
  157. pref("browser.PICS.ratings_enabled", false);
  158. pref("browser.PICS.pages_must_be_rated", false);
  159. pref("browser.PICS.disable_for_this_session", false);
  160. pref("browser.PICS.reenable_for_this_session", false);
  161. pref("browser.PICS.service.http___home_netscape_com_default_rating.service_enabled", true);
  162. pref("browser.PICS.service.http___home_netscape_com_default_rating.s", 0);
  163.  
  164. // loading and rendering of framesets and iframes
  165. pref("browser.frames.enabled", true);
  166.  
  167. // form submission
  168. pref("browser.forms.submit.backwards_compatible", true);
  169.  
  170. // Tab browser preferences.
  171. pref("browser.tabs.autoHide", true);
  172. pref("browser.tabs.loadInBackground", false);
  173. pref("browser.tabs.opentabfor.middleclick", false);
  174. pref("browser.tabs.opentabfor.urlbar", false);
  175. pref("browser.tabs.opentabfor.windowopen", false);
  176. pref("browser.tabs.opentabfor.bookmarks", false);
  177.  
  178. // view source
  179. pref("view_source.syntax_highlight", true);
  180. pref("view_source.wrap_long_lines", false);
  181.  
  182. // gfx widgets
  183. pref("nglayout.widget.mode", 2);
  184. pref("nglayout.widget.gfxscrollbars", true);
  185.  
  186. // css2 hover pref
  187. pref("nglayout.events.showHierarchicalHover", false);
  188.  
  189. // dispatch left clicks only to content in browser (still allows clicks to chrome/xul)
  190. pref("nglayout.events.dispatchLeftClickOnly", true);
  191.  
  192. // whether or not to use xbl form controls
  193. pref("nglayout.debug.enable_xbl_forms", false);
  194.  
  195. // size of scrollbar snapping region
  196. pref("slider.snapMultiplier", 6);
  197.  
  198. // option to choose plug-in finder
  199. pref("application.use_ns_plugin_finder", false);
  200.  
  201. // Smart Browsing prefs
  202. pref("browser.related.enabled", true);
  203. pref("browser.related.autoload", 1);  // 0 = Always, 1 = After first use, 2 = Never
  204. pref("browser.related.provider", "http://www-rl.netscape.com/wtgn?");
  205. pref("browser.related.disabledForDomains", "");
  206. pref("browser.goBrowsing.enabled", true);
  207.  
  208. // URI fixup prefs
  209. pref("browser.fixup.alternate.enabled", true);
  210. pref("browser.fixup.alternate.prefix", "www.");
  211. pref("browser.fixup.alternate.suffix", ".com");
  212.  
  213. //Internet Search
  214. pref("browser.search.defaultenginename", "chrome://communicator-region/locale/region.properties");
  215.  
  216. // Print header customization
  217. // Use the following codes:
  218. // &T - Title
  219. // &U - Document URL
  220. // &D - Date/Time
  221. // &P - Page Number
  222. // &PT - Page Number "of" Page total
  223. // Set each header to a string containing zero or one of these codes
  224. // and the code will be replaced in that string by the corresponding data
  225. pref("print.print_headerleft", "&T");
  226. pref("print.print_headercenter", "");
  227. pref("print.print_headerright", "&U");
  228. pref("print.print_footerleft", "&PT");
  229. pref("print.print_footercenter", "");
  230. pref("print.print_footerright", "&D");
  231. pref("print.show_print_progress", true);
  232.  
  233. // When this is set to false it means each window has its PrintSettings
  234. // and a change in one browser window does not effect the others
  235. pref("print.use_global_printsettings", true);
  236.  
  237. // This indicates whether it should use the native dialog or the XP Dialog50
  238. pref("print.use_native_print_dialog", false);
  239.  
  240. // Save the Printings after each print job
  241. pref("print.save_print_settings", true);
  242.  
  243. pref("print.whileInPrintPreview", true);
  244.  
  245. // Cache old Presentation when going into Print Preview
  246. pref("print.always_cache_old_pres", false);
  247.  
  248. // Enables you to specify the gap from the edge of the paper to the margin
  249. // this is used by both Printing and Print Preview
  250. pref("print.print_edge_top", 0); // 1/100 of an inch
  251. pref("print.print_edge_left", 0); // 1/100 of an inch
  252. pref("print.print_edge_right", 0); // 1/100 of an inch
  253. pref("print.print_edge_bottom", 0); // 1/100 of an inch
  254.  
  255. // Default Capability Preferences: Security-Critical! 
  256. // Editing these may create a security risk - be sure you know what you're doing
  257. //pref("capability.policy.default.barprop.visible.set", "UniversalBrowserWrite");
  258.  
  259. pref("capability.policy.default_policynames", "mailnews");
  260. pref("capability.policy.policynames", "");
  261.  
  262. pref("capability.policy.default.DOMException.code", "allAccess");
  263. pref("capability.policy.default.DOMException.message", "allAccess");
  264. pref("capability.policy.default.DOMException.name", "allAccess");
  265. pref("capability.policy.default.DOMException.result", "allAccess");
  266. pref("capability.policy.default.DOMException.toString", "allAccess");
  267.  
  268. pref("capability.policy.default.History.back", "allAccess");
  269. pref("capability.policy.default.History.current", "UniversalBrowserRead");
  270. pref("capability.policy.default.History.forward", "allAccess");
  271. pref("capability.policy.default.History.go", "allAccess");
  272. pref("capability.policy.default.History.item", "UniversalBrowserRead");
  273. pref("capability.policy.default.History.next", "UniversalBrowserRead");
  274. pref("capability.policy.default.History.previous", "UniversalBrowserRead");
  275. pref("capability.policy.default.History.toString", "UniversalBrowserRead");
  276.  
  277. pref("capability.policy.default.HTMLDocument.close", "allAccess");
  278. pref("capability.policy.default.HTMLDocument.open", "allAccess");
  279. pref("capability.policy.default.HTMLDocument.write", "allAccess");
  280. pref("capability.policy.default.HTMLDocument.writeln", "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.reload", "allAccess");
  285. pref("capability.policy.default.Location.replace", "allAccess");
  286.  
  287. pref("capability.policy.default.Navigator.preference", "allAccess");
  288. pref("capability.policy.default.Navigator.preferenceinternal.get", "UniversalPreferencesRead");
  289. pref("capability.policy.default.Navigator.preferenceinternal.set", "UniversalPreferencesWrite");
  290.  
  291. pref("capability.policy.default.Window.blur", "allAccess");
  292. pref("capability.policy.default.Window.close", "allAccess");
  293. pref("capability.policy.default.Window.closed", "allAccess");
  294. pref("capability.policy.default.Window.Components", "allAccess");
  295. pref("capability.policy.default.Window.document", "allAccess");
  296. pref("capability.policy.default.Window.focus", "allAccess");
  297. pref("capability.policy.default.Window.frames", "allAccess");
  298. pref("capability.policy.default.Window.fullScreen", "noAccess");
  299. pref("capability.policy.default.Window.history", "allAccess");
  300. pref("capability.policy.default.Window.length", "allAccess");
  301. pref("capability.policy.default.Window.location", "allAccess");
  302. pref("capability.policy.default.Window.opener", "allAccess");
  303. pref("capability.policy.default.Window.parent", "allAccess");
  304. pref("capability.policy.default.Window.self", "allAccess");
  305. pref("capability.policy.default.Window.top", "allAccess");
  306. pref("capability.policy.default.Window.window", "allAccess");
  307.  
  308. // Restrictions on the DOM for mail/news - see bugs 66938 and 84545
  309. pref("capability.policy.mailnews.sites", "mailbox: imap: news:");
  310.  
  311. pref("capability.policy.mailnews.*.attributes.get", "noAccess");
  312. pref("capability.policy.mailnews.*.baseURI.get", "noAccess");
  313. pref("capability.policy.mailnews.*.data.get", "noAccess");
  314. pref("capability.policy.mailnews.*.getAttribute", "noAccess");
  315. pref("capability.policy.mailnews.*.getNamedItem", "noAccess");
  316. pref("capability.policy.mailnews.*.host.get", "noAccess");
  317. pref("capability.policy.mailnews.*.hostname.get", "noAccess");
  318. pref("capability.policy.mailnews.*.href.get", "noAccess");
  319. pref("capability.policy.mailnews.*.innerHTML.get", "noAccess");
  320. pref("capability.policy.mailnews.*.lowSrc.get", "noAccess");
  321. pref("capability.policy.mailnews.*.nodeValue.get", "noAccess");
  322. pref("capability.policy.mailnews.*.pathname.get", "noAccess");
  323. pref("capability.policy.mailnews.*.protocol.get", "noAccess");
  324. pref("capability.policy.mailnews.*.src.get", "noAccess");
  325. pref("capability.policy.mailnews.*.substringData.get", "noAccess");
  326. pref("capability.policy.mailnews.*.text.get", "noAccess");
  327. pref("capability.policy.mailnews.*.title.get", "noAccess");
  328. pref("capability.policy.mailnews.DOMException.toString", "noAccess");
  329. pref("capability.policy.mailnews.HTMLAnchorElement.toString", "noAccess");
  330. pref("capability.policy.mailnews.HTMLDocument.domain", "noAccess");
  331. pref("capability.policy.mailnews.HTMLDocument.URL", "noAccess");
  332. pref("capability.policy.mailnews.Location.toString", "noAccess");
  333. pref("capability.policy.mailnews.Range.toString", "noAccess");
  334. pref("capability.policy.mailnews.Window.blur", "noAccess");
  335. pref("capability.policy.mailnews.Window.focus", "noAccess");
  336. pref("capability.policy.mailnews.Window.innerWidth.set", "noAccess");
  337. pref("capability.policy.mailnews.Window.innerHeight.set", "noAccess");
  338. pref("capability.policy.mailnews.Window.moveBy", "noAccess");
  339. pref("capability.policy.mailnews.Window.moveTo", "noAccess");
  340. pref("capability.policy.mailnews.Window.name.set", "noAccess");
  341. pref("capability.policy.mailnews.Window.outerHeight.set", "noAccess");
  342. pref("capability.policy.mailnews.Window.outerWidth.set", "noAccess");
  343. pref("capability.policy.mailnews.Window.resizeBy", "noAccess");
  344. pref("capability.policy.mailnews.Window.resizeTo", "noAccess");
  345. pref("capability.policy.mailnews.Window.screenX.set", "noAccess");
  346. pref("capability.policy.mailnews.Window.screenY.set", "noAccess");
  347. pref("capability.policy.mailnews.Window.sizeToContent", "noAccess");
  348.  
  349. // Scripts & Windows prefs
  350. pref("browser.block.target_new_window",     false);
  351. pref("dom.disable_cookie_get",              false);
  352. pref("dom.disable_cookie_set",              false);
  353. pref("dom.disable_image_src_set",           false);
  354. pref("dom.disable_open_during_load",        false);
  355. pref("dom.disable_window_flip",             false);
  356. pref("dom.disable_window_move_resize",      false);
  357. pref("dom.disable_window_status_change",    false);
  358.  
  359. pref("javascript.enabled",                  true);
  360. pref("javascript.allow.mailnews",           false);
  361. pref("javascript.options.strict",           false);
  362. pref("javascript.options.showInConsole",    true);
  363.  
  364. // advanced prefs
  365. pref("advanced.always_load_images",         true);
  366. pref("security.enable_java",                true);
  367. pref("css.allow",                           true);
  368. pref("advanced.mailftp",                    false);
  369. pref("image.animation_mode",                "normal");
  370.  
  371. pref("offline.startup_state",            0);
  372. pref("offline.send.unsent_messages",            0);
  373. pref("offline.download.download_messages",  0);
  374. pref("offline.prompt_synch_on_exit",            true);
  375. pref("offline.news.download.use_days",          0);
  376.  
  377. // If there is ever a security firedrill that requires
  378. // us to block certian ports global, this is the pref 
  379. // to use.  Is is a comma delimited list of port numbers
  380. // for example:
  381. //   pref("network.security.ports.banned", "1,2,3,4,5");
  382. // prevents necko connecting to ports 1-5 unless the protocol
  383. // overrides.
  384.  
  385. pref("network.hosts.smtp_server",           "mail");
  386. pref("network.hosts.pop_server",            "mail");
  387. pref("network.protocols.useSystemDefaults",   false); // set to true if user links should use system default handlers
  388.  
  389. // <ruslan>
  390. pref("network.http.version", "1.1");      // default
  391. // pref("network.http.version", "1.0");   // uncomment this out in case of problems
  392. // pref("network.http.version", "0.9");   // it'll work too if you're crazy
  393. // keep-alive option is effectively obsolete. Nevertheless it'll work with
  394. // some older 1.0 servers:
  395.  
  396. // enable caching of http documents
  397. pref("network.http.use-cache", true);
  398.  
  399. pref("network.http.keep-alive", true); // set it to false in case of problems
  400. pref("network.http.proxy.keep-alive", true);
  401. pref("network.http.keep-alive.timeout", 300);
  402.  
  403. // limit the absolute number of http connections.
  404. pref("network.http.max-connections", 24);
  405.  
  406. // limit the absolute number of http connections that can be established per
  407. // host.  if a http proxy server is enabled, then the "server" is the proxy
  408. // server.  Otherwise, "server" is the http origin server.
  409. pref("network.http.max-connections-per-server", 8);
  410.  
  411. // if network.http.keep-alive is true, and if NOT connecting via a proxy, then
  412. // a new connection will only be attempted if the number of active persistent
  413. // connections to the server is less then max-persistent-connections-per-server.
  414. pref("network.http.max-persistent-connections-per-server", 2);
  415.  
  416. // if network.http.keep-alive is true, and if connecting via a proxy, then a
  417. // new connection will only be attempted if the number of active persistent
  418. // connections to the proxy is less then max-persistent-connections-per-proxy.
  419. pref("network.http.max-persistent-connections-per-proxy", 4);
  420.  
  421. // amount of time (in seconds) to suspend pending requests, before spawning a
  422. // new connection, once the limit on the number of persistent connections per
  423. // host has been reached.  however, a new connection will not be created if
  424. // max-connections or max-connections-per-server has also been reached.
  425. pref("network.http.request.max-start-delay", 10);
  426.  
  427. // http specific network timeouts (XXX currently unused)
  428. pref("network.http.connect.timeout",  30);    // in seconds
  429. pref("network.http.request.timeout", 120);    // in seconds
  430.  
  431. // Headers
  432. pref("network.http.accept.default", "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1");
  433.  
  434. pref("network.http.sendRefererHeader",      2); // 0=don't send any, 1=send only on clicks, 2=send on image requests as well
  435.  
  436. // Maximum number of consecutive redirects before aborting.
  437. pref("network.http.redirection-limit", 10);
  438.  
  439. // Enable http compression: comment this out in case of problems with 1.1
  440. pref("network.http.accept-encoding" ,"gzip, deflate, compress;q=0.9");
  441.  
  442. pref("network.http.pipelining"      , false);
  443. pref("network.http.proxy.pipelining", false);
  444.  
  445. // Always pipeling the very first request:  this will only work when you are
  446. // absolutely sure the the site or proxy you are browsing to/through support
  447. // pipelining; the default behavior will be that the browser will first make
  448. // a normal, non-pipelined request, then  examine  and remember the responce
  449. // and only the subsequent requests to that site will be pipeline
  450. pref("network.http.pipelining.firstrequest", false);
  451.  
  452. // Max number of requests in the pipeline
  453. pref("network.http.pipelining.maxrequests" , 4);
  454.  
  455. pref("network.http.proxy.ssl.connect",true);
  456. // </ruslan>
  457.  
  458. // This preference controls whether or not internationalized domain names (IDN)
  459. // are handled.  IDN requires a nsIIDNService implementation.
  460. pref("network.enableIDN", true);
  461.  
  462. // This preference controls whether or not URLs with UTF-8 characters are
  463. // escaped.  Set this preference to TRUE for strict RFC2396 conformance.
  464. pref("network.standard-url.escape-utf8", true);
  465.  
  466. // Idle timeout for ftp control connections - 5 minute default
  467. pref("network.ftp.idleConnectionTimeout", 300);
  468.  
  469. // directory listing format - constants are defined in nsIDirectoryListing.idl
  470. // Do not set this to 0...
  471. pref("network.dir.format", 2);
  472.  
  473. // sspitzer:  change this back to "news" when we get to beta.
  474. // for now, set this to news.mozilla.org because you can only
  475. // post to the server specified by this pref.
  476. pref("network.hosts.nntp_server",           "news.mozilla.org");
  477.  
  478. pref("network.hosts.socks_server",          "");
  479. pref("network.hosts.socks_serverport",      1080);
  480. pref("network.hosts.socks_conf",            "");
  481. pref("network.image.imageBehavior",         0); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
  482. pref("network.image.warnAboutImages",       false);
  483. pref("network.proxy.autoconfig_url",        "");
  484. pref("network.proxy.type",                  0);
  485. pref("network.proxy.ftp",                   "");
  486. pref("network.proxy.ftp_port",              0);
  487. pref("network.proxy.gopher",                "");
  488. pref("network.proxy.gopher_port",           0);
  489. pref("network.proxy.news",                  "");
  490. pref("network.proxy.news_port",             0);
  491. pref("network.proxy.http",                  "");
  492. pref("network.proxy.http_port",             0);
  493. pref("network.proxy.wais",                  "");
  494. pref("network.proxy.wais_port",             0);
  495. pref("network.proxy.ssl",                   "");
  496. pref("network.proxy.ssl_port",              0);
  497. pref("network.proxy.socks",                 "");
  498. pref("network.proxy.socks_port",            0);
  499. pref("network.proxy.socks_version",         5);
  500. pref("network.proxy.no_proxies_on",         "");
  501. pref("network.online",                      true); //online/offline
  502. pref("network.accept_cookies",              0);     // 0 = Always, 1 = warn, 2 = never
  503. pref("network.foreign_cookies",             0); // 0 = Accept, 1 = Don't accept
  504. pref("network.cookie.cookieBehavior",       3); // 0-Accept, 1-dontAcceptForeign, 2-dontUse, 3-p3p
  505. pref("network.cookie.disableCookieForMailNews", true); // disable all cookies for mail
  506. pref("network.cookie.warnAboutCookies",     false);
  507. pref("network.cookie.lifetime.enabled",     false);
  508. pref("network.cookie.lifetime.behavior",    0);
  509. pref("network.cookie.lifetime.days",        90);
  510.  
  511. // The following default value is for p3p medium mode.
  512. // See extensions/cookie/resources/content/p3p.xul for the definitions of low/medium/hi
  513. pref("network.cookie.p3p",                  "ffffaaaa");
  514. pref("network.cookie.p3plevel",             1); // 0=low, 1=medium, 2=high, 3=custom
  515.  
  516. pref("signon.rememberSignons",              true);
  517. pref("signon.expireMasterPassword",         false);
  518. pref("network.enablePad",                   false); // Allow client to do proxy autodiscovery
  519. pref("network.enableIDN",                   false); // Turn on/off IDN (Internationalized Domain Name) resolution
  520. pref("converter.html2txt.structs",          true); // Output structured phrases (strong, em, code, sub, sup, b, i, u)
  521. pref("converter.html2txt.header_strategy",  1); // 0 = no indention; 1 = indention, increased with header level; 2 = numbering and slight indention
  522. pref("wallet.captureForms",                 true);
  523. pref("wallet.notified",                     false);
  524. pref("wallet.TutorialFromMenu",             "chrome://navigator/locale/navigator.properties");
  525. pref("wallet.Server",                       "chrome://navigator/locale/navigator.properties");
  526. pref("wallet.Samples",                      "chrome://navigator/locale/navigator.properties");
  527. pref("wallet.version",                      "1");
  528. pref("wallet.enabled",                      true);
  529. pref("wallet.crypto",                       false);
  530. pref("wallet.crypto.autocompleteoverride",  false); // Ignore 'autocomplete=off' - available only when wallet.crypto is enabled. 
  531. pref("wallet.namePanel.hide",               false);
  532. pref("wallet.addressPanel.hide",            false);
  533. pref("wallet.phonePanel.hide",              false);
  534. pref("wallet.creditPanel.hide",             false);
  535. pref("wallet.employPanel.hide",             false);
  536. pref("wallet.miscPanel.hide",               false);
  537. pref("imageblocker.enabled",                true);
  538. pref("intl.accept_languages",               "chrome://navigator/locale/navigator.properties");
  539. pref("intl.accept_charsets",                "iso-8859-1,*,utf-8");
  540. pref("intl.collationOption",                "chrome://navigator-platform/locale/navigator.properties");
  541. pref("intl.menuitems.alwaysappendacceskeys","chrome://navigator/locale/navigator.properties");
  542. pref("intl.charsetmenu.browser.static",     "chrome://navigator/locale/navigator.properties");
  543. pref("intl.charsetmenu.browser.more1",      "chrome://navigator/locale/navigator.properties");
  544. pref("intl.charsetmenu.browser.more2",      "chrome://navigator/locale/navigator.properties");
  545. pref("intl.charsetmenu.browser.more3",      "chrome://navigator/locale/navigator.properties");
  546. pref("intl.charsetmenu.browser.more4",      "chrome://navigator/locale/navigator.properties");
  547. pref("intl.charsetmenu.browser.more5",      "chrome://navigator/locale/navigator.properties");
  548. pref("intl.charsetmenu.mailedit",           "chrome://navigator/locale/navigator.properties");
  549. pref("intl.charsetmenu.browser.cache",      "");
  550. pref("intl.charsetmenu.mailview.cache",     "");
  551. pref("intl.charsetmenu.composer.cache",     "");
  552. pref("intl.charsetmenu.browser.cache.size", 5);
  553. pref("intl.charset.detector",               "chrome://navigator/locale/navigator.properties");
  554. pref("intl.charset.default",                "chrome://navigator-platform/locale/navigator.properties");
  555. pref("intl.content.langcode",               "chrome://communicator-region/locale/region.properties");
  556. pref("intl.locale.matchOS",                 false);
  557. pref("font.language.group",                 "chrome://navigator/locale/navigator.properties");
  558.  
  559. // -- folders (Mac: these are binary aliases.)
  560. localDefPref("mail.signature_file",             "");
  561. localDefPref("mail.directory",                  "");
  562.  
  563. pref("images.dither", "auto");
  564. localDefPref("news.directory",                  "");
  565. localDefPref("security.directory",              "");
  566.  
  567. pref("autoupdate.enabled",              true);
  568.  
  569. pref("browser.editor.disabled", false);
  570.  
  571. pref("spellchecker.dictionary", "");
  572.  
  573. pref("signed.applets.codebase_principal_support", false);
  574. pref("security.checkloaduri", true);
  575. pref("security.xpconnect.plugin.unrestricted", true);
  576.  
  577. // Modifier key prefs: default to Windows settings,
  578. // menu access key = alt, accelerator key = control.
  579. pref("ui.key.accelKey", 17);
  580. pref("ui.key.menuAccessKey", 18);
  581. pref("ui.key.menuAccessKeyFocuses", false);
  582. pref("ui.key.saveLink.shift", true); // true = shift, false = meta
  583.  
  584. // Middle-mouse handling
  585. pref("middlemouse.paste", false);
  586. pref("middlemouse.openNewWindow", true);
  587. pref("middlemouse.contentLoadURL", false);
  588. pref("middlemouse.scrollbarPosition", false);
  589.  
  590. // Clipboard behavior
  591. pref("clipboard.autocopy", false);
  592.  
  593. // 0=lines, 1=pages, 2=history , 3=text size
  594. pref("mousewheel.withnokey.action",0);
  595. pref("mousewheel.withnokey.numlines",1);    
  596. pref("mousewheel.withnokey.sysnumlines",true);
  597. pref("mousewheel.withcontrolkey.action",0);
  598. pref("mousewheel.withcontrolkey.numlines",1);
  599. pref("mousewheel.withcontrolkey.sysnumlines",true);
  600. pref("mousewheel.withshiftkey.action",0);
  601. pref("mousewheel.withshiftkey.numlines",1);
  602. pref("mousewheel.withshiftkey.sysnumlines",false);
  603. pref("mousewheel.withaltkey.action",2);
  604. pref("mousewheel.withaltkey.numlines",1);
  605. pref("mousewheel.withaltkey.sysnumlines",false);
  606.  
  607. pref("profile.confirm_automigration",true);
  608.  
  609. // the amount of time (in seconds) that must elapse
  610. // before we think your mozilla profile is defunct
  611. // and you'd benefit from re-migrating from 4.x
  612. // see bug #137886 for more details
  613. //
  614. // if -1, we never think your profile is defunct
  615. // and users will never see the remigrate UI.
  616. pref("profile.seconds_until_defunct", -1);
  617.  
  618. // Customizable toolbar stuff
  619. pref("custtoolbar.personal_toolbar_folder", "");
  620.  
  621. pref("sidebar.customize.all_panels.url", "http://sidebar-rdf.netscape.com/%LOCALE%/sidebar-rdf/%SIDEBAR_VERSION%/all-panels.rdf");
  622. pref("sidebar.customize.directory.url", "http://dmoz.org/Netscape/Sidebar/");
  623. pref("sidebar.customize.more_panels.url", "http://dmoz.org/Netscape/Sidebar/");
  624. pref("sidebar.num_tabs_in_view", 8);
  625.  
  626. pref("prefs.converted-to-utf8",false);
  627. // --------------------------------------------------
  628. // IBMBIDI 
  629. // --------------------------------------------------
  630. //
  631. // ------------------
  632. //  Text Direction
  633. // ------------------
  634. // 1 = directionLTRBidi *
  635. // 2 = directionRTLBidi
  636. pref("bidi.direction", 1);
  637. // ------------------
  638. //  Text Type
  639. // ------------------
  640. // 1 = charsettexttypeBidi *
  641. // 2 = logicaltexttypeBidi
  642. // 3 = visualtexttypeBidi
  643. pref("bidi.texttype", 1);
  644. // ------------------
  645. //  Controls Text Mode
  646. // ------------------
  647. // 1 = logicalcontrolstextmodeBidiCmd
  648. // 2 = visiualcontrolstextmodeBidi
  649. // 3 = containercontrolstextmodeBidi *
  650. pref("bidi.controlstextmode", 1);
  651. // ------------------
  652. //  Clipboard Text Mode
  653. // ------------------
  654. //  1 = logicalclipboardtextmodeBidi
  655. // 2 = visiualclipboardtextmodeBidi
  656. // 3 = sourceclipboardtextmodeBidi *
  657. pref("bidi.clipboardtextmode", 3);
  658. // ------------------
  659. //  Numeral Style
  660. // ------------------
  661. // 1 = regularcontextnumeralBidi *
  662. // 2 = hindicontextnumeralBidi
  663. // 3 = arabicnumeralBidi
  664. // 4 = hindinumeralBidi
  665. pref("bidi.numeral", 1);
  666. // ------------------
  667. //  Support Mode
  668. // ------------------
  669. // 1 = mozillaBidisupport *
  670. // 2 = OsBidisupport
  671. // 3 = disableBidisupport
  672. pref("bidi.support", 1);
  673. // ------------------
  674. //  Charset Mode
  675. // ------------------
  676. // 1 = doccharactersetBidi *
  677. // 2 = defaultcharactersetBidi
  678. pref("bidi.characterset", 1);
  679.  
  680.  
  681. pref("browser.throbber.url","chrome://navigator-region/locale/region.properties");
  682.  
  683. // used for double-click word selection behavior. Win will override.
  684. pref("layout.word_select.eat_space_to_next_word", false);
  685. pref("layout.word_select.stop_at_punctuation", true);
  686.  
  687. // pref to force frames to be resizable
  688. pref("layout.frames.force_resizability", false);
  689.  
  690. // pref to permit users to make verified SOAP calls by default
  691. pref("capability.policy.default.SOAPCall.invokeVerifySourceHeader", "allAccess");
  692.  
  693. // pref to control the alert notification 
  694. pref("alerts.slideIncrement", 1);
  695. pref("alerts.slideIncrementTime", 10);
  696. pref("alerts.totalOpenTime", 4000);
  697. pref("alerts.height", 50);
  698.  
  699. // update notifications prefs
  700. pref("update_notifications.enabled", true);
  701. pref("update_notifications.provider.0.frequency", 7); // number of days
  702. pref("update_notifications.provider.0.datasource", "chrome://communicator-region/locale/region.properties");
  703.  
  704. // if true, allow plug-ins to override internal imglib decoder mime types in full-page mode
  705. pref("plugin.override_internal_types", false);
  706.  
  707. // if true, enable XSLT (if installed)
  708. pref("xslt.enabled", true);
  709.  
  710.