[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torbrowser/maint-2.4] Reorganize and trim our Firefox preferences.



commit 89d453737220e0103a07838249495721a296b749
Author: Mike Perry <mikeperry-git@xxxxxxxxxx>
Date:   Fri Feb 8 18:36:42 2013 -0800

    Reorganize and trim our Firefox preferences.
    
    There was a lot of redundancy and ancient junk in here..
---
 build-scripts/config/pound_tor.js |  158 ++++++++++++++++++-------------------
 1 files changed, 78 insertions(+), 80 deletions(-)

diff --git a/build-scripts/config/pound_tor.js b/build-scripts/config/pound_tor.js
index 78108f8..38eb3f2 100644
--- a/build-scripts/config/pound_tor.js
+++ b/build-scripts/config/pound_tor.js
@@ -2,52 +2,47 @@
 # Tor Browser Bundle
 # Do not edit this file.
 
+// Disable browser auto updaters
 pref("app.update.auto", false);
 pref("app.update.enabled", false);
-pref("browser.bookmarks.livemark_refresh_seconds", 31536000);
-pref("browser.cache.disk.capacity", 0);
+pref("browser.search.update", false);
+pref("browser.rights.3.shown", true);
+
+// Disk activity: Disable Browsing History Storage
+pref("browser.privatebrowsing.autostart", true);
 pref("browser.cache.disk.enable", false);
-pref("browser.cache.disk.smart_size.enabled", false);
-pref("browser.cache.disk.smart_size.first_run", false);
 pref("browser.cache.offline.enable", false);
-pref("browser.chrome.favicons", false);
-pref("browser.chrome.image_icons.max_size", 0);
-pref("browser.chrome.site_icons", false);
+pref("dom.indexedDB.enabled", false);
+pref("permissions.memory_only", true);
+pref("network.cookie.lifetimePolicy", 2);
 pref("browser.download.manager.retention", 1);
+
+// Disk activity: TBB Directory Isolation
 pref("browser.download.useDownloadDir", false);
+pref("browser.shell.checkDefaultBrowser", false);
+pref("browser.download.manager.addToRecentDocs", false);
+
+// Misc privacy: Disk
+pref("signon.rememberSignons", false);
 pref("browser.formfill.enable", false);
-pref("browser.history_expire_days.mirror", 0);
-pref("browser.microsummary.updateGenerators", false);
-pref("browser.migration.version", 5);
-pref("browser.places.importBookmarksHTML", false);
-pref("browser.places.importDefaults", false);
-pref("browser.places.leftPaneFolderId", -1);
-pref("browser.places.migratePostDataAnnotations", false);
-pref("browser.places.smartBookmarksVersion", 2);
-pref("browser.places.updateRecentTagsUri", false);
-pref("browser.preferences.advanced.selectedTabIndex", 0);
-pref("browser.privatebrowsing.autostart", false);
-pref("browser.rights.3.shown", true);
+pref("signon.autofillForms", false);
+pref("browser.sessionstore.privacy_level", 2);
+
+// Misc privacy: Remote
+pref("browser.send_pings", false);
+pref("geo.enabled", false);
+pref("geo.wifi.uri", "");
+pref("browser.search.suggest.enabled", false);
 pref("browser.safebrowsing.enabled", false);
 pref("browser.safebrowsing.malware.enabled", false);
