michael@0: # Default Preferences michael@0: # Tor Browser Bundle michael@0: # Do not edit this file. michael@0: michael@0: // Please maintain unit tests at ./tbb-tests/browser_tor_TB4.js michael@0: michael@0: // Disable browser automatic updates and associated homepage notifications michael@0: pref("app.update.auto", false); michael@0: pref("browser.search.update", false); michael@0: pref("browser.rights.3.shown", true); michael@0: pref("browser.startup.homepage_override.mstone", "ignore"); michael@0: pref("startup.homepage_welcome_url", ""); michael@0: pref("startup.homepage_override_url", ""); michael@0: michael@0: // Disable "Slow startup" warnings and associated disk history michael@0: // (bug #13346) michael@0: pref("browser.slowStartup.notificationDisabled", true); michael@0: pref("browser.slowStartup.maxSamples", 0); michael@0: pref("browser.slowStartup.samples", 0); michael@0: michael@0: // Disk activity: Disable Browsing History Storage michael@0: pref("browser.privatebrowsing.autostart", true); michael@0: pref("browser.cache.disk.enable", false); michael@0: pref("browser.cache.offline.enable", false); michael@0: pref("dom.indexedDB.enabled", false); michael@0: pref("permissions.memory_only", true); michael@0: pref("network.cookie.lifetimePolicy", 2); michael@0: pref("browser.download.manager.retention", 1); michael@0: pref("security.nocertdb", true); michael@0: michael@0: // Disk activity: TBB Directory Isolation michael@0: pref("browser.download.useDownloadDir", false); michael@0: pref("browser.shell.checkDefaultBrowser", false); michael@0: pref("browser.download.manager.addToRecentDocs", false); michael@0: michael@0: // Misc privacy: Disk michael@0: pref("signon.rememberSignons", false); michael@0: pref("browser.formfill.enable", false); michael@0: pref("signon.autofillForms", false); michael@0: pref("browser.sessionstore.privacy_level", 2); michael@0: pref("media.cache_size", 0); michael@0: michael@0: // Misc privacy: Remote michael@0: pref("browser.send_pings", false); michael@0: pref("geo.enabled", false); michael@0: pref("geo.wifi.uri", ""); michael@0: pref("browser.search.suggest.enabled", false); michael@0: pref("browser.safebrowsing.enabled", false); michael@0: pref("browser.safebrowsing.malware.enabled", false); michael@0: pref("browser.download.manager.scanWhenDone", false); // prevents AV remote reporting of downloads michael@0: pref("extensions.ui.lastCategory", "addons://list/extension"); michael@0: pref("datareporting.healthreport.service.enabled", false); // Yes, all three of these must be set michael@0: pref("datareporting.healthreport.uploadEnabled", false); michael@0: pref("datareporting.policy.dataSubmissionEnabled", false); michael@0: pref("security.mixed_content.block_active_content", false); // Disable until https://bugzilla.mozilla.org/show_bug.cgi?id=878890 is patched michael@0: pref("browser.syncPromoViewsLeftMap", "{\"addons\":0, \"passwords\":0, \"bookmarks\":0}"); // Don't promote sync michael@0: pref("services.sync.engine.prefs", false); // Never sync prefs, addons, or tabs with other browsers michael@0: pref("services.sync.engine.addons", false); michael@0: pref("services.sync.engine.tabs", false); michael@0: pref("extensions.getAddons.cache.enabled", false); // https://blog.mozilla.org/addons/how-to-opt-out-of-add-on-metadata-updates/ michael@0: michael@0: // Fingerprinting michael@0: pref("webgl.min_capability_mode", true); michael@0: pref("webgl.disable-extensions", true); michael@0: pref("dom.battery.enabled", false); // fingerprinting due to differing OS implementations michael@0: pref("dom.network.enabled",false); // fingerprinting due to differing OS implementations michael@0: pref("browser.display.max_font_attempts",10); michael@0: pref("browser.display.max_font_count",10); michael@0: pref("gfx.downloadable_fonts.fallback_delay", -1); michael@0: pref("general.appname.override", "Netscape"); michael@0: pref("general.appversion.override", "5.0 (Windows)"); michael@0: pref("general.oscpu.override", "Windows NT 6.1"); michael@0: pref("general.platform.override", "Win32"); michael@0: pref("general.useragent.override", "Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Firefox/31.0"); michael@0: pref("general.productSub.override", "20100101"); michael@0: pref("general.buildID.override", "20100101"); michael@0: pref("browser.startup.homepage_override.buildID", "20100101"); michael@0: pref("general.useragent.vendor", ""); michael@0: pref("general.useragent.vendorSub", ""); michael@0: pref("dom.enable_performance", false); michael@0: pref("plugin.expose_full_path", false); michael@0: pref("browser.zoom.siteSpecific", false); michael@0: pref("intl.charset.default", "windows-1252"); michael@0: pref("browser.link.open_newwindow.restriction", 0); // Bug 9881: Open popups in new tabs (to avoid fullscreen popups) michael@0: pref("dom.gamepad.enabled", false); // bugs.torproject.org/13023 michael@0: // pref("intl.accept_languages", "en-us, en"); // Set by Torbutton michael@0: // pref("intl.accept_charsets", "iso-8859-1,*,utf-8"); // Set by Torbutton michael@0: // pref("intl.charsetmenu.browser.cache", "UTF-8"); // Set by Torbutton michael@0: michael@0: // Third party stuff michael@0: pref("network.cookie.cookieBehavior", 1); michael@0: pref("security.enable_tls_session_tickets", false); michael@0: pref("network.http.spdy.enabled", false); // Stores state and may have keepalive issues (both fixable) michael@0: pref("network.http.spdy.enabled.v2", false); // Seems redundant, but just in case michael@0: pref("network.http.spdy.enabled.v3", false); // Seems redundant, but just in case michael@0: pref("privacy.thirdparty.isolate", 2); // Always enforce third party isolation michael@0: michael@0: // Proxy and proxy security michael@0: pref("network.proxy.socks", "127.0.0.1"); michael@0: pref("network.proxy.socks_port", 9150); michael@0: pref("network.proxy.socks_remote_dns", true); michael@0: pref("network.proxy.no_proxies_on", ""); // For fingerprinting and local service vulns (#10419) michael@0: pref("network.proxy.type", 1); michael@0: pref("network.security.ports.banned", "9050,9051,9150,9151"); michael@0: pref("network.dns.disablePrefetch", true); michael@0: pref("network.protocol-handler.external-default", false); michael@0: pref("network.protocol-handler.external.mailto", false); michael@0: pref("network.protocol-handler.external.news", false); michael@0: pref("network.protocol-handler.external.nntp", false); michael@0: pref("network.protocol-handler.external.snews", false); michael@0: pref("network.protocol-handler.warn-external.mailto", true); michael@0: pref("network.protocol-handler.warn-external.news", true); michael@0: pref("network.protocol-handler.warn-external.nntp", true); michael@0: pref("network.protocol-handler.warn-external.snews", true); michael@0: pref("plugins.click_to_play", true); michael@0: pref("plugin.state.flash", 1); michael@0: pref("plugins.hide_infobar_for_missing_plugin", true); michael@0: pref("media.peerconnection.enabled", false); // Disable WebRTC interfaces michael@0: michael@0: // Network and performance michael@0: pref("network.http.pipelining", true); michael@0: pref("network.http.pipelining.aggressive", true); michael@0: pref("network.http.pipelining.maxrequests", 12); michael@0: pref("network.http.pipelining.ssl", true); michael@0: pref("network.http.proxy.pipelining", true); michael@0: pref("security.ssl.enable_false_start", true); michael@0: pref("network.http.keep-alive.timeout", 20); michael@0: pref("network.http.connection-retry-timeout", 0); michael@0: pref("network.http.max-persistent-connections-per-proxy", 256); michael@0: pref("network.http.pipelining.reschedule-timeout", 15000); michael@0: pref("network.http.pipelining.read-timeout", 60000); michael@0: // Hacked pref: Now means "Attempt to pipeline at least this many requests together" michael@0: pref("network.http.pipelining.max-optimistic-requests", 3); michael@0: pref("security.ssl.disable_session_identifiers", true); michael@0: michael@0: // Extension support michael@0: pref("extensions.autoDisableScopes", 0); michael@0: pref("extensions.bootstrappedAddons", "{}"); michael@0: pref("extensions.checkCompatibility.4.*", false); michael@0: pref("extensions.databaseSchema", 3); michael@0: pref("extensions.enabledAddons", "https-everywhere%40eff.org:3.1.4,%7B73a6fe31-595d-460b-a920-fcc0f8843232%7D:2.6.6.1,torbutton%40torproject.org:1.5.2,ubufox%40ubuntu.com:2.6,tor-launcher%40torproject.org:0.1.1pre-alpha,%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D:17.0.5"); michael@0: pref("extensions.enabledItems", "langpack-en-US@firefox.mozilla.org:,{73a6fe31-595d-460b-a920-fcc0f8843232}:1.9.9.57,{e0204bd5-9d31-402b-a99d-a6aa8ffebdca}:1.2.4,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.5.8"); michael@0: pref("extensions.enabledScopes", 1); michael@0: pref("extensions.pendingOperations", false); michael@0: pref("xpinstall.whitelist.add", ""); michael@0: pref("xpinstall.whitelist.add.36", ""); michael@0: michael@0: // Toolbar layout michael@0: pref("browser.uiCustomization.state", "{\"placements\":{\"PanelUI-contents\":[\"edit-controls\",\"zoom-controls\",\"new-window-button\",\"save-page-button\",\"print-button\",\"bookmarks-menu-button\",\"history-panelmenu\",\"find-button\",\"preferences-button\",\"add-ons-button\",\"developer-button\",\"https-everywhere-button\",\"downloads-button\"],\"addon-bar\":[\"addonbar-closebutton\",\"status-bar\"],\"PersonalToolbar\":[\"personal-bookmarks\"],\"nav-bar\":[\"noscript-tbb\",\"torbutton-button\",\"urlbar-container\",\"search-container\",\"webrtc-status-button\",\"social-share-button\"],\"TabsToolbar\":[\"tabbrowser-tabs\",\"new-tab-button\",\"alltabs-button\"],\"toolbar-menubar\":[\"menubar-items\"]},\"seen\":[],\"dirtyAreaCache\":[\"PersonalToolbar\",\"nav-bar\",\"TabsToolbar\",\"toolbar-menubar\",\"PanelUI-contents\",\"addon-bar\"],\"newElementCount\":0}"); michael@0: michael@0: // Omnibox settings michael@0: pref("keyword.URL", "https://startpage.com/do/search?q="); michael@0: michael@0: // Hacks/workarounds: Direct2D seems to crash w/ lots of video cards w/ MinGW? michael@0: // Nvida cards also experience crashes without the second pref set to disabled michael@0: pref("gfx.direct2d.disabled", true); michael@0: pref("layers.acceleration.disabled", true); michael@0: michael@0: // Security enhancements michael@0: // https://trac.torproject.org/projects/tor/ticket/9387#comment:17 michael@0: pref("javascript.options.ion.content", false); michael@0: pref("javascript.options.baselinejit.content", false); michael@0: pref("javascript.options.asmjs", false); michael@0: pref("javascript.options.typeinference", false); michael@0: michael@0: // Audio_data is deprecated in future releases, but still present michael@0: // in FF24. This is a dangerous combination (spotted by iSec) michael@0: pref("media.audio_data.enabled", false); michael@0: michael@0: // Enable TLS 1.1 and 1.2: michael@0: // https://trac.torproject.org/projects/tor/ticket/11253 michael@0: pref("security.tls.version.max", 3); michael@0: michael@0: #ifdef TOR_BROWSER_VERSION michael@0: #expand pref("torbrowser.version", __TOR_BROWSER_VERSION__); michael@0: #endif