home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 June / maximum-cd-2011-06.iso / DiscContents / LibO_3.3.1_Win_x86_install_multi.exe / libreoffice1.cab / browser_prefs.js < prev    next >
Encoding:
Text File  |  2009-11-17  |  11.4 KB  |  257 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 of the GNU General Public License Version 2 or later (the "GPL"),
  27.  * or 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. pref("general.autoScroll", true);
  59.  
  60. pref("general.warnOnAboutConfig", true);
  61.  
  62. pref("general.useragent.extra.seamonkey", "SeaMonkey/1.1.14");
  63. //@line 63 "/cygdrive/g/src/moz/wntmsci11.pro/misc/build/mozilla/I_objdir/xpfe/bootstrap/../../../xpfe/bootstrap/browser-prefs.js"
  64.  
  65. // 0 = blank, 1 = home (browser.startup.homepage), 2 = last
  66. pref("browser.startup.page",                1);
  67. pref("browser.startup.homepage",       "chrome://navigator-region/locale/region.properties");
  68. pref("browser.startup.homepage.count", 1);
  69. // "browser.startup.homepage_override" was for 4.x
  70. pref("browser.startup.homepage_override.1", true);
  71. pref("browser.startup.autoload_homepage",   true);
  72.  
  73. pref("browser.urlbar.autoFill", false);
  74. pref("browser.urlbar.showPopup", true);
  75. pref("browser.urlbar.showSearch", true);
  76. pref("browser.urlbar.matchOnlyTyped", false);
  77.  
  78. pref("browser.chrome.site_icons", true);
  79. pref("browser.chrome.favicons", false);
  80. pref("browser.chrome.image_icons.max_size", 1024);
  81.  
  82. // 0 = never, 1 = when in cache, 2 = always
  83. pref("browser.chrome.load_toolbar_icons", 0);
  84.  
  85. pref("browser.toolbars.showbutton.bookmarks", true);
  86. pref("browser.toolbars.showbutton.go",      false);
  87. pref("browser.toolbars.showbutton.home",    true);
  88. pref("browser.toolbars.showbutton.print",   true);
  89. pref("browser.toolbars.showbutton.search",  true);
  90.  
  91. // Dialog modality issues
  92. pref("browser.show_about_as_stupid_modal_window", false);
  93.  
  94. pref("browser.download.progressDnldDialog.keepAlive", true); // keep the dnload progress dialog up after dnload is complete
  95. pref("browser.download.progressDnldDialog.enable_launch_reveal_buttons", true);
  96. pref("browser.download.progressDnlgDialog.dontAskForLaunch", false);
  97. pref("browser.download.finished_download_sound", false);
  98. pref("browser.download.finished_download_alert", false);
  99. pref("browser.download.finished_sound_url", "");
  100. pref("browser.download.autoDownload", false);
  101. pref("browser.download.lastLocation", true);
  102.  
  103. // various default search settings
  104. pref("browser.search.defaulturl", "chrome://navigator-region/locale/region.properties");
  105. pref("browser.search.opensidebarsearchpanel", true);
  106. pref("browser.search.opentabforcontextsearch", false);
  107. pref("browser.search.last_search_category", "NC:SearchCategory?category=urn:search:category:1");
  108. pref("browser.search.mode", 0);
  109. // basic search popup constraint: minimum sherlock plugin version displayed
  110. // (note: must be a string representation of a float or it'll default to 0.0)
  111. pref("browser.search.basic.min_ver", "0.0");
  112. pref("browser.urlbar.autocomplete.enabled", true);
  113. pref("browser.urlbar.clickSelectsAll", true);
  114. // when clickSelectsAll=true, does it also apply when the click is past end of text?
  115. pref("browser.urlbar.clickAtEndSelects", true);
  116.  
  117. pref("browser.search.param.Google.1.custom", "chrome://navigator/content/searchconfig.properties");
  118. pref("browser.search.param.Google.1.default", "chrome://navigator/content/searchconfig.properties");
  119.  
  120. pref("browser.history.grouping", "day");
  121. pref("browser.sessionhistory.max_entries", 50);
  122.  
  123. // Tabbed browser
  124. pref("browser.tabs.loadDivertedInBackground", false);
  125. pref("browser.tabs.loadInBackground", false);
  126. pref("browser.tabs.opentabfor.middleclick", false);
  127. pref("browser.tabs.opentabfor.urlbar", false);
  128. pref("browser.tabs.tooltippreview.enable", true);
  129. pref("browser.tabs.tooltippreview.width", 300);
  130.  
  131. // external link handling in tabbed browsers. values from nsIBrowserDOMWindow.
  132. // 0=default window, 1=current window/tab, 2=new window, 3=new tab in most recent window
  133. pref("browser.link.open_external", 2); // open externally-launched links in a new window
  134.  
  135. // handle links targeting new windows
  136. pref("browser.link.open_newwindow", 2);
  137.  
  138. // 0: no restrictions - divert everything
  139. // 1: don't divert window.open at all
  140. // 2: don't divert window.open with features
  141. pref("browser.link.open_newwindow.restriction", 0); 
  142.  
  143. // Translation service
  144. pref("browser.translation.service", "chrome://navigator-region/locale/region.properties");
  145. pref("browser.translation.serviceDomain", "chrome://navigator-region/locale/region.properties");
  146.   
  147. // Smart Browsing prefs
  148. pref("browser.related.enabled", true);
  149. pref("browser.related.autoload", 1);  // 0 = Always, 1 = After first use, 2 = Never
  150. pref("browser.related.provider", "http://www-rl.netscape.com/wtgn?");
  151. pref("browser.related.disabledForDomains", "");
  152.  
  153. // Bookmarks prefs
  154. pref("browser.bookmarks.confirm_sorting", true);
  155.  
  156. //Internet Search
  157. pref("browser.search.defaultenginename", "chrome://communicator-region/locale/region.properties");
  158.  
  159. // 0 goes back
  160. // 1 act like pgup
  161. // 2 and other values, nothing
  162. pref("browser.backspace_action", 0);
  163.  
  164. pref("javascript.options.showInConsole",    true);
  165.  
  166. pref("offline.startup_state",            0);
  167. pref("offline.send.unsent_messages",            0);
  168. pref("offline.download.download_messages",  0);
  169. pref("offline.prompt_synch_on_exit",            true);
  170.  
  171. pref("signon.rememberSignons",              true);
  172. pref("signon.expireMasterPassword",         false);
  173.  
  174. pref("wallet.captureForms",                 true);
  175. pref("wallet.enabled",                      true);
  176. pref("wallet.crypto",                       false);
  177. pref("wallet.crypto.autocompleteoverride",  false); // Ignore 'autocomplete=off' - available only when wallet.crypto is enabled. 
  178. pref("wallet.namePanel.hide",               false);
  179. pref("wallet.addressPanel.hide",            false);
  180. pref("wallet.phonePanel.hide",              false);
  181. pref("wallet.creditPanel.hide",             false);
  182. pref("wallet.employPanel.hide",             false);
  183. pref("wallet.miscPanel.hide",               false);
  184.  
  185. // -- folders (Mac: these are binary aliases.)
  186. pref("mail.signature_file",             "");
  187. pref("mail.directory",                  "");
  188. pref("news.directory",                  "");
  189. pref("browser.editor.disabled", false);
  190. pref("spellchecker.dictionary", "");
  191.  
  192. // this will automatically enable inline spellchecking (if it is available) for
  193. // editable elements in HTML
  194. // 0 = spellcheck nothing
  195. // 1 = check multi-line controls [default]
  196. // 2 = check multi/single line controls
  197. pref("layout.spellcheckDefault", 1);
  198.  
  199. pref("xpinstall.dialog.confirm",        "chrome://communicator/content/xpinstall/institems.xul");
  200. pref("xpinstall.dialog.progress.chrome","chrome://communicator/content/xpinstall/xpistatus.xul");
  201. pref("xpinstall.dialog.progress.skin",  "chrome://communicator/content/xpinstall/xpistatus.xul");
  202. pref("xpinstall.dialog.progress.type.chrome", "");
  203. pref("xpinstall.dialog.progress.type.skin",   "");
  204. pref("xpinstall.whitelist.add", "update.mozilla.org");
  205. pref("xpinstall.whitelist.required", false);
  206. pref("xpinstall.blacklist.add", "");
  207.  
  208. // Customizable toolbar stuff
  209. pref("custtoolbar.personal_toolbar_folder", "");
  210.  
  211. pref("sidebar.customize.all_panels.url", "http://sidebar-rdf.netscape.com/%LOCALE%/sidebar-rdf/%SIDEBAR_VERSION%/all-panels.rdf");
  212. pref("sidebar.customize.directory.url", "http://dmoz.org/Netscape/Sidebar/");
  213. pref("sidebar.customize.more_panels.url", "http://dmoz.org/Netscape/Sidebar/");
  214. pref("sidebar.num_tabs_in_view", 8);
  215.  
  216. pref("browser.throbber.url","chrome://navigator-region/locale/region.properties");
  217.  
  218. // pref to control the alert notification 
  219. pref("alerts.slideIncrement", 1);
  220. pref("alerts.slideIncrementTime", 10);
  221. pref("alerts.totalOpenTime", 4000);
  222. pref("alerts.height", 50);
  223.  
  224. // update notifications prefs
  225. pref("update_notifications.enabled", true);
  226. pref("update_notifications.provider.0.frequency", 7); // number of days
  227. pref("update_notifications.provider.0.datasource", "chrome://communicator-region/locale/region.properties");
  228.  
  229. // 0 opens the download manager
  230. // 1 opens a progress dialog
  231. // 2 and other values, no download manager, no progress dialog. 
  232. pref("browser.downloadmanager.behavior", 0);
  233.  
  234. pref("privacy.popups.first_popup",                true);
  235. pref("privacy.popups.sound_enabled",              false);
  236. pref("privacy.popups.sound_url",                  "");
  237. pref("privacy.popups.statusbar_icon_enabled",     true);
  238. pref("privacy.popups.prefill_whitelist",          false);
  239. pref("privacy.popups.remove_blacklist",           true);
  240.  
  241. // Show XUL error pages instead of alerts for errors
  242. pref("browser.xul.error_pages.enabled", true);
  243.  
  244. // Setting this pref to |true| forces BiDi UI menu items and keyboard shortcuts
  245. // to be exposed. By default, only expose it for bidi-associated system locales.
  246. pref("bidi.browser.ui", false);
  247.  
  248. // prevent JS from moving/resizing existing windows
  249. pref("dom.disable_window_move_resize", true);
  250. // prevent JS from raising or lowering windows
  251. pref("dom.disable_window_flip",        true);
  252. // prevent JS from disabling or replacing context menus
  253. pref("dom.event.contextmenu.enabled",  true);
  254.  
  255. //@line 268 "/cygdrive/g/src/moz/wntmsci11.pro/misc/build/mozilla/I_objdir/xpfe/bootstrap/../../../xpfe/bootstrap/browser-prefs.js"
  256.  
  257.