-pref("browser.search.suggest.enabled", false);
-pref("browser.search.update", false);
-pref("browser.sessionstore.privacy_level", 2);
-pref("browser.shell.checkDefaultBrowser", false);
-pref("browser.startup.homepage_override.buildID", "20110325121920");
-pref("browser.startup.homepage_override.mstone", "rv:2.0");
-pref("browser.urlbar.autocomplete.enabled", true);
-pref("dom.event.contextmenu.enabled", false);
-pref("extensions.autoDisableScopes", 0);
-pref("extensions.bootstrappedAddons", "{}");
-pref("extensions.checkCompatibility.4.*", false);
-pref("extensions.checkUpdateSecurity", true);
-pref("extensions.databaseSchema", 3);
-pref("extensions.enabledAddons", "https-everywhere@xxxxxxx:0.9.9.development.4,{73a6fe31-595d-460b-a920-fcc0f8843232}:2.1.0.3,{d40f5e7b-d2cf-4856-b441-cc613eeffbe3}:1.50,{e0204bd5-9d31-402b-a99d-a6aa8ffebdca}:1.3.3-alpha");
-pref("extensions.enabledItems", "langpack-en-US@xxxxxxxxxxxxxxxxxxx:,{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");
-pref("extensions.enabledScopes", 1);
-pref("extensions.pendingOperations", false);
-pref("extensions.update.enabled", true);
+
+// Fingerprinting
+pref("webgl.min_capability_mode", true);
+pref("webgl.disable-extensions", true);
+pref("dom.battery.enabled", false); // fingerprinting due to differing OS implementations
+pref("dom.network.enabled",false); // fingerprinting due to differing OS implementations
+pref("browser.display.max_font_attempts",10);
+pref("browser.display.max_font_count",5);
 pref("general.appname.override", "Netscape");
 pref("general.appversion.override", "5.0 (Windows)");
 pref("general.buildID.override", "0");
@@ -58,19 +53,27 @@ pref("general.productSub.override", "20100101");
 pref("general.useragent.override", "Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20100101 Firefox/17.0");
 pref("general.useragent.vendor", "");
 pref("general.useragent.vendorSub", "");
-pref("geo.enabled", false);
-pref("geo.wifi.uri", "");
-pref("intl.accept_languages", "en-us, en");
-pref("intl.charsetmenu.browser.cache", "UTF-8");
+pref("dom.enable_performance", false);
+pref("plugin.expose_full_path", false);
+pref("browser.startup.homepage_override.buildID", "20110325121920");
+pref("browser.startup.homepage_override.mstone", "rv:2.0");
+pref("browser.zoom.siteSpecific", false);
+// pref("intl.accept_languages", "en-us, en"); // Set by Torbutton
+// pref("intl.accept_charsets", "iso-8859-1,*,utf-8"); // Set by Torbutton
+// pref("intl.charsetmenu.browser.cache", "UTF-8"); // Set by Torbutton
+
+// Third party stuff
 pref("network.cookie.cookieBehavior", 1);
-pref("network.cookie.lifetimePolicy", 2);
-pref("network.cookie.prefsMigrated", true);
-pref("network.http.pipelining", true);
-pref("network.http.pipelining.aggressive", true);
-pref("network.http.pipelining.maxrequests", 12);
-pref("network.http.pipelining.ssl", true);
-pref("network.http.proxy.pipelining", true);
-pref("network.hosts.pop_server", "");
+pref("security.enable_tls_session_tickets", false);
+pref("network.http.spdy.enabled", false); // Stores state and may have keepalive issues (both fixable)
+
+// Proxy and proxy security
+pref("network.proxy.socks", "127.0.0.1");
+pref("network.proxy.socks_port", 9050);
+pref("network.proxy.socks_remote_dns", true);
+pref("network.proxy.type", 1);
+pref("network.security.ports.banned", "8118,8123,9050,9051");
+pref("network.dns.disablePrefetch", true);
 pref("network.protocol-handler.external-default", false);
 pref("network.protocol-handler.external.mailto", false);
 pref("network.protocol-handler.external.news", false);
@@ -80,47 +83,42 @@ pref("network.protocol-handler.warn-external.mailto", true);
 pref("network.protocol-handler.warn-external.news", true);
 pref("network.protocol-handler.warn-external.nntp", true);
 pref("network.protocol-handler.warn-external.snews", true);
