Advertisement
Guest User

Greg

a guest
Feb 10th, 2010
470
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.63 KB | None | 0 0
  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. #filter substitution
  41.  
  42. # SYNTAX HINTS: dashes are delimiters. Use underscores instead.
  43. # The first character after a period must be alphabetic.
  44.  
  45. #ifdef XP_UNIX
  46. #ifndef XP_MACOSX
  47. #define UNIX_BUT_NOT_MAC
  48. #endif
  49. #endif
  50.  
  51. pref("general.startup.browser", true);
  52.  
  53. pref("browser.chromeURL","chrome://browser/content/");
  54. pref("browser.hiddenWindowChromeURL", "chrome://browser/content/hiddenWindow.xul");
  55. pref("xpinstall.dialog.confirm", "chrome://mozapps/content/xpinstall/xpinstallConfirm.xul");
  56. pref("xpinstall.dialog.progress.skin", "chrome://mozapps/content/extensions/extensions.xul");
  57. pref("xpinstall.dialog.progress.chrome", "chrome://mozapps/content/extensions/extensions.xul");
  58. pref("xpinstall.dialog.progress.type.skin", "Extension:Manager");
  59. pref("xpinstall.dialog.progress.type.chrome", "Extension:Manager");
  60.  
  61. // Developers can set this to |true| if they are constantly changing files in their
  62. // extensions directory so that the extension system does not constantly think that
  63. // their extensions are being updated and thus reregistered every time the app is
  64. // started.
  65. pref("extensions.ignoreMTimeChanges", false);
  66. // Enables some extra Extension System Logging (can reduce performance)
  67. pref("extensions.logging.enabled", false);
  68. // Hides the install button in the add-ons mgr
  69. pref("extensions.hideInstallButton", true);
  70.  
  71. // Preferences for the Get Add-ons pane
  72. pref("extensions.getAddons.showPane", false);
  73. pref("extensions.getAddons.browseAddons", "http://www.gnu.org/software/gnuzilla/addons.html");
  74. pref("extensions.getAddons.maxResults", 5);
  75. pref("extensions.getAddons.recommended.browseURL", "http://www.gnu.org/software/gnuzilla/addons.html");
  76. pref("extensions.getAddons.recommended.url", "http://www.gnu.org/software/gnuzilla/addons.html");
  77. pref("extensions.getAddons.search.browseURL", "http://www.gnu.org/software/gnuzilla/addons.html");
  78. pref("extensions.getAddons.search.url", "http://www.gnu.org/software/gnuzilla/addons.html");
  79.  
  80. // Blocklist preferences
  81. pref("extensions.blocklist.enabled", true);
  82. pref("extensions.blocklist.interval", 86400);
  83. // Controls what level the blocklist switches from warning about items to forcibly
  84. // blocking them.
  85. pref("extensions.blocklist.level", 2);
  86. pref("extensions.blocklist.url", "https://addons.mozilla.org/blocklist/3/%APP_ID%/%APP_VERSION%/%PRODUCT%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/");
  87. pref("extensions.blocklist.detailsURL", "https://www.mozilla.com/%LOCALE%/blocklist/");
  88.  
  89. // Dictionary download preference
  90. pref("browser.dictionaries.download.url", "http://gnuzilla.gnu.org");
  91.  
  92. // Update Timer Manager preferences
  93. // Interval: When all registered timers should be checked (in milliseconds)
  94. // default=10 minutes
  95. pref("app.update.timer", 600000);
  96.  
  97. // App-specific update preferences
  98.  
  99. // The interval to check for updates (app.update.interval) is defined in
  100. // firefox-branding.js
  101.  
  102. // Whether or not app updates are enabled
  103. pref("app.update.enabled", true);
  104.  
  105. // This preference turns on app.update.mode and allows automatic download and
  106. // install to take place. We use a separate boolean toggle for this to make
  107. // the UI easier to construct.
  108. pref("app.update.auto", true);
  109.  
  110. // Defines how the Application Update Service notifies the user about updates:
  111. //
  112. // AUM Set to: Minor Releases: Major Releases:
  113. // 0 download no prompt download no prompt
  114. // 1 download no prompt download no prompt if no incompatibilities
  115. // 2 download no prompt prompt
  116. //
  117. // See chart in nsUpdateService.js.in for more details
  118. //
  119. pref("app.update.mode", 1);
  120.  
  121. // If set to true, the Update Service will present no UI for any event.
  122. pref("app.update.silent", false);
  123.  
  124. // Update service URL:
  125. pref("app.update.url", "https://aus2.mozilla.org/update/3/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml");
  126. // app.update.url.manual is in branding section
  127. // app.update.url.details is in branding section
  128.  
  129. // User-settable override to app.update.url for testing purposes.
  130. //pref("app.update.url.override", "");
  131.  
  132. // app.update.interval is in branding section
  133.  
  134. // Interval: Time before prompting the user again to restart to install the
  135. // latest download (in seconds) default=1 day
  136. pref("app.update.nagTimer.restart", 86400);
  137.  
  138. // Give the user x seconds to react before showing the big UI. default=12 hours
  139. pref("app.update.promptWaitTime", 43200);
  140. // Show the Update Checking/Ready UI when the user was idle for x seconds
  141. pref("app.update.idletime", 60);
  142.  
  143. // Whether or not we show a dialog box informing the user that the update was
  144. // successfully applied. This is off in Firefox by default since we show a
  145. // upgrade start page instead! Other apps may wish to show this UI, and supply
  146. // a whatsNewURL field in their brand.properties that contains a link to a page
  147. // which tells users what's new in this new update.
  148. pref("app.update.showInstalledUI", false);
  149.  
  150. // 0 = suppress prompting for incompatibilities if there are updates available
  151. // to newer versions of installed addons that resolve them.
  152. // 1 = suppress prompting for incompatibilities only if there are VersionInfo
  153. // updates available to installed addons that resolve them, not newer
  154. // versions.
  155. pref("app.update.incompatible.mode", 0);
  156.  
  157. // Symmetric (can be overridden by individual extensions) update preferences.
  158. // e.g.
  159. // extensions.{GUID}.update.enabled
  160. // extensions.{GUID}.update.url
  161. // .. etc ..
  162. //
  163. pref("extensions.update.enabled", true);
  164. pref("extensions.update.url", "https://versioncheck.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%&currentAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%");
  165. pref("extensions.update.interval", 86400); // Check for updates to Extensions and
  166. // Themes every day
  167. // Non-symmetric (not shared by extensions) extension-specific [update] preferences
  168. pref("extensions.getMoreExtensionsURL", "http://www.gnu.org/software/gnuzilla/addons.html#addons");
  169. pref("extensions.getMoreThemesURL", "http://www.gnu.org/software/gnuzilla/addons.html#themes");
  170. pref("extensions.dss.enabled", false); // Dynamic Skin Switching
  171. pref("extensions.dss.switchPending", false); // Non-dynamic switch pending after next
  172. // restart.
  173.  
  174. pref("extensions.{972ce4c6-7e08-4474-a285-3208198ce6fd}.name", "chrome://browser/locale/browser.properties");
  175. pref("extensions.{972ce4c6-7e08-4474-a285-3208198ce6fd}.description", "chrome://browser/locale/browser.properties");
  176.  
  177. pref("xpinstall.whitelist.add", "addons.mozilla.org");
  178. pref("xpinstall.whitelist.add.36", "getpersonas.com");
  179.  
  180. pref("lightweightThemes.update.enabled", true);
  181.  
  182. pref("keyword.enabled", true);
  183. pref("keyword.URL", "chrome://browser-region/locale/region.properties");
  184.  
  185. pref("general.useragent.locale", "@AB_CD@");
  186. pref("general.skins.selectedSkin", "classic/1.0");
  187. @@pref("general.useragent.extra.firefox", "IceCat/3.6 (like Firefox/3.6)");
  188.  
  189. pref("general.smoothScroll", false);
  190. #ifdef UNIX_BUT_NOT_MAC
  191. pref("general.autoScroll", false);
  192. #else
  193. pref("general.autoScroll", true);
  194. #endif
  195.  
  196. // Whether or not the application should check at startup each time if it
  197. // is the default browser.
  198. pref("browser.shell.checkDefaultBrowser", true);
  199.  
  200. // 0 = blank, 1 = home (browser.startup.homepage), 2 = last visited page, 3 = resume previous browser session
  201. // The behavior of option 3 is detailed at: http://wiki.mozilla.org/Session_Restore
  202. pref("browser.startup.page", 1);
  203. pref("browser.startup.homepage", "resource:/browserconfig.properties");
  204.  
  205. pref("browser.enable_automatic_image_resizing", true);
  206. pref("browser.chrome.site_icons", true);
  207. pref("browser.chrome.favicons", true);
  208. pref("browser.warnOnQuit", true);
  209. pref("browser.warnOnRestart", true);
  210. pref("browser.fullscreen.autohide", true);
  211. pref("browser.fullscreen.animateUp", 1);
  212.  
  213. #ifdef UNIX_BUT_NOT_MAC
  214. pref("browser.urlbar.clickSelectsAll", false);
  215. #else
  216. pref("browser.urlbar.clickSelectsAll", true);
  217. #endif
  218. #ifdef UNIX_BUT_NOT_MAC
  219. pref("browser.urlbar.doubleClickSelectsAll", true);
  220. #else
  221. pref("browser.urlbar.doubleClickSelectsAll", false);
  222. #endif
  223. pref("browser.urlbar.autoFill", false);
  224. // 0: Match anywhere (e.g., middle of words)
  225. // 1: Match on word boundaries and then try matching anywhere
  226. // 2: Match only on word boundaries (e.g., after / or .)
  227. // 3: Match at the beginning of the url or title
  228. pref("browser.urlbar.matchBehavior", 1);
  229. pref("browser.urlbar.filter.javascript", true);
  230.  
  231. // the maximum number of results to show in autocomplete when doing richResults
  232. pref("browser.urlbar.maxRichResults", 12);
  233. // The amount of time (ms) to wait after the user has stopped typing
  234. // before starting to perform autocomplete. 50 is the default set in
  235. // autocomplete.xml.
  236. pref("browser.urlbar.delay", 50);
  237.  
  238. // The special characters below can be typed into the urlbar to either restrict
  239. // the search to visited history, bookmarked, tagged pages; or force a match on
  240. // just the title text or url.
  241. pref("browser.urlbar.restrict.history", "^");
  242. pref("browser.urlbar.restrict.bookmark", "*");
  243. pref("browser.urlbar.restrict.tag", "+");
  244. pref("browser.urlbar.restrict.typed", "~");
  245. pref("browser.urlbar.match.title", "#");
  246. pref("browser.urlbar.match.url", "@");
  247.  
  248. // The default behavior for the urlbar can be configured to use any combination
  249. // of the restrict or match filters with each additional filter restricting
  250. // more (intersection). Add the following values to set the behavior as the
  251. // default: 1: history, 2: bookmark, 4: tag, 8: title, 16: url, 32: typed
  252. // E.g., 0 = show all results (no filtering), 1 = only visited pages in history,
  253. // 2 = only bookmarks, 3 = visited bookmarks, 1+16 = history matching in the url
  254. pref("browser.urlbar.default.behavior", 0);
  255.  
  256. // Number of milliseconds to wait for the http headers (and thus
  257. // the Content-Disposition filename) before giving up and falling back to
  258. // picking a filename without that info in hand so that the user sees some
  259. // feedback from their action.
  260. pref("browser.download.saveLinkAsFilenameTimeout", 1000);
  261.  
  262. pref("browser.download.useDownloadDir", true);
  263.  
  264. #ifdef WINCE
  265. pref("browser.download.folderList", 2);
  266. pref("browser.download.dir", "\\Storage Card");
  267. #else
  268. pref("browser.download.folderList", 1);
  269. #endif
  270. pref("browser.download.manager.showAlertOnComplete", true);
  271. pref("browser.download.manager.showAlertInterval", 2000);
  272. pref("browser.download.manager.retention", 2);
  273. pref("browser.download.manager.showWhenStarting", true);
  274. pref("browser.download.manager.closeWhenDone", false);
  275. pref("browser.download.manager.focusWhenStarting", false);
  276. pref("browser.download.manager.flashCount", 2);
  277. pref("browser.download.manager.addToRecentDocs", true);
  278. pref("browser.download.manager.quitBehavior", 0);
  279. pref("browser.download.manager.scanWhenDone", true);
  280. pref("browser.download.manager.resumeOnWakeDelay", 10000);
  281.  
  282. // search engines URL
  283. pref("browser.search.searchEnginesURL", "http://www.gnu.org/software/gnuzilla/addons.html#search%20engines");
  284.  
  285. // pointer to the default engine name
  286. pref("browser.search.defaultenginename", "chrome://browser-region/locale/region.properties");
  287.  
  288. // disable logging for the search service by default
  289. pref("browser.search.log", false);
  290.  
  291. // Ordering of Search Engines in the Engine list.
  292. pref("browser.search.order.1", "chrome://browser-region/locale/region.properties");
  293. pref("browser.search.order.2", "chrome://browser-region/locale/region.properties");
  294.  
  295. // search bar results always open in a new tab
  296. pref("browser.search.openintab", false);
  297.  
  298. // send ping to the server to update
  299. pref("browser.search.update", true);
  300.  
  301. // disable logging for the search service update system by default
  302. pref("browser.search.update.log", false);
  303.  
  304. // Check whether we need to perform engine updates every 6 hours
  305. pref("browser.search.updateinterval", 6);
  306.  
  307. // Whether or not microsummary and generator updates are enabled
  308. pref("browser.microsummary.enabled", true);
  309. pref("browser.microsummary.updateGenerators", true);
  310.  
  311. // enable search suggestions by default
  312. pref("browser.search.suggest.enabled", true);
  313.  
  314. pref("browser.history.showSessions", false);
  315. pref("browser.sessionhistory.max_entries", 50);
  316. #ifndef WINCE
  317. pref("browser.history_expire_days", 180);
  318. pref("browser.history_expire_days_min", 90);
  319. #else
  320. pref("browser.history_expire_days", 90);
  321. pref("browser.history_expire_days_min", 45);
  322. #endif
  323. pref("browser.history_expire_sites", 40000);
  324.  
  325. // handle links targeting new windows
  326. // 0=default window, 1=current window/tab, 2=new window, 3=new tab in most recent window
  327. pref("browser.link.open_newwindow", 3);
  328.  
  329. // 0: no restrictions - divert everything
  330. // 1: don't divert window.open at all
  331. // 2: don't divert window.open with features
  332. pref("browser.link.open_newwindow.restriction", 2);
  333.  
  334. // Tabbed browser
  335. #ifndef WINCE
  336. pref("browser.tabs.autoHide", false);
  337. #else
  338. pref("browser.tabs.autoHide", true);
  339. #endif
  340. pref("browser.tabs.closeWindowWithLastTab", true);
  341. pref("browser.tabs.insertRelatedAfterCurrent", true);
  342. pref("browser.tabs.warnOnClose", true);
  343. pref("browser.tabs.warnOnOpen", true);
  344. pref("browser.tabs.maxOpenBeforeWarn", 15);
  345. pref("browser.tabs.loadInBackground", true);
  346. pref("browser.tabs.loadFolderAndReplace", true);
  347. pref("browser.tabs.opentabfor.middleclick", true);
  348. pref("browser.tabs.loadDivertedInBackground", false);
  349. pref("browser.tabs.loadBookmarksInBackground", false);
  350. pref("browser.tabs.tabMinWidth", 100);
  351. pref("browser.tabs.tabMaxWidth", 250);
  352. pref("browser.tabs.tabClipWidth", 140);
  353.  
  354. // Where to show tab close buttons:
  355. // 0 on active tab only
  356. // 1 on all tabs until tabClipWidth is reached, then active tab only
  357. // 2 no close buttons at all
  358. // 3 at the end of the tabstrip
  359. pref("browser.tabs.closeButtons", 1);
  360.  
  361. // When tabs opened by links in other tabs via a combination of
  362. // browser.link.open_newwindow being set to 3 and target="_blank" etc are
  363. // closed:
  364. // true return to the tab that opened this tab (its owner)
  365. // false return to the adjacent tab (old default)
  366. pref("browser.tabs.selectOwnerOnClose", true);
  367.  
  368. pref("browser.allTabs.previews", false);
  369. pref("browser.ctrlTab.previews", false);
  370. pref("browser.ctrlTab.recentlyUsedLimit", 7);
  371.  
  372. // Default bookmark sorting
  373. pref("browser.bookmarks.sort.direction", "descending");
  374. pref("browser.bookmarks.sort.resource", "rdf:http://home.netscape.com/NC-rdf#Name");
  375.  
  376. // By default, do not export HTML at shutdown.
  377. // If true, at shutdown the bookmarks in your menu and toolbar will
  378. // be exported as HTML to the bookmarks.html file.
  379. pref("browser.bookmarks.autoExportHTML", false);
  380.  
  381. // The maximum number of daily bookmark backups to
  382. // keep in {PROFILEDIR}/bookmarkbackups. Special values:
  383. // -1: unlimited
  384. // 0: no backups created (and deletes all existing backups)
  385. pref("browser.bookmarks.max_backups", 5);
  386.  
  387. // Scripts & Windows prefs
  388. pref("dom.disable_open_during_load", true);
  389. #ifdef DEBUG
  390. pref("javascript.options.showInConsole", true);
  391. pref("general.warnOnAboutConfig", false);
  392. #else
  393. pref("javascript.options.showInConsole", false);
  394. #endif
  395.  
  396. #ifdef WINCE
  397. // Set the threshold higher to avoid some slow script warnings
  398. pref("dom.max_script_run_time", 20);
  399. #endif
  400.  
  401. // Make the status bar reliably present and unaffected by pages
  402. pref("dom.disable_window_open_feature.status", true);
  403. // This is the pref to control the location bar, change this to true to
  404. // force this instead of or in addition to the status bar - this makes
  405. // the origin of popup windows more obvious to avoid spoofing. We would
  406. // rather not do it by default because it affects UE for web applications, but
  407. // without it there isn't a really good way to prevent chrome spoofing, see bug 337344
  408. pref("dom.disable_window_open_feature.location", true);
  409. pref("dom.disable_window_status_change", true);
  410. // allow JS to move and resize existing windows
  411. pref("dom.disable_window_move_resize", false);
  412. // prevent JS from monkeying with window focus, etc
  413. pref("dom.disable_window_flip", true);
  414.  
  415. // popups.policy 1=allow,2=reject
  416. pref("privacy.popups.policy", 1);
  417. pref("privacy.popups.usecustom", true);
  418. pref("privacy.popups.firstTime", true);
  419. pref("privacy.popups.showBrowserMessage", true);
  420.  
  421. pref("privacy.item.cookies", false);
  422.  
  423. pref("privacy.clearOnShutdown.history", true);
  424. pref("privacy.clearOnShutdown.formdata", true);
  425. pref("privacy.clearOnShutdown.passwords", false);
  426. pref("privacy.clearOnShutdown.downloads", true);
  427. pref("privacy.clearOnShutdown.cookies", true);
  428. pref("privacy.clearOnShutdown.cache", true);
  429. pref("privacy.clearOnShutdown.sessions", true);
  430. pref("privacy.clearOnShutdown.offlineApps", false);
  431. pref("privacy.clearOnShutdown.siteSettings", false);
  432.  
  433. pref("privacy.cpd.history", true);
  434. pref("privacy.cpd.formdata", true);
  435. pref("privacy.cpd.passwords", false);
  436. pref("privacy.cpd.downloads", true);
  437. pref("privacy.cpd.cookies", true);
  438. pref("privacy.cpd.cache", true);
  439. pref("privacy.cpd.sessions", true);
  440. pref("privacy.cpd.offlineApps", false);
  441. pref("privacy.cpd.siteSettings", false);
  442.  
  443. // What default should we use for the time span in the sanitizer:
  444. // 0 - Clear everything
  445. // 1 - Last Hour
  446. // 2 - Last 2 Hours
  447. // 3 - Last 4 Hours
  448. // 4 - Today
  449. pref("privacy.sanitize.timeSpan", 1);
  450. pref("privacy.sanitize.sanitizeOnShutdown", false);
  451.  
  452. pref("privacy.sanitize.migrateFx3Prefs", false);
  453.  
  454. pref("network.proxy.share_proxy_settings", false); // use the same proxy settings for all protocols
  455.  
  456. pref("network.cookie.cookieBehavior", 0); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
  457.  
  458. // l12n and i18n
  459. pref("intl.accept_languages", "chrome://global/locale/intl.properties");
  460. pref("intl.charsetmenu.browser.static", "chrome://global/locale/intl.properties");
  461. pref("intl.charsetmenu.browser.more1", "chrome://global/locale/intl.properties");
  462. pref("intl.charsetmenu.browser.more2", "chrome://global/locale/intl.properties");
  463. pref("intl.charsetmenu.browser.more3", "chrome://global/locale/intl.properties");
  464. pref("intl.charsetmenu.browser.more4", "chrome://global/locale/intl.properties");
  465. pref("intl.charsetmenu.browser.more5", "chrome://global/locale/intl.properties");
  466. pref("intl.charsetmenu.browser.unicode", "UTF-8, UTF-16LE, UTF-16BE, UTF-32, UTF-32LE, UTF-32BE");
  467. pref("intl.charset.detector", "chrome://global/locale/intl.properties");
  468. pref("intl.charset.default", "chrome://global-platform/locale/intl.properties");
  469. pref("font.language.group", "chrome://global/locale/intl.properties");
  470. pref("intl.menuitems.alwaysappendaccesskeys","chrome://global/locale/intl.properties");
  471. pref("intl.menuitems.insertseparatorbeforeaccesskeys","chrome://global/locale/intl.properties");
  472.  
  473. // simple gestures support
  474. pref("browser.gesture.swipe.left", "Browser:BackOrBackDuplicate");
  475. pref("browser.gesture.swipe.right", "Browser:ForwardOrForwardDuplicate");
  476. pref("browser.gesture.swipe.up", "cmd_scrollTop");
  477. pref("browser.gesture.swipe.down", "cmd_scrollBottom");
  478. #ifdef XP_MACOSX
  479. pref("browser.gesture.pinch.latched", true);
  480. pref("browser.gesture.pinch.threshold", 150);
  481. #else
  482. pref("browser.gesture.pinch.latched", false);
  483. pref("browser.gesture.pinch.threshold", 25);
  484. #endif
  485. pref("browser.gesture.pinch.out", "cmd_fullZoomEnlarge");
  486. pref("browser.gesture.pinch.in", "cmd_fullZoomReduce");
  487. pref("browser.gesture.pinch.out.shift", "cmd_fullZoomReset");
  488. pref("browser.gesture.pinch.in.shift", "cmd_fullZoomReset");
  489. pref("browser.gesture.twist.latched", false);
  490. pref("browser.gesture.twist.threshold", 25);
  491. pref("browser.gesture.twist.right", "");
  492. pref("browser.gesture.twist.left", "");
  493. pref("browser.gesture.tap", "cmd_fullZoomReset");
  494.  
  495. // 0=lines, 1=pages, 2=history , 3=text size
  496. #ifdef XP_MACOSX
  497. // On OS X, if the wheel has one axis only, shift+wheel comes through as a
  498. // horizontal scroll event. Thus, we can't assign anything other than normal
  499. // scrolling to shift+wheel.
  500. pref("mousewheel.withshiftkey.action",0);
  501. pref("mousewheel.withshiftkey.sysnumlines",true);
  502. pref("mousewheel.withshiftkey.numlines",1);
  503. pref("mousewheel.withaltkey.action",2);
  504. pref("mousewheel.withaltkey.sysnumlines",false);
  505. pref("mousewheel.withaltkey.numlines",1);
  506. pref("mousewheel.withmetakey.action",0);
  507. pref("mousewheel.withmetakey.sysnumlines",false);
  508. pref("mousewheel.withmetakey.numlines",1);
  509. #else
  510. pref("mousewheel.withshiftkey.action",2);
  511. pref("mousewheel.withshiftkey.sysnumlines",false);
  512. pref("mousewheel.withshiftkey.numlines",1);
  513. pref("mousewheel.withaltkey.action",0);
  514. pref("mousewheel.withaltkey.sysnumlines",false);
  515. pref("mousewheel.withaltkey.numlines",1);
  516. pref("mousewheel.withmetakey.action",0);
  517. pref("mousewheel.withmetakey.sysnumlines",true);
  518. pref("mousewheel.withmetakey.numlines",1);
  519. #endif
  520. pref("mousewheel.withcontrolkey.action",3);
  521. pref("mousewheel.withcontrolkey.sysnumlines",false);
  522. pref("mousewheel.withcontrolkey.numlines",1);
  523.  
  524. pref("profile.allow_automigration", false); // setting to false bypasses automigration in the profile code
  525.  
  526. // Customizable toolbar stuff
  527. pref("custtoolbar.personal_toolbar_folder", "");
  528.  
  529. // pref to control the alert notification
  530. pref("alerts.slideIncrement", 1);
  531. pref("alerts.slideIncrementTime", 10);
  532. pref("alerts.totalOpenTime", 4000);
  533.  
  534. pref("browser.xul.error_pages.enabled", true);
  535. pref("browser.xul.error_pages.expert_bad_cert", false);
  536.  
  537. // We want to make sure mail URLs are handled externally...
  538. pref("network.protocol-handler.external.mailto", true); // for mail
  539. pref("network.protocol-handler.external.news", true); // for news
  540. pref("network.protocol-handler.external.snews", true); // for secure news
  541. pref("network.protocol-handler.external.nntp", true); // also news
  542. // ...without warning dialogs
  543. pref("network.protocol-handler.warn-external.mailto", false);
  544. pref("network.protocol-handler.warn-external.news", false);
  545. pref("network.protocol-handler.warn-external.snews", false);
  546. pref("network.protocol-handler.warn-external.nntp", false);
  547.  
  548. // By default, all protocol handlers are exposed. This means that
  549. // the browser will respond to openURL commands for all URL types.
  550. // It will also try to open link clicks inside the browser before
  551. // failing over to the system handlers.
  552. pref("network.protocol-handler.expose-all", true);
  553. pref("network.protocol-handler.expose.mailto", false);
  554. pref("network.protocol-handler.expose.news", false);
  555. pref("network.protocol-handler.expose.snews", false);
  556. pref("network.protocol-handler.expose.nntp", false);
  557.  
  558. // Default security warning dialogs to show once.
  559. pref("security.warn_entering_secure.show_once", false);
  560. pref("security.warn_entering_weak.show_once", true);
  561. pref("security.warn_leaving_secure.show_once", false);
  562. pref("security.warn_viewing_mixed.show_once", true);
  563. pref("security.warn_submit_insecure.show_once", false);
  564.  
  565. pref("accessibility.typeaheadfind", false);
  566. pref("accessibility.typeaheadfind.timeout", 5000);
  567. pref("accessibility.typeaheadfind.linksonly", false);
  568. pref("accessibility.typeaheadfind.flashBar", 1);
  569.  
  570. // Disable the default plugin for firefox
  571. pref("plugin.default_plugin_disabled", true);
  572.  
  573. // plugin finder service url
  574. pref("pfs.datasource.url", "http://gnuzilla.gnu.org/plugins/PluginFinderService.php?mimetype=%PLUGIN_MIMETYPE%&appID=%APP_ID%&appVersion=%APP_VERSION%&clientOS=%CLIENT_OS%&chromeLocale=%CHROME_LOCALE%&appRelease=%APP_RELEASE%");
  575.  
  576. // by default we show an infobar message when pages require plugins the user has not installed, or are outdated
  577. pref("plugins.hide_infobar_for_missing_plugin", false);
  578. pref("plugins.hide_infobar_for_outdated_plugin", false);
  579.  
  580. pref("plugins.update.url", "https://www.mozilla.com/%LOCALE%/plugincheck/");
  581. pref("plugins.update.notifyUser", false);
  582.  
  583. #ifdef XP_WIN
  584. pref("browser.preferences.instantApply", false);
  585. #else
  586. pref("browser.preferences.instantApply", true);
  587. #endif
  588. #ifdef XP_MACOSX
  589. pref("browser.preferences.animateFadeIn", true);
  590. #else
  591. pref("browser.preferences.animateFadeIn", false);
  592. #endif
  593.  
  594. pref("browser.download.show_plugins_in_list", true);
  595. pref("browser.download.hide_plugins_without_extensions", true);
  596.  
  597. // Backspace and Shift+Backspace behavior
  598. // 0 goes Back/Forward
  599. // 1 act like PgUp/PgDown
  600. // 2 and other values, nothing
  601. #ifdef UNIX_BUT_NOT_MAC
  602. pref("browser.backspace_action", 2);
  603. #else
  604. pref("browser.backspace_action", 0);
  605. #endif
  606.  
  607. // this will automatically enable inline spellchecking (if it is available) for
  608. // editable elements in HTML
  609. // 0 = spellcheck nothing
  610. // 1 = check multi-line controls [default]
  611. // 2 = check multi/single line controls
  612. pref("layout.spellcheckDefault", 1);
  613.  
  614. pref("browser.send_pings", false);
  615.  
  616. /* initial web feed readers list */
  617. pref("browser.contentHandlers.types.0.title", "chrome://browser-region/locale/region.properties");
  618. pref("browser.contentHandlers.types.0.uri", "chrome://browser-region/locale/region.properties");
  619. pref("browser.contentHandlers.types.0.type", "application/vnd.mozilla.maybe.feed");
  620. pref("browser.contentHandlers.types.1.title", "chrome://browser-region/locale/region.properties");
  621. pref("browser.contentHandlers.types.1.uri", "chrome://browser-region/locale/region.properties");
  622. pref("browser.contentHandlers.types.1.type", "application/vnd.mozilla.maybe.feed");
  623. pref("browser.contentHandlers.types.2.title", "chrome://browser-region/locale/region.properties");
  624. pref("browser.contentHandlers.types.2.uri", "chrome://browser-region/locale/region.properties");
  625. pref("browser.contentHandlers.types.2.type", "application/vnd.mozilla.maybe.feed");
  626. pref("browser.contentHandlers.types.3.title", "chrome://browser-region/locale/region.properties");
  627. pref("browser.contentHandlers.types.3.uri", "chrome://browser-region/locale/region.properties");
  628. pref("browser.contentHandlers.types.3.type", "application/vnd.mozilla.maybe.feed");
  629. pref("browser.contentHandlers.types.4.title", "chrome://browser-region/locale/region.properties");
  630. pref("browser.contentHandlers.types.4.uri", "chrome://browser-region/locale/region.properties");
  631. pref("browser.contentHandlers.types.4.type", "application/vnd.mozilla.maybe.feed");
  632. pref("browser.contentHandlers.types.5.title", "chrome://browser-region/locale/region.properties");
  633. pref("browser.contentHandlers.types.5.uri", "chrome://browser-region/locale/region.properties");
  634. pref("browser.contentHandlers.types.5.type", "application/vnd.mozilla.maybe.feed");
  635.  
  636. pref("browser.feeds.handler", "ask");
  637. pref("browser.videoFeeds.handler", "ask");
  638. pref("browser.audioFeeds.handler", "ask");
  639.  
  640. // At startup, if the handler service notices that the version number in the
  641. // region.properties file is newer than the version number in the handler
  642. // service datastore, it will add any new handlers it finds in the prefs (as
  643. // seeded by this file) to its datastore.
  644. pref("gecko.handlerService.defaultHandlersVersion", "chrome://browser-region/locale/region.properties");
  645.  
  646. // The default set of web-based protocol handlers shown in the application
  647. // selection dialog for webcal: ; I've arbitrarily picked 4 default handlers
  648. // per protocol, but if some locale wants more than that (or defaults for some
  649. // protocol not currently listed here), we should go ahead and add those.
  650.  
  651. // webcal
  652. pref("gecko.handlerService.schemes.webcal.0.name", "chrome://browser-region/locale/region.properties");
  653. pref("gecko.handlerService.schemes.webcal.0.uriTemplate", "chrome://browser-region/locale/region.properties");
  654. pref("gecko.handlerService.schemes.webcal.1.name", "chrome://browser-region/locale/region.properties");
  655. pref("gecko.handlerService.schemes.webcal.1.uriTemplate", "chrome://browser-region/locale/region.properties");
  656. pref("gecko.handlerService.schemes.webcal.2.name", "chrome://browser-region/locale/region.properties");
  657. pref("gecko.handlerService.schemes.webcal.2.uriTemplate", "chrome://browser-region/locale/region.properties");
  658. pref("gecko.handlerService.schemes.webcal.3.name", "chrome://browser-region/locale/region.properties");
  659. pref("gecko.handlerService.schemes.webcal.3.uriTemplate", "chrome://browser-region/locale/region.properties");
  660.  
  661. // mailto
  662. pref("gecko.handlerService.schemes.mailto.0.name", "chrome://browser-region/locale/region.properties");
  663. pref("gecko.handlerService.schemes.mailto.0.uriTemplate", "chrome://browser-region/locale/region.properties");
  664. pref("gecko.handlerService.schemes.mailto.1.name", "chrome://browser-region/locale/region.properties");
  665. pref("gecko.handlerService.schemes.mailto.1.uriTemplate", "chrome://browser-region/locale/region.properties");
  666. pref("gecko.handlerService.schemes.mailto.2.name", "chrome://browser-region/locale/region.properties");
  667. pref("gecko.handlerService.schemes.mailto.2.uriTemplate", "chrome://browser-region/locale/region.properties");
  668. pref("gecko.handlerService.schemes.mailto.3.name", "chrome://browser-region/locale/region.properties");
  669. pref("gecko.handlerService.schemes.mailto.3.uriTemplate", "chrome://browser-region/locale/region.properties");
  670.  
  671. // irc
  672. pref("gecko.handlerService.schemes.irc.0.name", "chrome://browser-region/locale/region.properties");
  673. pref("gecko.handlerService.schemes.irc.0.uriTemplate", "chrome://browser-region/locale/region.properties");
  674. pref("gecko.handlerService.schemes.irc.1.name", "chrome://browser-region/locale/region.properties");
  675. pref("gecko.handlerService.schemes.irc.1.uriTemplate", "chrome://browser-region/locale/region.properties");
  676. pref("gecko.handlerService.schemes.irc.2.name", "chrome://browser-region/locale/region.properties");
  677. pref("gecko.handlerService.schemes.irc.2.uriTemplate", "chrome://browser-region/locale/region.properties");
  678. pref("gecko.handlerService.schemes.irc.3.name", "chrome://browser-region/locale/region.properties");
  679. pref("gecko.handlerService.schemes.irc.3.uriTemplate", "chrome://browser-region/locale/region.properties");
  680.  
  681. // ircs
  682. pref("gecko.handlerService.schemes.ircs.0.name", "chrome://browser-region/locale/region.properties");
  683. pref("gecko.handlerService.schemes.ircs.0.uriTemplate", "chrome://browser-region/locale/region.properties");
  684. pref("gecko.handlerService.schemes.ircs.1.name", "chrome://browser-region/locale/region.properties");
  685. pref("gecko.handlerService.schemes.ircs.1.uriTemplate", "chrome://browser-region/locale/region.properties");
  686. pref("gecko.handlerService.schemes.ircs.2.name", "chrome://browser-region/locale/region.properties");
  687. pref("gecko.handlerService.schemes.ircs.2.uriTemplate", "chrome://browser-region/locale/region.properties");
  688. pref("gecko.handlerService.schemes.ircs.3.name", "chrome://browser-region/locale/region.properties");
  689. pref("gecko.handlerService.schemes.ircs.3.uriTemplate", "chrome://browser-region/locale/region.properties");
  690.  
  691. // By default, we don't want protocol/content handlers to be registered from a different host, see bug 402287
  692. pref("gecko.handlerService.allowRegisterFromDifferentHost", false);
  693.  
  694. #ifdef MOZ_SAFE_BROWSING
  695. // Safe browsing does nothing unless this pref is set
  696. pref("browser.safebrowsing.enabled", true);
  697.  
  698. // Prevent loading of pages identified as malware
  699. pref("browser.safebrowsing.malware.enabled", true);
  700.  
  701. // Non-enhanced mode (local url lists) URL list to check for updates
  702. pref("browser.safebrowsing.provider.0.updateURL", "http://safebrowsing.clients.google.com/safebrowsing/downloads?client={moz:client}&appver={moz:version}&pver=2.2");
  703.  
  704. pref("browser.safebrowsing.dataProvider", 0);
  705.  
  706. // Does the provider name need to be localizable?
  707. pref("browser.safebrowsing.provider.0.name", "Google");
  708. pref("browser.safebrowsing.provider.0.lookupURL", "http://safebrowsing.clients.google.com/safebrowsing/lookup?sourceid=firefox-antiphish&features=TrustRank&client={moz:client}&appver={moz:version}&");
  709. pref("browser.safebrowsing.provider.0.keyURL", "https://sb-ssl.google.com/safebrowsing/newkey?client={moz:client}&appver={moz:version}&pver=2.2");
  710. pref("browser.safebrowsing.provider.0.reportURL", "http://safebrowsing.clients.google.com/safebrowsing/report?");
  711. pref("browser.safebrowsing.provider.0.gethashURL", "http://safebrowsing.clients.google.com/safebrowsing/gethash?client={moz:client}&appver={moz:version}&pver=2.2");
  712.  
  713. // HTML report pages
  714. pref("browser.safebrowsing.provider.0.reportGenericURL", "http://{moz:locale}.phish-generic.mozilla.com/?hl={moz:locale}");
  715. pref("browser.safebrowsing.provider.0.reportErrorURL", "http://{moz:locale}.phish-error.mozilla.com/?hl={moz:locale}");
  716. pref("browser.safebrowsing.provider.0.reportPhishURL", "http://{moz:locale}.phish-report.mozilla.com/?hl={moz:locale}");
  717. pref("browser.safebrowsing.provider.0.reportMalwareURL", "http://{moz:locale}.malware-report.mozilla.com/?hl={moz:locale}");
  718. pref("browser.safebrowsing.provider.0.reportMalwareErrorURL", "http://{moz:locale}.malware-error.mozilla.com/?hl={moz:locale}");
  719.  
  720. // FAQ URLs
  721. pref("browser.safebrowsing.warning.infoURL", "http://www.mozilla.com/%LOCALE%/%APP%/phishing-protection/");
  722. pref("browser.geolocation.warning.infoURL", "http://www.mozilla.com/%LOCALE%/%APP%/geolocation/");
  723.  
  724. // Name of the about: page contributed by safebrowsing to handle display of error
  725. // pages on phishing/malware hits. (bug 399233)
  726. pref("urlclassifier.alternate_error_page", "blocked");
  727.  
  728. // The number of random entries to send with a gethash request.
  729. pref("urlclassifier.gethashnoise", 4);
  730.  
  731. // The list of tables that use the gethash request to confirm partial results.
  732. pref("urlclassifier.gethashtables", "goog-phish-shavar,goog-malware-shavar");
  733.  
  734. // If an urlclassifier table has not been updated in this number of seconds,
  735. // a gethash request will be forced to check that the result is still in
  736. // the database.
  737. pref("urlclassifier.confirm-age", 2700);
  738.  
  739. #ifdef MOZ_WIDGET_GTK2
  740. #define RESTRICT_CACHEMAX
  741. #endif
  742. #ifdef XP_OS2
  743. #define RESTRICT_CACHEMAX
  744. #endif
  745.  
  746. // Maximum size of the sqlite3 cache during an update, in bytes
  747. #ifdef RESTRICT_CACHEMAX
  748. pref("urlclassifier.updatecachemax", 104857600);
  749. #else
  750. pref("urlclassifier.updatecachemax", -1);
  751. #endif
  752.  
  753. // URL for checking the reason for a malware warning.
  754. pref("browser.safebrowsing.malware.reportURL", "http://safebrowsing.clients.google.com/safebrowsing/diagnostic?client=%NAME%&hl=%LOCALE%&site=");
  755.  
  756. #endif
  757.  
  758. pref("browser.EULA.version", 3);
  759. pref("browser.rights.version", 3);
  760. pref("browser.rights.3.shown", false);
  761.  
  762. #ifdef DEBUG
  763. // Don't show the about:rights notification in debug builds.
  764. pref("browser.rights.override", true);
  765. #endif
  766.  
  767. #ifdef WINCE
  768. pref("browser.sessionstore.resume_from_crash", false);
  769. #else
  770. pref("browser.sessionstore.resume_from_crash", true);
  771. #endif
  772. pref("browser.sessionstore.resume_session_once", false);
  773.  
  774. // minimal interval between two save operations in milliseconds
  775. pref("browser.sessionstore.interval", 10000);
  776. // maximum amount of POSTDATA to be saved in bytes per history entry (-1 = all of it)
  777. // (NB: POSTDATA will be saved either entirely or not at all)
  778. pref("browser.sessionstore.postdata", 0);
  779. // on which sites to save text data, POSTDATA and cookies
  780. // 0 = everywhere, 1 = unencrypted sites, 2 = nowhere
  781. pref("browser.sessionstore.privacy_level", 1);
  782. // how many tabs can be reopened (per window)
  783. pref("browser.sessionstore.max_tabs_undo", 10);
  784. // how many windows can be reopened (per session) - on non-OS X platforms this
  785. // pref may be ignored when dealing with pop-up windows to ensure proper startup
  786. pref("browser.sessionstore.max_windows_undo", 3);
  787. // number of crashes that can occur before the about:sessionrestore page is displayed
  788. // (this pref has no effect if more than 6 hours have passed since the last crash)
  789. pref("browser.sessionstore.max_resumed_crashes", 1);
  790.  
  791. // allow META refresh by default
  792. pref("accessibility.blockautorefresh", false);
  793.  
  794. // the (maximum) number of the recent visits to sample
  795. // when calculating frecency
  796. pref("places.frecency.numVisits", 10);
  797.  
  798. // buckets (in days) for frecency calculation
  799. pref("places.frecency.firstBucketCutoff", 4);
  800. pref("places.frecency.secondBucketCutoff", 14);
  801. pref("places.frecency.thirdBucketCutoff", 31);
  802. pref("places.frecency.fourthBucketCutoff", 90);
  803.  
  804. // weights for buckets for frecency calculations
  805. pref("places.frecency.firstBucketWeight", 100);
  806. pref("places.frecency.secondBucketWeight", 70);
  807. pref("places.frecency.thirdBucketWeight", 50);
  808. pref("places.frecency.fourthBucketWeight", 30);
  809. pref("places.frecency.defaultBucketWeight", 10);
  810.  
  811. // bonus (in percent) for visit transition types for frecency calculations
  812. pref("places.frecency.embedVisitBonus", 0);
  813. pref("places.frecency.linkVisitBonus", 100);
  814. pref("places.frecency.typedVisitBonus", 2000);
  815. pref("places.frecency.bookmarkVisitBonus", 75);
  816. pref("places.frecency.downloadVisitBonus", 0);
  817. pref("places.frecency.permRedirectVisitBonus", 0);
  818. pref("places.frecency.tempRedirectVisitBonus", 0);
  819. pref("places.frecency.defaultVisitBonus", 0);
  820.  
  821. // bonus (in percent) for place types for frecency calculations
  822. pref("places.frecency.unvisitedBookmarkBonus", 140);
  823. pref("places.frecency.unvisitedTypedBonus", 200);
  824.  
  825. // Controls behavior of the "Add Exception" dialog launched from SSL error pages
  826. // 0 - don't pre-populate anything
  827. // 1 - pre-populate site URL, but don't fetch certificate
  828. // 2 - pre-populate site URL and pre-fetch certificate
  829. pref("browser.ssl_override_behavior", 2);
  830.  
  831. // Controls the display of domain in the identity box for SSL connections.
  832. // 0 - do not show domain
  833. // 1 - show effectiveTLD + 1 (e.g. mozilla.org)
  834. // 2 - show full domain (e.g. bugzilla.mozilla.org)
  835. pref("browser.identity.ssl_domain_display", 1);
  836.  
  837. // True if the user should be prompted when a web application supports
  838. // offline apps.
  839. pref("browser.offline-apps.notify", true);
  840.  
  841. // if true, use full page zoom instead of text zoom
  842. pref("browser.zoom.full", true);
  843.  
  844. // Whether or not to save and restore zoom levels on a per-site basis.
  845. pref("browser.zoom.siteSpecific", true);
  846.  
  847. // Whether or not to update background tabs to the current zoom level.
  848. pref("browser.zoom.updateBackgroundTabs", true);
  849.  
  850. // replace newlines with spaces when pasting into <input type="text"> fields
  851. pref("editor.singleLine.pasteNewlines", 2);
  852.  
  853. // The breakpad report server to link to in about:crashes
  854. pref("breakpad.reportURL", "http://crash-stats.mozilla.com/report/index/");
  855.  
  856. // base URL for web-based support pages
  857. pref("app.support.baseURL", "http://support.mozilla.com/1/%APP%/%VERSION%/%OS%/%LOCALE%/");
  858.  
  859. // Name of alternate about: page for certificate errors (when undefined, defaults to about:neterror)
  860. pref("security.alternate_certificate_error_page", "certerror");
  861.  
  862. // Whether to start the private browsing mode at application startup
  863. pref("browser.privatebrowsing.autostart", false);
  864.  
  865. // Whether we should skip prompting before starting the private browsing mode
  866. pref("browser.privatebrowsing.dont_prompt_on_enter", false);
  867.  
  868. // Don't try to alter this pref, it'll be reset the next time you use the
  869. // bookmarking dialog
  870. pref("browser.bookmarks.editDialog.firstEditField", "namePicker");
  871.  
  872. // base url for the wifi geolocation network provider
  873. pref("geo.wifi.uri", "https://www.google.com/loc/json");
  874.  
  875. #ifdef WINCE
  876.  
  877. // tweak awesomebar -- increase the delay until a search happens.
  878. pref("browser.urlbar.delay", 250);
  879.  
  880. // disable safe browsing, due to perf hit
  881. pref("browser.safebrowsing.enabled", false);
  882. pref("browser.safebrowsing.malware.enabled", false);
  883.  
  884. // don't check for default browser
  885. pref("browser.shell.checkDefaultBrowser", false);
  886.  
  887. // disable bfcache for memory
  888. pref("browser.sessionhistory.max_total_viewers", 0);
  889.  
  890. // tweak default content sink prefs
  891. pref("content.sink.interactive_deflect_count", 10); /* default 0 */
  892. pref("content.sink.perf_deflect_count", 50); /* default 200 */
  893. pref("content.sink.interactive_parse_time", 5000); /* default 3000 */
  894. pref("content.sink.perf_parse_time", 150000); /* default 360000 */
  895. pref("content.sink.pending_event_mode", 0); /* default 1 */
  896. pref("content.sink.event_probe_rate", 1); /* default 1 */
  897. pref("content.sink.interactive_time", 750000); /* default 750000 */
  898. pref("content.sink.initial_perf_time", 500000); /* default 2000000 */
  899. pref("content.sink.enable_perf_mode", 0); /* default 0; 0 == switch, 1 == stay interactive, 2 == stay perf */
  900.  
  901. // Write sessionstore.js less often
  902. pref("browser.sessionstore.interval", 60000);
  903.  
  904. #endif /* WINCE */
  905.  
  906. // Whether to use a panel that looks like an OS X sheet for customization
  907. #ifdef XP_MACOSX
  908. pref("toolbar.customization.usesheet", true);
  909. #else
  910. pref("toolbar.customization.usesheet", false);
  911. #endif
  912.  
  913. #ifdef XP_WIN
  914. #ifndef WINCE
  915. pref("browser.taskbar.previews.enable", false);
  916. pref("browser.taskbar.previews.max", 20);
  917. pref("browser.taskbar.previews.cachetime", 20);
  918. #endif
  919. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement