home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 March / PCWorld_2005-03_cd.bin / komunikace / kmeleon / kmeleon09.exe / browser-prefs.js < prev    next >
Text File  |  2004-12-18  |  9KB  |  201 lines

  1. /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* ***** BEGIN LICENSE BLOCK *****
  3.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.  *
  5.  * The contents of this file are subject to the Mozilla Public License Version
  6.  * 1.1 (the "License"); you may not use this file except in compliance with
  7.  * the License. You may obtain a copy of the License at
  8.  * http://www.mozilla.org/MPL/
  9.  *
  10.  * Software distributed under the License is distributed on an "AS IS" basis,
  11.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.  * for the specific language governing rights and limitations under the
  13.  * License.
  14.  *
  15.  * The Original Code is mozilla.org code.
  16.  *
  17.  * The Initial Developer of the Original Code is
  18.  * Netscape Communications Corporation.
  19.  * Portions created by the Initial Developer are Copyright (C) 1998
  20.  * the Initial Developer. All Rights Reserved.
  21.  *
  22.  * Contributor(s):
  23.  * Benjamin Smedberg <bsmedberg@covad.net>
  24.  *
  25.  * Alternatively, the contents of this file may be used under the terms of
  26.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  27.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28.  * in which case the provisions of the GPL or the LGPL are applicable instead
  29.  * of those above. If you wish to allow use of your version of this file only
  30.  * under the terms of either the GPL or the LGPL, and not to allow others to
  31.  * use your version of this file under the terms of the MPL, indicate your
  32.  * decision by deleting the provisions above and replace them with the notice
  33.  * and other provisions required by the GPL or the LGPL. If you do not delete
  34.  * the provisions above, a recipient may use your version of this file under
  35.  * the terms of any one of the MPL, the GPL or the LGPL.
  36.  *
  37.  * ***** END LICENSE BLOCK ***** */
  38.  
  39. /* The prefs in this file are specific to the seamonkey browser.
  40.  * Generic default prefs that would be useful to embedders belong in
  41.  * modules/libpref/src/init/all.js
  42.  */
  43.  
  44. pref("startup.homepage_override_url","chrome://navigator-region/locale/region.properties");
  45. pref("browser.chromeURL","chrome://navigator/content/navigator.xul");
  46.  
  47. pref("general.startup.browser",             true);
  48. pref("general.startup.mail",                false);
  49. pref("general.startup.news",                false);
  50. pref("general.startup.editor",              false);
  51. pref("general.startup.compose",             false);
  52. pref("general.startup.addressbook",         false);
  53.  
  54. pref("general.open_location.last_url",      "");
  55. pref("general.open_location.last_window_choice", 0);
  56.  
  57. pref("general.smoothScroll", false);
  58.  
  59. // 0 = blank, 1 = home (browser.startup.homepage), 2 = last
  60. pref("browser.startup.page",                1);
  61. pref("browser.startup.homepage",       "chrome://navigator-region/locale/region.properties");
  62. pref("browser.startup.homepage.count", 1);
  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.urlbar.autoFill", false);
  68. pref("browser.urlbar.showPopup", true);
  69. pref("browser.urlbar.showSearch", true);
  70. pref("browser.urlbar.matchOnlyTyped", false);
  71.  
  72. pref("browser.chrome.site_icons", true);
  73. pref("browser.chrome.favicons", false);
  74.  
  75. // 0 = never, 1 = when in cache, 2 = always
  76. pref("browser.chrome.load_toolbar_icons", 0);
  77.  
  78. pref("browser.toolbars.showbutton.bookmarks", true);
  79. pref("browser.toolbars.showbutton.go",      false);
  80. pref("browser.toolbars.showbutton.home",    true);
  81. pref("browser.toolbars.showbutton.print",   true);
  82. pref("browser.toolbars.showbutton.search",  true);
  83.  
  84. // xxxbsmedberg - is this a real pref?
  85. pref("browser.turbo.enabled", false);
  86.  
  87. // Dialog modality issues
  88. pref("browser.show_about_as_stupid_modal_window", false);
  89.  
  90. pref("browser.download.progressDnldDialog.keepAlive", true); // keep the dnload progress dialog up after dnload is complete
  91. pref("browser.download.progressDnldDialog.enable_launch_reveal_buttons", true);
  92. pref("browser.download.progressDnlgDialog.dontAskForLaunch", false);
  93. pref("browser.download.finished_sound_url", "");
  94.  
  95. // various default search settings
  96. pref("browser.search.defaulturl", "chrome://navigator-region/locale/region.properties");
  97. pref("browser.search.opensidebarsearchpanel", true);
  98. pref("browser.search.last_search_category", "NC:SearchCategory?category=urn:search:category:1");
  99. pref("browser.search.mode", 0);
  100. pref("browser.search.powermode", 0);
  101. // basic search popup constraint: minimum sherlock plugin version displayed
  102. // (note: must be a string representation of a float or it'll default to 0.0)
  103. pref("browser.search.basic.min_ver", "0.0");
  104. pref("browser.urlbar.autocomplete.enabled", true);
  105. pref("browser.urlbar.clickSelectsAll", true);
  106. // when clickSelectsAll=true, does it also apply when the click is past end of text?
  107. pref("browser.urlbar.clickAtEndSelects", true);
  108.  
  109.  
  110. pref("browser.history.grouping", "day");
  111. pref("browser.sessionhistory.max_entries", 50);
  112.  
  113. // Translation service
  114. pref("browser.translation.service", "chrome://navigator-region/locale/region.properties");
  115. pref("browser.translation.serviceDomain", "chrome://navigator-region/locale/region.properties");
  116.   
  117. // Smart Browsing prefs
  118. pref("browser.related.enabled", true);
  119. pref("browser.related.autoload", 1);  // 0 = Always, 1 = After first use, 2 = Never
  120. pref("browser.related.provider", "http://www-rl.netscape.com/wtgn?");
  121. pref("browser.related.disabledForDomains", "");
  122.  
  123. // Bookmarks prefs
  124. pref("browser.bookmarks.confirm_sorting", true);
  125.  
  126. //Internet Search
  127. pref("browser.search.defaultenginename", "chrome://communicator-region/locale/region.properties");
  128.  
  129. pref("javascript.options.showInConsole",    true);
  130.  
  131. pref("offline.startup_state",            0);
  132. pref("offline.send.unsent_messages",            0);
  133. pref("offline.download.download_messages",  0);
  134. pref("offline.prompt_synch_on_exit",            true);
  135.  
  136. pref("signon.rememberSignons",              true);
  137. pref("signon.expireMasterPassword",         false);
  138.  
  139. pref("wallet.captureForms",                 true);
  140. pref("wallet.notified",                     false);
  141. pref("wallet.Server",                       "chrome://navigator/locale/navigator.properties");
  142. pref("wallet.Samples",                      "chrome://navigator/locale/navigator.properties");
  143. pref("wallet.version",                      "1");
  144. pref("wallet.enabled",                      true);
  145. pref("wallet.crypto",                       false);
  146. pref("wallet.crypto.autocompleteoverride",  false); // Ignore 'autocomplete=off' - available only when wallet.crypto is enabled. 
  147. pref("wallet.namePanel.hide",               false);
  148. pref("wallet.addressPanel.hide",            false);
  149. pref("wallet.phonePanel.hide",              false);
  150. pref("wallet.creditPanel.hide",             false);
  151. pref("wallet.employPanel.hide",             false);
  152. pref("wallet.miscPanel.hide",               false);
  153.  
  154. // -- folders (Mac: these are binary aliases.)
  155. pref("mail.signature_file",             "");
  156. pref("mail.directory",                  "");
  157. pref("news.directory",                  "");
  158. pref("browser.editor.disabled", false);
  159. pref("spellchecker.dictionary", "");
  160.  
  161. pref("xpinstall.dialog.confirm",        "chrome://communicator/content/xpinstall/institems.xul");
  162. pref("xpinstall.dialog.progress",       "chrome://communicator/content/xpinstall/xpistatus.xul");
  163. pref("xpinstall.dialog.progress.type",  "");
  164. pref("xpinstall.whitelist.add", "mozilla.org, mozdev.org, texturizer.net");
  165. pref("xpinstall.blacklist.add", "");
  166.  
  167. // Customizable toolbar stuff
  168. pref("custtoolbar.personal_toolbar_folder", "");
  169.  
  170. pref("sidebar.customize.all_panels.url", "http://sidebar-rdf.netscape.com/%LOCALE%/sidebar-rdf/%SIDEBAR_VERSION%/all-panels.rdf");
  171. pref("sidebar.customize.directory.url", "http://dmoz.org/Netscape/Sidebar/");
  172. pref("sidebar.customize.more_panels.url", "http://dmoz.org/Netscape/Sidebar/");
  173. pref("sidebar.num_tabs_in_view", 8);
  174.  
  175. pref("browser.throbber.url","chrome://navigator-region/locale/region.properties");
  176.  
  177. // pref to control the alert notification 
  178. pref("alerts.slideIncrement", 1);
  179. pref("alerts.slideIncrementTime", 10);
  180. pref("alerts.totalOpenTime", 4000);
  181. pref("alerts.height", 50);
  182.  
  183. // update notifications prefs
  184. pref("update_notifications.enabled", true);
  185. pref("update_notifications.provider.0.frequency", 7); // number of days
  186. pref("update_notifications.provider.0.datasource", "chrome://communicator-region/locale/region.properties");
  187.  
  188. // 0 opens the download manager
  189. // 1 opens a progress dialog
  190. // 2 and other values, no download manager, no progress dialog. 
  191. pref("browser.downloadmanager.behavior", 0);
  192.  
  193. pref("privacy.popups.first_popup",                true);
  194. pref("privacy.popups.sound_enabled",              false);
  195. pref("privacy.popups.sound_url",                  "");
  196. pref("privacy.popups.statusbar_icon_enabled",     true);
  197. pref("privacy.popups.prefill_whitelist",          false);
  198. pref("privacy.popups.remove_blacklist",           true);
  199.  
  200.  
  201.