-pref("network.proxy.socks", "127.0.0.1");
-pref("network.proxy.socks_port", 9050);
-pref("network.proxy.socks_remote_dns", true);
-pref("network.proxy.type", 1);
-pref("network.security.ports.banned", "8118,8123,9050,9051");
-pref("webgl.min_capability_mode", true);
-pref("webgl.disable-extensions", true);
-pref("places.history.enabled", false);
-pref("places.history.expiration.transient_current_max_pages", 120795);
+
+// Network and performance
+pref("network.http.pipelining", true);
+pref("network.http.pipelining.aggressive", true);
+pref("network.http.pipelining.maxrequests", 12);
+pref("network.http.pipelining.ssl", true);
+pref("network.http.proxy.pipelining", true);
+pref("security.ssl.enable_false_start", true);
+pref("network.http.keep-alive.timeout", 20);
+pref("network.http.connection-retry-timeout", 0);
+
+// Plugin blocking (overkill?)
 pref("plugin.disable_full_page_plugin_for_types", "application/asx,video/x-ms-asf-plugin,application/x-mplayer2,video/x-ms-asf,video/x-ms-wm,audio/x-ms-wma,audio/x-ms-wax,video/x-ms-wmv,video/x-ms-wvx,application/x-drm-v2,application/x-drm");
-pref("plugin.expose_full_path", true);
 pref("plugin.scan.4xPluginFolder", false);
 pref("plugin.scan.Acrobat", "99.0");
 pref("plugin.scan.Quicktime", "99.0");
 pref("plugin.scan.SunJRE", "99.0");
 pref("plugin.scan.WindowsMediaPlayer", "99.0");
 pref("plugin.scan.plid.all", false);
-pref("privacy.sanitize.migrateFx3Prefs", true);
-pref("security.enable_java", false);
-pref("signon.rememberSignons", false);
-pref("signon.autofillForms", false);
+
+// Extension support
+pref("extensions.autoDisableScopes", 0);
+pref("extensions.bootstrappedAddons", "{}");
+pref("extensions.checkCompatibility.4.*", false);
+pref("extensions.databaseSchema", 3);
+// XXX: Enable new Torbutton/disable old??
+pref("extensions.enabledAddons", "https-everywhere@xxxxxxx:0.9.9.development.4,{73a6fe31-595d-460b-a920-fcc0f8843232}:2.1.0.3,{d40f5e7b-d2cf-4856-b441-cc613eeffbe3}:1.50,{e0204bd5-9d31-402b-a99d-a6aa8ffebdca}:1.3.3-alpha");
+pref("extensions.enabledItems", "langpack-en-US@xxxxxxxxxxxxxxxxxxx:,{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");
+pref("extensions.enabledScopes", 1);
+pref("extensions.pendingOperations", false);
 pref("xpinstall.whitelist.add", "");
 pref("xpinstall.whitelist.add.36", "");
-pref("security.ssl.enable_false_start", true);
-pref("dom.battery.enabled", false); // fingerprinting due to differing OS implementations
-pref("dom.network.enabled",false); // fingerprinting due to differing OS implementations
-pref("browser.display.max_font_attempts",10);
-pref("browser.display.max_font_count",5);
-pref("browser.sessionstore.resume_from_crash",false);
+
+// Omnibox settings
 pref("browser.search.order.1", "Startpage");
 pref("browser.search.order.2", "DuckDuckGo");
 pref("browser.search.order.3", "Google");
-pref("browser.search.selectedEngine", "Startpage"); // bam
+pref("browser.search.selectedEngine", "Startpage");
 pref("keyword.URL", "https://startpage.com/do/search?q=";);
-pref("dom.indexedDB.enabled", false);
-pref("security.enable_tls_session_tickets", false);
-pref("network.http.keep-alive.timeout", 20);
-pref("permissions.memory_only", true);
-pref("browser.zoom.siteSpecific", false);
-pref("network.http.spdy.enabled", false); // Stores state and may have keepalive issues (both fixable)
-pref("network.dns.disablePrefetch", true);
-pref("dom.enable_performance", false);
-pref("plugin.expose_full_path", false);
-pref("network.http.connection-retry-timeout", 0);



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits