home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 September / PCWorld_2007-09_cd.bin / komunikace / firefox / Firefox Setup 2.0.0.6.exe / nonlocalized / defaults / pref / firefox.js < prev    next >
Encoding:
Text File  |  2007-07-25  |  26.1 KB  |  514 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.  *
  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 MPL, 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 MPL, the GPL or the LGPL.
  35.  *
  36.  * ***** END LICENSE BLOCK ***** */
  37.  
  38. // XXX Toolkit-specific preferences should be moved into toolkit.js
  39.  
  40. //@line 41 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  41.  
  42. //@line 44 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  43.  
  44. //@line 50 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  45.  
  46. pref("general.startup.browser", true);
  47.  
  48. pref("browser.chromeURL","chrome://browser/content/");
  49. pref("browser.hiddenWindowChromeURL", "chrome://browser/content/hiddenWindow.xul");
  50. pref("xpinstall.dialog.confirm", "chrome://mozapps/content/xpinstall/xpinstallConfirm.xul");
  51. pref("xpinstall.dialog.progress.skin", "chrome://mozapps/content/extensions/extensions.xul");
  52. pref("xpinstall.dialog.progress.chrome", "chrome://mozapps/content/extensions/extensions.xul");
  53. pref("xpinstall.dialog.progress.type.skin", "Extension:Manager");
  54. pref("xpinstall.dialog.progress.type.chrome", "Extension:Manager");
  55.  
  56. // Developers can set this to |true| if they are constantly changing files in their 
  57. // extensions directory so that the extension system does not constantly think that
  58. // their extensions are being updated and thus reregistered every time the app is
  59. // started.
  60. pref("extensions.ignoreMTimeChanges", false);
  61. // Enables some extra Extension System Logging (can reduce performance)
  62. pref("extensions.logging.enabled", false);
  63. // Hides the install button in the add-ons mgr
  64. pref("extensions.hideInstallButton", true);
  65.  
  66. // Blocklist preferences
  67. pref("extensions.blocklist.enabled", true);
  68. pref("extensions.blocklist.interval", 86400);
  69. pref("extensions.blocklist.url", "https://addons.mozilla.org/blocklist/1/%APP_ID%/%APP_VERSION%/");
  70. pref("extensions.blocklist.detailsURL", "http://%LOCALE%.www.mozilla.com/%LOCALE%/blocklist/");
  71.  
  72. // Dictionary download preference
  73. pref("browser.dictionaries.download.url", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/firefox/%VERSION%/dictionaries/");
  74.  
  75. // App-specific update preferences
  76.  
  77. // Whether or not app updates are enabled
  78. pref("app.update.enabled", true);
  79.  
  80. // This preference turns on app.update.mode and allows automatic download and
  81. // install to take place. We use a separate boolean toggle for this to make
  82. // the UI easier to construct.
  83. pref("app.update.auto", true);
  84.  
  85. // Defines how the Application Update Service notifies the user about updates:
  86. //
  87. // AUM Set to:        Minor Releases:     Major Releases:
  88. // 0                  download no prompt  download no prompt
  89. // 1                  download no prompt  download no prompt if no incompatibilities
  90. // 2                  download no prompt  prompt
  91. //
  92. // See chart in nsUpdateService.js.in for more details
  93. //
  94. pref("app.update.mode", 1);
  95.  
  96. // If set to true, the Update Service will present no UI for any event.
  97. pref("app.update.silent", false);
  98.  
  99. // Update service URL:
  100. pref("app.update.url", "https://aus2.mozilla.org/update/2/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/update.xml");
  101. // app.update.url.manual is in branding section
  102. // app.update.url.details is in branding section
  103.  
  104. // User-settable override to app.update.url for testing purposes.
  105. //pref("app.update.url.override", "");
  106.  
  107. // Interval: Time between checks for a new version (in seconds)
  108. //           default=1 day
  109. pref("app.update.interval", 86400);
  110. // Interval: Time before prompting the user to download a new version that 
  111. //           is available (in seconds) default=1 day
  112. pref("app.update.nagTimer.download", 86400);
  113. // Interval: Time before prompting the user to restart to install the latest
  114. //           download (in seconds) default=30 minutes
  115. pref("app.update.nagTimer.restart", 1800);
  116. // Interval: When all registered timers should be checked (in milliseconds)
  117. //           default=5 seconds
  118. pref("app.update.timer", 600000);
  119.  
  120. // Whether or not we show a dialog box informing the user that the update was
  121. // successfully applied. This is off in Firefox by default since we show a 
  122. // upgrade start page instead! Other apps may wish to show this UI, and supply
  123. // a whatsNewURL field in their brand.properties that contains a link to a page
  124. // which tells users what's new in this new update.
  125. pref("app.update.showInstalledUI", false);
  126.  
  127. // 0 = suppress prompting for incompatibilities if there are updates available
  128. //     to newer versions of installed addons that resolve them.
  129. // 1 = suppress prompting for incompatibilities only if there are VersionInfo
  130. //     updates available to installed addons that resolve them, not newer
  131. //     versions.
  132. pref("app.update.incompatible.mode", 0);
  133.  
  134. // Symmetric (can be overridden by individual extensions) update preferences.
  135. // e.g.
  136. //  extensions.{GUID}.update.enabled
  137. //  extensions.{GUID}.update.url
  138. //  extensions.{GUID}.update.interval
  139. //  .. etc ..
  140. //
  141. pref("extensions.update.enabled", true);
  142. pref("extensions.update.url", "chrome://mozapps/locale/extensions/extensions.properties");
  143. pref("extensions.update.interval", 86400);  // Check for updates to Extensions and 
  144.                                             // Themes every day
  145. // Non-symmetric (not shared by extensions) extension-specific [update] preferences
  146. pref("extensions.getMoreExtensionsURL", "http://%LOCALE%.add-ons.mozilla.com/%LOCALE%/%APP%/%VERSION%/extensions/");
  147. pref("extensions.getMoreThemesURL", "http://%LOCALE%.add-ons.mozilla.com/%LOCALE%/%APP%/%VERSION%/themes/");
  148. pref("extensions.dss.enabled", false);          // Dynamic Skin Switching                                               
  149. pref("extensions.dss.switchPending", false);    // Non-dynamic switch pending after next
  150.                                                 // restart.
  151.  
  152. pref("xpinstall.whitelist.add", "update.mozilla.org");
  153. pref("xpinstall.whitelist.add.103", "addons.mozilla.org");
  154.  
  155. pref("keyword.enabled", true);
  156. pref("keyword.URL", "chrome://browser-region/locale/region.properties");
  157.  
  158. pref("general.useragent.locale", "en-US");
  159. pref("general.skins.selectedSkin", "classic/1.0");
  160. pref("general.useragent.extra.firefox", "Firefox/2.0.0.6");
  161.  
  162. pref("general.smoothScroll", false);
  163. //@line 171 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  164. pref("general.autoScroll", true);
  165. //@line 173 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  166.  
  167. // Whether or not the application should check at startup each time if it 
  168. // is the default browser.
  169. pref("browser.shell.checkDefaultBrowser", true);
  170.  
  171. // 0 = blank, 1 = home (browser.startup.homepage), 2 = last visited page, 3 = resume previous browser session
  172. // The behavior of option 3 is detailed at: http://wiki.mozilla.org/Session_Restore
  173. pref("browser.startup.page",                1);
  174. pref("browser.startup.homepage",            "resource:/browserconfig.properties");
  175.  
  176. pref("browser.cache.disk.capacity",         50000);
  177. pref("browser.enable_automatic_image_resizing", true);
  178. pref("browser.urlbar.autoFill", false);
  179. pref("browser.urlbar.matchOnlyTyped", false);
  180. pref("browser.urlbar.hideGoButton", false);
  181. pref("browser.chrome.site_icons", true);
  182. pref("browser.chrome.favicons", true);
  183. pref("browser.formfill.enable", true);
  184.  
  185. pref("browser.download.useDownloadDir", true);
  186. pref("browser.download.folderList", 0);
  187. //@line 195 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  188. pref("browser.download.manager.showAlertOnComplete", true);
  189. //@line 199 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  190. pref("browser.download.manager.showAlertInterval", 2000);
  191. pref("browser.download.manager.retention", 2);
  192. pref("browser.download.manager.showWhenStarting", true);
  193. pref("browser.download.manager.useWindow", true);
  194. pref("browser.download.manager.closeWhenDone", false);
  195. pref("browser.download.manager.openDelay", 0);
  196. pref("browser.download.manager.focusWhenStarting", false);
  197. pref("browser.download.manager.flashCount", 2);
  198.  
  199. // search engines URL
  200. pref("browser.search.searchEnginesURL",      "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/firefox/%VERSION%/search-engines/");
  201.  
  202. // pointer to the default engine name
  203. pref("browser.search.defaultenginename",      "chrome://browser-region/locale/region.properties");
  204.  
  205. // disable logging for the search service by default
  206. pref("browser.search.log", false);
  207.  
  208. // Ordering of Search Engines in the Engine list. 
  209. pref("browser.search.order.1",                "chrome://browser-region/locale/region.properties");
  210. pref("browser.search.order.2",                "chrome://browser-region/locale/region.properties");
  211.  
  212. pref("browser.search.param.Google.1.default", "chrome://branding/content/searchconfig.properties");
  213. pref("browser.search.param.Google.1.custom",  "chrome://branding/content/searchconfig.properties");
  214. pref("browser.search.order.Yahoo.1",          "chrome://branding/content/searchconfig.properties");
  215. pref("browser.search.order.Yahoo.2",          "chrome://branding/content/searchconfig.properties");
  216. pref("browser.search.order.Yahoo",            "chrome://branding/content/searchconfig.properties");
  217.  
  218. // search bar results always open in a new tab
  219. pref("browser.search.openintab", false);
  220.  
  221. // send ping to the server to update
  222. pref("browser.search.update", true);
  223.  
  224. // disable logging for the search service update system by default
  225. pref("browser.search.update.log", false);
  226.  
  227. // Check whether we need to perform engine updates every 6 hours
  228. pref("browser.search.updateinterval", 6);
  229.  
  230. // enable search suggestions by default
  231. pref("browser.search.suggest.enabled", true);
  232.  
  233. pref("browser.history.grouping", "day");
  234. pref("browser.sessionhistory.max_entries", 50);
  235.  
  236. // handle external links
  237. // 0=default window, 1=current window/tab, 2=new window, 3=new tab in most recent window
  238. pref("browser.link.open_external", 3);
  239.  
  240. // handle links targeting new windows
  241. pref("browser.link.open_newwindow", 3);
  242.  
  243. // 0: no restrictions - divert everything
  244. // 1: don't divert window.open at all
  245. // 2: don't divert window.open with features
  246. pref("browser.link.open_newwindow.restriction", 2);
  247.  
  248. // Tab browser preferences.
  249. pref("browser.tabs.loadInBackground", true);
  250. pref("browser.tabs.loadFolderAndReplace", true);
  251. pref("browser.tabs.opentabfor.middleclick", true);
  252. pref("browser.tabs.loadDivertedInBackground", false);
  253. pref("browser.tabs.loadBookmarksInBackground", false);
  254. pref("browser.tabs.tabMinWidth", 100);
  255. pref("browser.tabs.tabClipWidth", 140);
  256.  
  257. // Where to show tab close buttons:
  258. // 0  on active tab only
  259. // 1  on all tabs until tabClipWidth is reached, then active tab only
  260. // 2  no close buttons at all
  261. // 3  at the end of the tabstrip
  262. pref("browser.tabs.closeButtons", 1);
  263.  
  264. // When tabs opened by links in other tabs via a combination of 
  265. // browser.link.open_newwindow being set to 3 and target="_blank" etc are
  266. // closed:
  267. // true   return to the tab that opened this tab (its owner)
  268. // false  return to the adjacent tab (old default)
  269. pref("browser.tabs.selectOwnerOnClose", true);
  270.  
  271. // Default bookmark sorting
  272. pref("browser.bookmarks.sort.direction", "descending");
  273. pref("browser.bookmarks.sort.resource", "rdf:http://home.netscape.com/NC-rdf#Name");
  274.  
  275. // Scripts & Windows prefs
  276. pref("dom.disable_open_during_load",              true);
  277. pref("javascript.options.showInConsole",          false);
  278. // Make the status bar reliably present and unaffected by pages
  279. pref("dom.disable_window_open_feature.status",    true);
  280. // This is the pref to control the location bar, change this to true to 
  281. // force this instead of or in addition to the status bar - this makes 
  282. // the origin of popup windows more obvious to avoid spoofing but we 
  283. // cannot do it by default because it affects UE for web applications.
  284. pref("dom.disable_window_open_feature.location",  false);
  285. pref("dom.disable_window_status_change",          true);
  286. // allow JS to move and resize existing windows
  287. pref("dom.disable_window_move_resize",            false);
  288. // prevent JS from monkeying with window focus, etc
  289. pref("dom.disable_window_flip",                   true);
  290.  
  291. // popups.policy 1=allow,2=reject
  292. pref("privacy.popups.policy",               1);
  293. pref("privacy.popups.usecustom",            true);
  294. pref("privacy.popups.firstTime",            true);
  295. pref("privacy.popups.showBrowserMessage",   true);
  296.  
  297. pref("privacy.item.history",    true);
  298. pref("privacy.item.formdata",   true);
  299. pref("privacy.item.passwords",  false);
  300. pref("privacy.item.downloads",  true);
  301. pref("privacy.item.cookies",    false);
  302. pref("privacy.item.cache",      true);
  303. pref("privacy.item.siteprefs",  false);
  304. pref("privacy.item.sessions",   true);
  305.  
  306. pref("privacy.sanitize.sanitizeOnShutdown", false);
  307. pref("privacy.sanitize.promptOnSanitize", true);
  308.  
  309. pref("network.proxy.share_proxy_settings",  false); // use the same proxy settings for all protocols
  310.  
  311. pref("network.cookie.cookieBehavior",       0); // cookies enabled
  312. pref("network.cookie.enableForCurrentSessionOnly", false);
  313.  
  314. // l12n and i18n
  315. pref("intl.accept_languages", "chrome://global/locale/intl.properties");
  316. // collationOption is only set on linux for japanese. see bug 18338 and 62015
  317. // we need to check if this pref is still useful.
  318. pref("intl.collationOption",  "chrome://global-platform/locale/intl.properties");
  319. pref("intl.charsetmenu.browser.static", "chrome://global/locale/intl.properties");
  320. pref("intl.charsetmenu.browser.more1",  "chrome://global/locale/intl.properties");
  321. pref("intl.charsetmenu.browser.more2",  "chrome://global/locale/intl.properties");
  322. pref("intl.charsetmenu.browser.more3",  "chrome://global/locale/intl.properties");
  323. pref("intl.charsetmenu.browser.more4",  "chrome://global/locale/intl.properties");
  324. pref("intl.charsetmenu.browser.more5",  "chrome://global/locale/intl.properties");
  325. pref("intl.charsetmenu.browser.unicode",  "chrome://global/locale/intl.properties");
  326. pref("intl.charset.detector", "chrome://global/locale/intl.properties");
  327. pref("intl.charset.default",  "chrome://global-platform/locale/intl.properties");
  328. pref("font.language.group", "chrome://global/locale/intl.properties");
  329. pref("intl.menuitems.alwaysappendaccesskeys","chrome://global/locale/intl.properties");
  330. pref("intl.menuitems.insertseparatorbeforeaccesskeys","chrome://global/locale/intl.properties");
  331.  
  332. // 0=lines, 1=pages, 2=history , 3=text size
  333. //@line 356 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  334. pref("mousewheel.withshiftkey.action",2);
  335. pref("mousewheel.withshiftkey.sysnumlines",false);
  336. pref("mousewheel.withshiftkey.numlines",1);
  337. pref("mousewheel.withaltkey.action",0);
  338. pref("mousewheel.withaltkey.sysnumlines",false);
  339. pref("mousewheel.withaltkey.numlines",1);
  340. pref("mousewheel.withmetakey.action",0);
  341. pref("mousewheel.withmetakey.sysnumlines",true);
  342. pref("mousewheel.withmetakey.numlines",1);
  343. //@line 366 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  344. pref("mousewheel.withcontrolkey.action",3);
  345. pref("mousewheel.withcontrolkey.sysnumlines",false);
  346. pref("mousewheel.withcontrolkey.numlines",1);
  347.  
  348. pref("profile.allow_automigration", false);   // setting to false bypasses automigration in the profile code
  349.  
  350. // Customizable toolbar stuff
  351. pref("custtoolbar.personal_toolbar_folder", "");
  352.  
  353. // pref to control the alert notification 
  354. pref("alerts.slideIncrement", 1);
  355. pref("alerts.slideIncrementTime", 10);
  356. pref("alerts.totalOpenTime", 4000);
  357. pref("alerts.height", 50);
  358.  
  359. pref("browser.xul.error_pages.enabled", true);
  360.  
  361. pref("signon.rememberSignons",              true);
  362. pref("signon.expireMasterPassword",         false);
  363. pref("signon.SignonFileName",               "signons.txt");
  364. pref("signon.SignonFileName2",              "signons2.txt");
  365. pref("signon.prefillForms",                 true);
  366.  
  367. // We want to make sure mail URLs are handled externally...
  368. pref("network.protocol-handler.external.mailto", true); // for mail
  369. pref("network.protocol-handler.external.news", true);   // for news
  370. pref("network.protocol-handler.external.snews", true);  // for secure news
  371. pref("network.protocol-handler.external.nntp", true);   // also news
  372. // ...without warning dialogs
  373. pref("network.protocol-handler.warn-external.mailto", false);
  374. pref("network.protocol-handler.warn-external.news", false);
  375. pref("network.protocol-handler.warn-external.snews", false);
  376. pref("network.protocol-handler.warn-external.nntp", false);
  377.  
  378. // By default, all protocol handlers are exposed.  This means that
  379. // the browser will respond to openURL commands for all URL types.
  380. // It will also try to open link clicks inside the browser before
  381. // failing over to the system handlers.
  382. pref("network.protocol-handler.expose-all", true);
  383. pref("network.protocol-handler.expose.mailto", false);
  384. pref("network.protocol-handler.expose.news", false);
  385. pref("network.protocol-handler.expose.snews", false);
  386. pref("network.protocol-handler.expose.nntp", false);
  387.  
  388. // Default security warning dialogs to show once.
  389. pref("security.warn_entering_secure.show_once", true);
  390. pref("security.warn_entering_weak.show_once", true);
  391. pref("security.warn_leaving_secure.show_once", true);
  392. pref("security.warn_viewing_mixed.show_once", true);
  393. pref("security.warn_submit_insecure.show_once", true);
  394.  
  395. //@line 420 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  396. pref("browser.urlbar.clickSelectsAll", true);
  397. //@line 422 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  398.  
  399. pref("accessibility.typeaheadfind", false);
  400. pref("accessibility.typeaheadfind.timeout", 5000);
  401. pref("accessibility.typeaheadfind.linksonly", false);
  402. pref("accessibility.typeaheadfind.flashBar", 1);
  403.  
  404. // Disable the default plugin for firefox
  405. pref("plugin.default_plugin_disabled", true);
  406.  
  407. // plugin finder service url
  408. pref("pfs.datasource.url", "https://pfs.mozilla.org/plugins/PluginFinderService.php?mimetype=%PLUGIN_MIMETYPE%&appID=%APP_ID%&appVersion=%APP_VERSION%&clientOS=%CLIENT_OS%&chromeLocale=%CHROME_LOCALE%");
  409.  
  410. //@line 435 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  411. pref("browser.preferences.instantApply", false);
  412. //@line 442 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  413. pref("browser.preferences.animateFadeIn", false);
  414. //@line 444 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  415.  
  416. pref("browser.download.show_plugins_in_list", true);
  417. pref("browser.download.hide_plugins_without_extensions", true);
  418.  
  419. // Setting this pref to |true| forces BiDi UI menu items and keyboard shortcuts
  420. // to be exposed. By default, only expose it for bidi-associated system locales.
  421. pref("bidi.browser.ui", false);
  422.  
  423. // Backspace and Shift+Backspace behavior
  424. // 0 goes Back/Forward
  425. // 1 act like PgUp/PgDown
  426. // 2 and other values, nothing
  427. //@line 459 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  428. pref("browser.backspace_action", 0);
  429. //@line 461 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  430.  
  431. // this will automatically enable inline spellchecking (if it is available) for
  432. // editable elements in HTML
  433. // 0 = spellcheck nothing
  434. // 1 = check multi-line controls [default]
  435. // 2 = check multi/single line controls
  436. pref("layout.spellcheckDefault", 1);
  437.  
  438. pref("view_source.editor.path", "");
  439. pref("view_source.editor.external", false);
  440.  
  441. //@line 473 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  442. pref("browser.contentHandlers.types.0.title", "chrome://browser-region/locale/region.properties");
  443. pref("browser.contentHandlers.types.0.uri", "chrome://browser-region/locale/region.properties");
  444. pref("browser.contentHandlers.types.0.type", "application/vnd.mozilla.maybe.feed");
  445. pref("browser.contentHandlers.types.1.title", "chrome://browser-region/locale/region.properties");
  446. pref("browser.contentHandlers.types.1.uri", "chrome://browser-region/locale/region.properties");
  447. pref("browser.contentHandlers.types.1.type", "application/vnd.mozilla.maybe.feed");
  448. pref("browser.contentHandlers.types.2.title", "chrome://browser-region/locale/region.properties");
  449. pref("browser.contentHandlers.types.2.uri", "chrome://browser-region/locale/region.properties");
  450. pref("browser.contentHandlers.types.2.type", "application/vnd.mozilla.maybe.feed");
  451. pref("browser.contentHandlers.types.3.title", "chrome://browser-region/locale/region.properties");
  452. pref("browser.contentHandlers.types.3.uri", "chrome://browser-region/locale/region.properties");
  453. pref("browser.contentHandlers.types.3.type", "application/vnd.mozilla.maybe.feed");
  454. pref("browser.contentHandlers.types.4.title", "chrome://browser-region/locale/region.properties");
  455. pref("browser.contentHandlers.types.4.uri", "chrome://browser-region/locale/region.properties");
  456. pref("browser.contentHandlers.types.4.type", "application/vnd.mozilla.maybe.feed");
  457. pref("browser.contentHandlers.types.5.title", "chrome://browser-region/locale/region.properties");
  458. pref("browser.contentHandlers.types.5.uri", "chrome://browser-region/locale/region.properties");
  459. pref("browser.contentHandlers.types.5.type", "application/vnd.mozilla.maybe.feed");
  460.  
  461. pref("browser.feeds.handler", "ask");
  462. //@line 494 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  463.  
  464. //@line 496 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  465. // Safe browsing does nothing unless both these prefs are set.
  466. pref("browser.safebrowsing.enabled", true);
  467. pref("browser.safebrowsing.remoteLookups", false);
  468.  
  469. // Non-enhanced mode (local url lists) URL list to check for updates
  470. pref("browser.safebrowsing.provider.0.updateURL", "http://sb.google.com/safebrowsing/update?client={moz:client}&appver={moz:version}&");
  471.  
  472. pref("browser.safebrowsing.dataProvider", 0);
  473.  
  474. // Does the provider name need to be localizable?
  475. pref("browser.safebrowsing.provider.0.name", "Google");
  476. pref("browser.safebrowsing.provider.0.lookupURL", "http://sb.google.com/safebrowsing/lookup?sourceid=firefox-antiphish&features=TrustRank&client={moz:client}&appver={moz:version}&");
  477. pref("browser.safebrowsing.provider.0.keyURL", "https://sb-ssl.google.com/safebrowsing/getkey?client={moz:client}&");
  478. pref("browser.safebrowsing.provider.0.reportURL", "http://sb.google.com/safebrowsing/report?");
  479.  
  480. // privacy policy -- Both url and fallbackurl must exist, although they may
  481. // point to the same file.  fallbackurl must be a chrome url
  482. pref("browser.safebrowsing.provider.0.privacy.url", "http://www.google.com/tools/firefox/firefox_privacy.html?hl=%LOCALE%");
  483. pref("browser.safebrowsing.provider.0.privacy.fallbackurl", "chrome://browser/content/preferences/phishEULA.xhtml");
  484.  
  485. // HTML report pages
  486. pref("browser.safebrowsing.provider.0.reportGenericURL", "http://{moz:locale}.phish-generic.mozilla.com/?hl={moz:locale}");
  487. pref("browser.safebrowsing.provider.0.reportErrorURL", "http://{moz:locale}.phish-error.mozilla.com/?hl={moz:locale}");
  488. pref("browser.safebrowsing.provider.0.reportPhishURL", "http://{moz:locale}.phish-report.mozilla.com/?hl={moz:locale}");
  489.  
  490. // FAQ URL
  491. pref("browser.safebrowsing.warning.infoURL", "http://%LOCALE%.www.mozilla.com/%LOCALE%/firefox/phishing-protection/");
  492. //@line 524 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/browser/app/profile/firefox.js"
  493.  
  494. // defaults to true
  495. pref("browser.EULA.2.accepted", true);
  496.  
  497. // if we rev the EULA again, we should bump this so users agree to the new EULA
  498. pref("browser.EULA.version", 2);
  499.  
  500. pref("browser.sessionstore.enabled", true);
  501. pref("browser.sessionstore.resume_from_crash", true);
  502. pref("browser.sessionstore.resume_session_once", false);
  503.  
  504. // minimal interval between two save operations in milliseconds
  505. pref("browser.sessionstore.interval", 10000);
  506. // maximum amount of POSTDATA to be saved in bytes per history entry (-1 = all of it)
  507. // (NB: POSTDATA will be saved either entirely or not at all)
  508. pref("browser.sessionstore.postdata", 0);
  509. // which sites to save text data, POSTDATA and cookies for
  510. // 0 = all, 1 = unencrypted sites only, 2 = none
  511. pref("browser.sessionstore.privacy_level", 1);
  512. // number of remembered reopenable tabs (per window)
  513. pref("browser.sessionstore.max_tabs_undo", 10);
  514.