[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r12889: Update Firefox preferences (in torpedo/trunk: . build-scripts build-scripts/config docs)
Author: sjm217
Date: 2007-12-20 15:11:08 -0500 (Thu, 20 Dec 2007)
New Revision: 12889
Added:
torpedo/trunk/build-scripts/config/user.js
Modified:
torpedo/trunk/README
torpedo/trunk/build-scripts/Makefile
torpedo/trunk/build-scripts/config/prefs.js
torpedo/trunk/build-scripts/config/prefs_fa.js
torpedo/trunk/build-scripts/config/prefs_zh-cn.js
torpedo/trunk/docs/TODO
Log:
Update Firefox preferences
Modified: torpedo/trunk/README
===================================================================
--- torpedo/trunk/README 2007-12-20 19:17:46 UTC (rev 12888)
+++ torpedo/trunk/README 2007-12-20 20:11:08 UTC (rev 12889)
@@ -70,4 +70,5 @@
Add Makefile rule for installing Quick Locale Switcher, but
don't enable this by default
0.0.5: Disable FirefoxPortable splash screen
+ New prefs.js to disable some undesirable features
...
Modified: torpedo/trunk/build-scripts/Makefile
===================================================================
--- torpedo/trunk/build-scripts/Makefile 2007-12-20 19:17:46 UTC (rev 12888)
+++ torpedo/trunk/build-scripts/Makefile 2007-12-20 20:11:08 UTC (rev 12889)
@@ -71,6 +71,7 @@
cp -R $(FIREFOX_SRC) $(DEST)/FirefoxPortable
## Configure Firefox preferences
cp $(CONFIG_SRC)/prefs.js $(DEST)/FirefoxPortable/App/DefaultData/profile/
+ cp $(CONFIG_SRC)/user.js $(DEST)/FirefoxPortable/App/DefaultData/profile/
cp $(CONFIG_SRC)/bookmarks.html $(DEST)/FirefoxPortable/App/DefaultData/profile/
## Configure FirefoxPortable
cp $(CONFIG_SRC)/FirefoxPortable.ini $(DEST)/FirefoxPortable
Modified: torpedo/trunk/build-scripts/config/prefs.js
===================================================================
--- torpedo/trunk/build-scripts/config/prefs.js 2007-12-20 19:17:46 UTC (rev 12888)
+++ torpedo/trunk/build-scripts/config/prefs.js 2007-12-20 20:11:08 UTC (rev 12889)
@@ -11,26 +11,34 @@
user_pref("app.update.auto", false);
user_pref("app.update.enabled", false);
-user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1197218150);
-user_pref("app.update.lastUpdateTime.background-update-timer", 1197218149);
-user_pref("app.update.lastUpdateTime.blocklist-background-update-timer", 1197218150);
-user_pref("app.update.lastUpdateTime.search-engine-update-timer", 1197218171);
+user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1198168911);
+user_pref("app.update.lastUpdateTime.background-update-timer", 1198168911);
+user_pref("app.update.lastUpdateTime.blocklist-background-update-timer", 1198168911);
+user_pref("app.update.lastUpdateTime.search-engine-update-timer", 1198168911);
user_pref("browser.cache.disk.capacity", 0);
user_pref("browser.cache.disk.enable", false);
user_pref("browser.download.manager.retention", 0);
user_pref("browser.download.useDownloadDir", false);
user_pref("browser.formfill.enable", false);
+user_pref("browser.history_expire_days", 0);
user_pref("browser.preferences.advanced.selectedTabIndex", 0);
user_pref("browser.search.suggest.enabled", false);
user_pref("browser.search.update", false);
+user_pref("browser.send_pings", false);
+user_pref("browser.sessionstore.enabled", false);
user_pref("browser.shell.checkDefaultBrowser", false);
user_pref("browser.startup.homepage", "http://check.torproject.org/");
user_pref("browser.startup.homepage_override.mstone", "rv:1.8.1.11");
user_pref("dom.storage.enabled", false);
user_pref("extensions.lastAppVersion", "2.0.0.11");
+user_pref("extensions.torbutton.custom.socks_host", "localhost");
+user_pref("extensions.torbutton.custom.socks_port", 9050);
user_pref("extensions.torbutton.saved.share_proxy_settings", false);
-user_pref("extensions.torbutton.saved.socks_remote_dns", false);
+user_pref("extensions.torbutton.saved.socks_host", "localhost");
+user_pref("extensions.torbutton.saved.socks_port", 9050);
+user_pref("extensions.torbutton.saved.socks_remote_dns", true);
user_pref("extensions.torbutton.saved.socks_version", 5);
+user_pref("extensions.torbutton.saved.type", 1);
user_pref("extensions.torbutton.socks_host", "localhost");
user_pref("extensions.torbutton.socks_port", 9050);
user_pref("extensions.torbutton.tor_enabled", true);
@@ -45,15 +53,33 @@
user_pref("general.useragent.vendorSub", "");
user_pref("intl.accept_languages", "en-us, en");
user_pref("intl.charsetmenu.browser.cache", "ISO-8859-1, UTF-8");
+user_pref("layout.css.report_errors", false);
+user_pref("network.cookie.lifetime.days", 0);
user_pref("network.cookie.lifetimePolicy", 2);
user_pref("network.cookie.prefsMigrated", true);
+user_pref("network.dns.disableIPv6", true);
+user_pref("network.protocol-handler.external-default", false);
+user_pref("network.protocol-handler.external.mailto", false);
+user_pref("network.protocol-handler.external.news", false);
+user_pref("network.protocol-handler.external.nntp", false);
+user_pref("network.protocol-handler.external.snews", false);
+user_pref("network.proxy.failover_timeout", 0);
+user_pref("network.proxy.no_proxies_on", "");
user_pref("network.proxy.socks", "localhost");
user_pref("network.proxy.socks_port", 9050);
user_pref("network.proxy.socks_remote_dns", true);
user_pref("network.proxy.type", 1);
+user_pref("privacy.item.cookies", true);
+user_pref("privacy.item.passwords", true);
+user_pref("privacy.sanitize.didShutdownSanitize", true);
+user_pref("privacy.sanitize.promptOnSanitize", false);
+user_pref("privacy.sanitize.sanitizeOnShutdown", true);
user_pref("security.enable_java", false);
+user_pref("security.xpconnect.plugin.unrestricted", false);
user_pref("signon.rememberSignons", false);
-user_pref("urlclassifier.tableversion.goog-black-enchash", "1.40332");
-user_pref("urlclassifier.tableversion.goog-black-url", "1.16969");
+user_pref("urlclassifier.tableversion.goog-black-enchash", "1.40619");
+user_pref("urlclassifier.tableversion.goog-black-url", "1.17072");
user_pref("urlclassifier.tableversion.goog-white-domain", "1.23");
user_pref("urlclassifier.tableversion.goog-white-url", "1.371");
+user_pref("xpinstall.whitelist.add", "");
+user_pref("xpinstall.whitelist.add.103", "");
Modified: torpedo/trunk/build-scripts/config/prefs_fa.js
===================================================================
--- torpedo/trunk/build-scripts/config/prefs_fa.js 2007-12-20 19:17:46 UTC (rev 12888)
+++ torpedo/trunk/build-scripts/config/prefs_fa.js 2007-12-20 20:11:08 UTC (rev 12889)
@@ -11,26 +11,34 @@
user_pref("app.update.auto", false);
user_pref("app.update.enabled", false);
-user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1197218150);
-user_pref("app.update.lastUpdateTime.background-update-timer", 1197218149);
-user_pref("app.update.lastUpdateTime.blocklist-background-update-timer", 1197218150);
-user_pref("app.update.lastUpdateTime.search-engine-update-timer", 1197218171);
+user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1198168911);
+user_pref("app.update.lastUpdateTime.background-update-timer", 1198168911);
+user_pref("app.update.lastUpdateTime.blocklist-background-update-timer", 1198168911);
+user_pref("app.update.lastUpdateTime.search-engine-update-timer", 1198168911);
user_pref("browser.cache.disk.capacity", 0);
user_pref("browser.cache.disk.enable", false);
user_pref("browser.download.manager.retention", 0);
user_pref("browser.download.useDownloadDir", false);
user_pref("browser.formfill.enable", false);
+user_pref("browser.history_expire_days", 0);
user_pref("browser.preferences.advanced.selectedTabIndex", 0);
user_pref("browser.search.suggest.enabled", false);
user_pref("browser.search.update", false);
+user_pref("browser.send_pings", false);
+user_pref("browser.sessionstore.enabled", false);
user_pref("browser.shell.checkDefaultBrowser", false);
user_pref("browser.startup.homepage", "http://check.torproject.org/");
user_pref("browser.startup.homepage_override.mstone", "rv:1.8.1.11");
user_pref("dom.storage.enabled", false);
user_pref("extensions.lastAppVersion", "2.0.0.11");
+user_pref("extensions.torbutton.custom.socks_host", "localhost");
+user_pref("extensions.torbutton.custom.socks_port", 9050);
user_pref("extensions.torbutton.saved.share_proxy_settings", false);
-user_pref("extensions.torbutton.saved.socks_remote_dns", false);
+user_pref("extensions.torbutton.saved.socks_host", "localhost");
+user_pref("extensions.torbutton.saved.socks_port", 9050);
+user_pref("extensions.torbutton.saved.socks_remote_dns", true);
user_pref("extensions.torbutton.saved.socks_version", 5);
+user_pref("extensions.torbutton.saved.type", 1);
user_pref("extensions.torbutton.socks_host", "localhost");
user_pref("extensions.torbutton.socks_port", 9050);
user_pref("extensions.torbutton.tor_enabled", true);
@@ -46,15 +54,33 @@
user_pref("general.useragent.vendorSub", "");
user_pref("intl.accept_languages", "en-us, en");
user_pref("intl.charsetmenu.browser.cache", "ISO-8859-1, UTF-8");
+user_pref("layout.css.report_errors", false);
+user_pref("network.cookie.lifetime.days", 0);
user_pref("network.cookie.lifetimePolicy", 2);
user_pref("network.cookie.prefsMigrated", true);
+user_pref("network.dns.disableIPv6", true);
+user_pref("network.protocol-handler.external-default", false);
+user_pref("network.protocol-handler.external.mailto", false);
+user_pref("network.protocol-handler.external.news", false);
+user_pref("network.protocol-handler.external.nntp", false);
+user_pref("network.protocol-handler.external.snews", false);
+user_pref("network.proxy.failover_timeout", 0);
+user_pref("network.proxy.no_proxies_on", "");
user_pref("network.proxy.socks", "localhost");
user_pref("network.proxy.socks_port", 9050);
user_pref("network.proxy.socks_remote_dns", true);
user_pref("network.proxy.type", 1);
+user_pref("privacy.item.cookies", true);
+user_pref("privacy.item.passwords", true);
+user_pref("privacy.sanitize.didShutdownSanitize", true);
+user_pref("privacy.sanitize.promptOnSanitize", false);
+user_pref("privacy.sanitize.sanitizeOnShutdown", true);
user_pref("security.enable_java", false);
+user_pref("security.xpconnect.plugin.unrestricted", false);
user_pref("signon.rememberSignons", false);
-user_pref("urlclassifier.tableversion.goog-black-enchash", "1.40332");
-user_pref("urlclassifier.tableversion.goog-black-url", "1.16969");
+user_pref("urlclassifier.tableversion.goog-black-enchash", "1.40619");
+user_pref("urlclassifier.tableversion.goog-black-url", "1.17072");
user_pref("urlclassifier.tableversion.goog-white-domain", "1.23");
user_pref("urlclassifier.tableversion.goog-white-url", "1.371");
+user_pref("xpinstall.whitelist.add", "");
+user_pref("xpinstall.whitelist.add.103", "");
Modified: torpedo/trunk/build-scripts/config/prefs_zh-cn.js
===================================================================
--- torpedo/trunk/build-scripts/config/prefs_zh-cn.js 2007-12-20 19:17:46 UTC (rev 12888)
+++ torpedo/trunk/build-scripts/config/prefs_zh-cn.js 2007-12-20 20:11:08 UTC (rev 12889)
@@ -11,26 +11,34 @@
user_pref("app.update.auto", false);
user_pref("app.update.enabled", false);
-user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1197218150);
-user_pref("app.update.lastUpdateTime.background-update-timer", 1197218149);
-user_pref("app.update.lastUpdateTime.blocklist-background-update-timer", 1197218150);
-user_pref("app.update.lastUpdateTime.search-engine-update-timer", 1197218171);
+user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1198168911);
+user_pref("app.update.lastUpdateTime.background-update-timer", 1198168911);
+user_pref("app.update.lastUpdateTime.blocklist-background-update-timer", 1198168911);
+user_pref("app.update.lastUpdateTime.search-engine-update-timer", 1198168911);
user_pref("browser.cache.disk.capacity", 0);
user_pref("browser.cache.disk.enable", false);
user_pref("browser.download.manager.retention", 0);
user_pref("browser.download.useDownloadDir", false);
user_pref("browser.formfill.enable", false);
+user_pref("browser.history_expire_days", 0);
user_pref("browser.preferences.advanced.selectedTabIndex", 0);
user_pref("browser.search.suggest.enabled", false);
user_pref("browser.search.update", false);
+user_pref("browser.send_pings", false);
+user_pref("browser.sessionstore.enabled", false);
user_pref("browser.shell.checkDefaultBrowser", false);
user_pref("browser.startup.homepage", "http://check.torproject.org/");
user_pref("browser.startup.homepage_override.mstone", "rv:1.8.1.11");
user_pref("dom.storage.enabled", false);
user_pref("extensions.lastAppVersion", "2.0.0.11");
+user_pref("extensions.torbutton.custom.socks_host", "localhost");
+user_pref("extensions.torbutton.custom.socks_port", 9050);
user_pref("extensions.torbutton.saved.share_proxy_settings", false);
-user_pref("extensions.torbutton.saved.socks_remote_dns", false);
+user_pref("extensions.torbutton.saved.socks_host", "localhost");
+user_pref("extensions.torbutton.saved.socks_port", 9050);
+user_pref("extensions.torbutton.saved.socks_remote_dns", true);
user_pref("extensions.torbutton.saved.socks_version", 5);
+user_pref("extensions.torbutton.saved.type", 1);
user_pref("extensions.torbutton.socks_host", "localhost");
user_pref("extensions.torbutton.socks_port", 9050);
user_pref("extensions.torbutton.tor_enabled", true);
@@ -46,15 +54,33 @@
user_pref("general.useragent.vendorSub", "");
user_pref("intl.accept_languages", "en-us, en");
user_pref("intl.charsetmenu.browser.cache", "ISO-8859-1, UTF-8");
+user_pref("layout.css.report_errors", false);
+user_pref("network.cookie.lifetime.days", 0);
user_pref("network.cookie.lifetimePolicy", 2);
user_pref("network.cookie.prefsMigrated", true);
+user_pref("network.dns.disableIPv6", true);
+user_pref("network.protocol-handler.external-default", false);
+user_pref("network.protocol-handler.external.mailto", false);
+user_pref("network.protocol-handler.external.news", false);
+user_pref("network.protocol-handler.external.nntp", false);
+user_pref("network.protocol-handler.external.snews", false);
+user_pref("network.proxy.failover_timeout", 0);
+user_pref("network.proxy.no_proxies_on", "");
user_pref("network.proxy.socks", "localhost");
user_pref("network.proxy.socks_port", 9050);
user_pref("network.proxy.socks_remote_dns", true);
user_pref("network.proxy.type", 1);
+user_pref("privacy.item.cookies", true);
+user_pref("privacy.item.passwords", true);
+user_pref("privacy.sanitize.didShutdownSanitize", true);
+user_pref("privacy.sanitize.promptOnSanitize", false);
+user_pref("privacy.sanitize.sanitizeOnShutdown", true);
user_pref("security.enable_java", false);
+user_pref("security.xpconnect.plugin.unrestricted", false);
user_pref("signon.rememberSignons", false);
-user_pref("urlclassifier.tableversion.goog-black-enchash", "1.40332");
-user_pref("urlclassifier.tableversion.goog-black-url", "1.16969");
+user_pref("urlclassifier.tableversion.goog-black-enchash", "1.40619");
+user_pref("urlclassifier.tableversion.goog-black-url", "1.17072");
user_pref("urlclassifier.tableversion.goog-white-domain", "1.23");
user_pref("urlclassifier.tableversion.goog-white-url", "1.371");
+user_pref("xpinstall.whitelist.add", "");
+user_pref("xpinstall.whitelist.add.103", "");
Added: torpedo/trunk/build-scripts/config/user.js
===================================================================
--- torpedo/trunk/build-scripts/config/user.js (rev 0)
+++ torpedo/trunk/build-scripts/config/user.js 2007-12-20 20:11:08 UTC (rev 12889)
@@ -0,0 +1,25 @@
+# Mozilla User Preferences
+
+/* Do not edit this file.
+ *
+ * To make a manual change to preferences, you can visit the URL about:config
+ * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
+ */
+
+user_pref("browser.sessionstore.enabled", false);
+user_pref("dom.storage.enabled", false);
+user_pref("extensions.torbutton.custom.socks_host", "localhost");
+user_pref("extensions.torbutton.custom.socks_port", 9050);
+user_pref("extensions.torbutton.saved.share_proxy_settings", false);
+user_pref("extensions.torbutton.saved.socks_host", "localhost");
+user_pref("extensions.torbutton.saved.socks_port", 9050);
+user_pref("extensions.torbutton.saved.socks_remote_dns", true);
+user_pref("extensions.torbutton.saved.socks_version", 5);
+user_pref("extensions.torbutton.saved.type", 1);
+user_pref("extensions.torbutton.socks_host", "localhost");
+user_pref("extensions.torbutton.socks_port", 9050);
+user_pref("extensions.torbutton.tor_enabled", true);
+user_pref("extensions.torbutton.use_privoxy", false);
+user_pref("layout.css.report_errors", false);
+user_pref("network.dns.disableIPv6", true);
+user_pref("security.xpconnect.plugin.unrestricted", false);
Modified: torpedo/trunk/docs/TODO
===================================================================
--- torpedo/trunk/docs/TODO 2007-12-20 19:17:46 UTC (rev 12888)
+++ torpedo/trunk/docs/TODO 2007-12-20 20:11:08 UTC (rev 12889)
@@ -44,53 +44,6 @@
for what we will want to do.
[low priority]
-- Investigate how to programmatically add extensions and modify
- preference files (partially complete).
- Adding them to user.js will override user modifications (sometimes
- not good).
- Adding them to all.js is better, but entries must be sorted (are
- there other constraints?)
-
- http://forums.mozillazine.org/viewtopic.php?p=1270157&sid=4fe009726e77cb0ae2a07dcf1e179fe6
-
- [ Sorting them didn't work -- there is more magic here ]
-
- Extensions we want:
- Torbutton [important]
- https://addons.mozilla.org/en-US/firefox/addon/2275
- [We should use the latest dev version of this -RD]
-
- Extensions we might want (from xB Browser and ToaST):
- Adblock Plus
- https://addons.mozilla.org/en-US/firefox/addon/1865
- ChatZilla
- https://addons.mozilla.org/en-US/firefox/addon/16
- PrefBar
- http://prefbar.mozdev.org/
- Quick Locale Switcher
- https://addons.mozilla.org/en-US/firefox/addon/1333
- Firesomething
- https://addons.mozilla.org/en-US/firefox/addon/31
- Restart Firefox
- https://addons.mozilla.org/en-US/firefox/addon/1249
- Window Styles
- http://www.bamm.gabriana.com/ [inaccessible 2007-12-13]
-
- Extensions we don't want (from xB Browser and ToaST):
- ErrorZilla Mod
- https://addons.mozilla.org/en-US/firefox/addon/3336
- [Once we have polipo, it will be the one providing error
- messages. Does that make this extension moot? I think so. -RD]
- Flush Tor Circuit [superseded by Vidalia]
- ?
- NoScript [probably superseded by Torbutton]
- https://addons.mozilla.org/en-US/firefox/addon/722
-[high priority]
-
-- Decide what preferences to set and what extensions to pre-install
- [ xB use this: http://archives.seul.org/or/talk/Nov-2007/msg00227.html ]
-[high priority]
-
- Tailor error messages so are more appropriate to Tor (e.g. point out
dangers when submitting forms to non-HTTPS URLs)
[low priority]
@@ -127,11 +80,6 @@
- Modify Torbutton to prevent user from disabling Tor (easily)
[mid priority]
-- Restore some/all Firefox settings on exit
- For example, if the user turned off Torbutton.
- We should accumulate other examples here.
-[mid priority]
-
Questions to ask
----------------
@@ -217,3 +165,56 @@
Once we have it working reasonably well, we should bug our Farsi-speaking
friends (for example, our friends at IBB) for help.
+[ Done: 2007-12-20 ]
+- Investigate how to programmatically add extensions and modify
+ preference files (partially complete).
+ Adding them to user.js will override user modifications (sometimes
+ not good).
+ Adding them to all.js is better, but entries must be sorted (are
+ there other constraints?)
+
+ http://forums.mozillazine.org/viewtopic.php?p=1270157&sid=4fe009726e77cb0ae2a07dcf1e179fe6
+
+ [ Sorting them didn't work -- there is more magic here ]
+
+ Extensions we want:
+ Torbutton [important]
+ https://addons.mozilla.org/en-US/firefox/addon/2275
+ [We should use the latest dev version of this -RD]
+
+ Extensions we might want (from xB Browser and ToaST):
+ Adblock Plus
+ https://addons.mozilla.org/en-US/firefox/addon/1865
+ ChatZilla
+ https://addons.mozilla.org/en-US/firefox/addon/16
+ PrefBar
+ http://prefbar.mozdev.org/
+ Quick Locale Switcher
+ https://addons.mozilla.org/en-US/firefox/addon/1333
+ Firesomething
+ https://addons.mozilla.org/en-US/firefox/addon/31
+ Restart Firefox
+ https://addons.mozilla.org/en-US/firefox/addon/1249
+ Window Styles
+ http://www.bamm.gabriana.com/ [inaccessible 2007-12-13]
+
+ Extensions we don't want (from xB Browser and ToaST):
+ ErrorZilla Mod
+ https://addons.mozilla.org/en-US/firefox/addon/3336
+ [Once we have polipo, it will be the one providing error
+ messages. Does that make this extension moot? I think so. -RD]
+ Flush Tor Circuit [superseded by Vidalia]
+ ?
+ NoScript [probably superseded by Torbutton]
+ https://addons.mozilla.org/en-US/firefox/addon/722
+[high priority]
+
+- Decide what preferences to set and what extensions to pre-install
+ [ xB use this: http://archives.seul.org/or/talk/Nov-2007/msg00227.html ]
+[high priority]
+
+- Restore some/all Firefox settings on exit
+ For example, if the user turned off Torbutton.
+ We should accumulate other examples here.
+[mid priority]
+