[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r11626: Bug 474 fix: decouple password+form saving from history writ (in torbutton/trunk/src: . chrome/content chrome/locale/de-AT chrome/locale/de-CH chrome/locale/de-DE chrome/locale/el-GR chrome/locale/en-US chrome/locale/es-AR chrome/locale/fr-FR chrome/locale/hr-HR chrome/locale/it-IT chrome/locale/nl-NL chrome/locale/pl-PL chrome/locale/pt-BR chrome/locale/ru-RU chrome/locale/sl-SI chrome/locale/zh-CN chrome/locale/zh-TW defaults/preferences)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r11626: Bug 474 fix: decouple password+form saving from history writ (in torbutton/trunk/src: . chrome/content chrome/locale/de-AT chrome/locale/de-CH chrome/locale/de-DE chrome/locale/el-GR chrome/locale/en-US chrome/locale/es-AR chrome/locale/fr-FR chrome/locale/hr-HR chrome/locale/it-IT chrome/locale/nl-NL chrome/locale/pl-PL chrome/locale/pt-BR chrome/locale/ru-RU chrome/locale/sl-SI chrome/locale/zh-CN chrome/locale/zh-TW defaults/preferences)
- From: mikeperry@xxxxxxxx
- Date: Tue, 25 Sep 2007 00:01:11 -0400 (EDT)
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: or-cvs-outgoing@xxxxxxxx
- Delivered-to: or-cvs@xxxxxxxx
- Delivery-date: Tue, 25 Sep 2007 00:01:28 -0400
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Author: mikeperry
Date: 2007-09-25 00:01:10 -0400 (Tue, 25 Sep 2007)
New Revision: 11626
Modified:
torbutton/trunk/src/CHANGELOG
torbutton/trunk/src/chrome/content/preferences.js
torbutton/trunk/src/chrome/content/preferences.xul
torbutton/trunk/src/chrome/content/torbutton.js
torbutton/trunk/src/chrome/locale/de-AT/torbutton.dtd
torbutton/trunk/src/chrome/locale/de-CH/torbutton.dtd
torbutton/trunk/src/chrome/locale/de-DE/torbutton.dtd
torbutton/trunk/src/chrome/locale/el-GR/torbutton.dtd
torbutton/trunk/src/chrome/locale/en-US/torbutton.dtd
torbutton/trunk/src/chrome/locale/es-AR/torbutton.dtd
torbutton/trunk/src/chrome/locale/fr-FR/torbutton.dtd
torbutton/trunk/src/chrome/locale/hr-HR/torbutton.dtd
torbutton/trunk/src/chrome/locale/it-IT/torbutton.dtd
torbutton/trunk/src/chrome/locale/nl-NL/torbutton.dtd
torbutton/trunk/src/chrome/locale/pl-PL/torbutton.dtd
torbutton/trunk/src/chrome/locale/pt-BR/torbutton.dtd
torbutton/trunk/src/chrome/locale/ru-RU/torbutton.dtd
torbutton/trunk/src/chrome/locale/sl-SI/torbutton.dtd
torbutton/trunk/src/chrome/locale/zh-CN/torbutton.dtd
torbutton/trunk/src/chrome/locale/zh-TW/torbutton.dtd
torbutton/trunk/src/defaults/preferences/preferences.js
Log:
Bug 474 fix: decouple password+form saving from history
writing.
Modified: torbutton/trunk/src/CHANGELOG
===================================================================
--- torbutton/trunk/src/CHANGELOG 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/CHANGELOG 2007-09-25 04:01:10 UTC (rev 11626)
@@ -1,3 +1,8 @@
+1.1.8
+ XX Sep 2007
+ * bugfix: bug 510: decouple cookie clearing from Clear Private Data settings
+ * bugfix: bug 474: decouple password+form saving from history writing
+
1.1.7
20 Sep 2007
* bugfix: bug 495: couple of memory leaks found and fixed by arno
Modified: torbutton/trunk/src/chrome/content/preferences.js
===================================================================
--- torbutton/trunk/src/chrome/content/preferences.js 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/content/preferences.js 2007-09-25 04:01:10 UTC (rev 11626)
@@ -181,6 +181,8 @@
doc.getElementById('torbutton_blockTorHWrite').checked = o_torprefs.getBoolPref('block_thwrite');
doc.getElementById('torbutton_blockNonTorHRead').checked = o_torprefs.getBoolPref('block_nthread');
doc.getElementById('torbutton_blockNonTorHWrite').checked = o_torprefs.getBoolPref('block_nthwrite');
+ doc.getElementById('torbutton_blockTorForms').checked = o_torprefs.getBoolPref('block_tforms');
+ doc.getElementById('torbutton_blockNonTorForms').checked = o_torprefs.getBoolPref('block_ntforms');
doc.getElementById('torbutton_isolateContent').checked = o_torprefs.getBoolPref('isolate_content');
doc.getElementById('torbutton_noSearch').checked = o_torprefs.getBoolPref('no_search');
doc.getElementById('torbutton_noUpdates').checked = o_torprefs.getBoolPref('no_updates');
@@ -237,7 +239,6 @@
o_torprefs.setBoolPref('cookie_jars', doc.getElementById('torbutton_cookieJars').selected);
o_torprefs.setBoolPref('disable_domstorage', doc.getElementById('torbutton_noDomStorage').checked);
-
if(doc.getElementById('torbutton_shutdownGroup').selectedItem ==
doc.getElementById('torbutton_noShutdown')) {
o_torprefs.setIntPref('shutdown_method', 0);
@@ -261,6 +262,8 @@
o_torprefs.setBoolPref('block_thwrite', doc.getElementById('torbutton_blockTorHWrite').checked);
o_torprefs.setBoolPref('block_nthread', doc.getElementById('torbutton_blockNonTorHRead').checked);
o_torprefs.setBoolPref('block_nthwrite', doc.getElementById('torbutton_blockNonTorHWrite').checked);
+ o_torprefs.setBoolPref('block_tforms', doc.getElementById('torbutton_blockTorForms').checked);
+ o_torprefs.setBoolPref('block_ntforms', doc.getElementById('torbutton_blockNonTorForms').checked);
o_torprefs.setBoolPref('no_search', doc.getElementById('torbutton_noSearch').checked);
o_torprefs.setBoolPref('no_updates', doc.getElementById('torbutton_noUpdates').checked);
@@ -279,6 +282,11 @@
var children;
var i;
+ // XXX: change this to handle people with non-default proxy settings
+ // 1. Clear proxy settings
+ // 2. Restore saved prefs
+ // 3. Clear torbutton settings
+
children = o_torprefs.getChildList("" , tmpcnt);
for(i = 0; i < children.length; i++) {
torbutton_log(5, "Preferences reset: "+children[i]);
Modified: torbutton/trunk/src/chrome/content/preferences.xul
===================================================================
--- torbutton/trunk/src/chrome/content/preferences.xul 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/content/preferences.xul 2007-09-25 04:01:10 UTC (rev 11626)
@@ -118,6 +118,7 @@
<tabs>
<tab label="&torbutton.prefs.dynamic;"/>
<tab label="&torbutton.prefs.history;"/>
+ <tab label="&torbutton.prefs.forms;"/>
<tab label="&torbutton.prefs.cache;"/>
<tab label="&torbutton.prefs.cookies;"/>
<tab label="&torbutton.prefs.shutdown;"/>
@@ -152,6 +153,14 @@
oncommand="torbutton_prefs_set_field_attributes(document)"/>
</vbox>
</tabpanel>
+ <tabpanel id="forms">
+ <vbox flex="1">
+ <checkbox id="torbutton_blockTorForms" label="&torbutton.prefs.block_tforms;"
+ oncommand="torbutton_prefs_set_field_attributes(document)"/>
+ <checkbox id="torbutton_blockNonTorForms" label="&torbutton.prefs.block_ntforms;"
+ oncommand="torbutton_prefs_set_field_attributes(document)"/>
+ </vbox>
+ </tabpanel>
<tabpanel id="cache">
<vbox>
<!-- FIXME: maybe add pref to manage cache by yourself... -->
Modified: torbutton/trunk/src/chrome/content/torbutton.js
===================================================================
--- torbutton/trunk/src/chrome/content/torbutton.js 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/content/torbutton.js 2007-09-25 04:01:10 UTC (rev 11626)
@@ -568,20 +568,28 @@
if(mode) {
if(torprefs.getBoolPref('block_thwrite')) {
m_tb_prefs.setIntPref("browser.download.manager.retention", 0);
+ } else {
+ m_tb_prefs.setIntPref("browser.download.manager.retention", 2);
+ }
+
+ if(torprefs.getBoolPref('block_tforms')) {
m_tb_prefs.setBoolPref("browser.formfill.enable", false);
m_tb_prefs.setBoolPref("signon.rememberSignons", false);
} else {
- m_tb_prefs.setIntPref("browser.download.manager.retention", 2);
m_tb_prefs.setBoolPref("browser.formfill.enable", true);
m_tb_prefs.setBoolPref("signon.rememberSignons", true);
}
} else {
if(torprefs.getBoolPref('block_nthwrite')) {
m_tb_prefs.setIntPref("browser.download.manager.retention", 0);
+ } else {
+ m_tb_prefs.setIntPref("browser.download.manager.retention", 2);
+ }
+
+ if(torprefs.getBoolPref('block_ntforms')) {
m_tb_prefs.setBoolPref("browser.formfill.enable", false);
m_tb_prefs.setBoolPref("signon.rememberSignons", false);
} else {
- m_tb_prefs.setIntPref("browser.download.manager.retention", 2);
m_tb_prefs.setBoolPref("browser.formfill.enable", true);
m_tb_prefs.setBoolPref("signon.rememberSignons", true);
}
Modified: torbutton/trunk/src/chrome/locale/de-AT/torbutton.dtd
===================================================================
--- torbutton/trunk/src/chrome/locale/de-AT/torbutton.dtd 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/locale/de-AT/torbutton.dtd 2007-09-25 04:01:10 UTC (rev 11626)
@@ -57,3 +57,6 @@
<!ENTITY torbutton.prefs.spoof_english "Spoof US English Browser">
<!ENTITY torbutton.prefs.disable_referer "Don't send referer during Tor usage (may break some sites)">
<!ENTITY torbutton.prefs.disable_domstorage "Disable DOM Storage during Tor usage (crucial)">
+<!ENTITY torbutton.prefs.forms "Forms">
+<!ENTITY torbutton.prefs.block_tforms "Block password+form saving during Tor (recommended)">
+<!ENTITY torbutton.prefs.block_ntforms "Block password+form saving during Non-Tor (optional)">
Modified: torbutton/trunk/src/chrome/locale/de-CH/torbutton.dtd
===================================================================
--- torbutton/trunk/src/chrome/locale/de-CH/torbutton.dtd 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/locale/de-CH/torbutton.dtd 2007-09-25 04:01:10 UTC (rev 11626)
@@ -57,3 +57,6 @@
<!ENTITY torbutton.prefs.spoof_english "Spoof US English Browser">
<!ENTITY torbutton.prefs.disable_referer "Don't send referer during Tor usage (may break some sites)">
<!ENTITY torbutton.prefs.disable_domstorage "Disable DOM Storage during Tor usage (crucial)">
+<!ENTITY torbutton.prefs.forms "Forms">
+<!ENTITY torbutton.prefs.block_tforms "Block password+form saving during Tor (recommended)">
+<!ENTITY torbutton.prefs.block_ntforms "Block password+form saving during Non-Tor (optional)">
Modified: torbutton/trunk/src/chrome/locale/de-DE/torbutton.dtd
===================================================================
--- torbutton/trunk/src/chrome/locale/de-DE/torbutton.dtd 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/locale/de-DE/torbutton.dtd 2007-09-25 04:01:10 UTC (rev 11626)
@@ -57,3 +57,6 @@
<!ENTITY torbutton.prefs.spoof_english "Spoof US English Browser">
<!ENTITY torbutton.prefs.disable_referer "Don't send referer during Tor usage (may break some sites)">
<!ENTITY torbutton.prefs.disable_domstorage "Disable DOM Storage during Tor usage (crucial)">
+<!ENTITY torbutton.prefs.forms "Forms">
+<!ENTITY torbutton.prefs.block_tforms "Block password+form saving during Tor (recommended)">
+<!ENTITY torbutton.prefs.block_ntforms "Block password+form saving during Non-Tor (optional)">
Modified: torbutton/trunk/src/chrome/locale/el-GR/torbutton.dtd
===================================================================
--- torbutton/trunk/src/chrome/locale/el-GR/torbutton.dtd 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/locale/el-GR/torbutton.dtd 2007-09-25 04:01:10 UTC (rev 11626)
@@ -57,3 +57,6 @@
<!ENTITY torbutton.prefs.spoof_english "Spoof US English Browser">
<!ENTITY torbutton.prefs.disable_referer "Don't send referer during Tor usage (may break some sites)">
<!ENTITY torbutton.prefs.disable_domstorage "Disable DOM Storage during Tor usage (crucial)">
+<!ENTITY torbutton.prefs.forms "Forms">
+<!ENTITY torbutton.prefs.block_tforms "Block password+form saving during Tor (recommended)">
+<!ENTITY torbutton.prefs.block_ntforms "Block password+form saving during Non-Tor (optional)">
Modified: torbutton/trunk/src/chrome/locale/en-US/torbutton.dtd
===================================================================
--- torbutton/trunk/src/chrome/locale/en-US/torbutton.dtd 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/locale/en-US/torbutton.dtd 2007-09-25 04:01:10 UTC (rev 11626)
@@ -57,3 +57,6 @@
<!ENTITY torbutton.prefs.spoof_english "Spoof US English Browser">
<!ENTITY torbutton.prefs.disable_referer "Don't send referer during Tor usage (may break some sites)">
<!ENTITY torbutton.prefs.disable_domstorage "Disable DOM Storage during Tor usage (crucial)">
+<!ENTITY torbutton.prefs.forms "Forms">
+<!ENTITY torbutton.prefs.block_tforms "Block password+form saving during Tor (recommended)">
+<!ENTITY torbutton.prefs.block_ntforms "Block password+form saving during Non-Tor (optional)">
Modified: torbutton/trunk/src/chrome/locale/es-AR/torbutton.dtd
===================================================================
--- torbutton/trunk/src/chrome/locale/es-AR/torbutton.dtd 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/locale/es-AR/torbutton.dtd 2007-09-25 04:01:10 UTC (rev 11626)
@@ -57,3 +57,6 @@
<!ENTITY torbutton.prefs.spoof_english "Spoof US English Browser">
<!ENTITY torbutton.prefs.disable_referer "Don't send referer during Tor usage (may break some sites)">
<!ENTITY torbutton.prefs.disable_domstorage "Disable DOM Storage during Tor usage (crucial)">
+<!ENTITY torbutton.prefs.forms "Forms">
+<!ENTITY torbutton.prefs.block_tforms "Block password+form saving during Tor (recommended)">
+<!ENTITY torbutton.prefs.block_ntforms "Block password+form saving during Non-Tor (optional)">
Modified: torbutton/trunk/src/chrome/locale/fr-FR/torbutton.dtd
===================================================================
--- torbutton/trunk/src/chrome/locale/fr-FR/torbutton.dtd 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/locale/fr-FR/torbutton.dtd 2007-09-25 04:01:10 UTC (rev 11626)
@@ -57,3 +57,6 @@
<!ENTITY torbutton.prefs.spoof_english "Spoof US English Browser">
<!ENTITY torbutton.prefs.disable_referer "Don't send referer during Tor usage (may break some sites)">
<!ENTITY torbutton.prefs.disable_domstorage "Disable DOM Storage during Tor usage (crucial)">
+<!ENTITY torbutton.prefs.forms "Forms">
+<!ENTITY torbutton.prefs.block_tforms "Block password+form saving during Tor (recommended)">
+<!ENTITY torbutton.prefs.block_ntforms "Block password+form saving during Non-Tor (optional)">
Modified: torbutton/trunk/src/chrome/locale/hr-HR/torbutton.dtd
===================================================================
--- torbutton/trunk/src/chrome/locale/hr-HR/torbutton.dtd 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/locale/hr-HR/torbutton.dtd 2007-09-25 04:01:10 UTC (rev 11626)
@@ -57,3 +57,6 @@
<!ENTITY torbutton.prefs.spoof_english "Spoof US English Browser">
<!ENTITY torbutton.prefs.disable_referer "Don't send referer during Tor usage (may break some sites)">
<!ENTITY torbutton.prefs.disable_domstorage "Disable DOM Storage during Tor usage (crucial)">
+<!ENTITY torbutton.prefs.forms "Forms">
+<!ENTITY torbutton.prefs.block_tforms "Block password+form saving during Tor (recommended)">
+<!ENTITY torbutton.prefs.block_ntforms "Block password+form saving during Non-Tor (optional)">
Modified: torbutton/trunk/src/chrome/locale/it-IT/torbutton.dtd
===================================================================
--- torbutton/trunk/src/chrome/locale/it-IT/torbutton.dtd 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/locale/it-IT/torbutton.dtd 2007-09-25 04:01:10 UTC (rev 11626)
@@ -57,3 +57,6 @@
<!ENTITY torbutton.prefs.spoof_english "Spoof US English Browser">
<!ENTITY torbutton.prefs.disable_referer "Don't send referer during Tor usage (may break some sites)">
<!ENTITY torbutton.prefs.disable_domstorage "Disable DOM Storage during Tor usage (crucial)">
+<!ENTITY torbutton.prefs.forms "Forms">
+<!ENTITY torbutton.prefs.block_tforms "Block password+form saving during Tor (recommended)">
+<!ENTITY torbutton.prefs.block_ntforms "Block password+form saving during Non-Tor (optional)">
Modified: torbutton/trunk/src/chrome/locale/nl-NL/torbutton.dtd
===================================================================
--- torbutton/trunk/src/chrome/locale/nl-NL/torbutton.dtd 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/locale/nl-NL/torbutton.dtd 2007-09-25 04:01:10 UTC (rev 11626)
@@ -57,3 +57,6 @@
<!ENTITY torbutton.prefs.spoof_english "Spoof US English Browser">
<!ENTITY torbutton.prefs.disable_referer "Don't send referer during Tor usage (may break some sites)">
<!ENTITY torbutton.prefs.disable_domstorage "Disable DOM Storage during Tor usage (crucial)">
+<!ENTITY torbutton.prefs.forms "Forms">
+<!ENTITY torbutton.prefs.block_tforms "Block password+form saving during Tor (recommended)">
+<!ENTITY torbutton.prefs.block_ntforms "Block password+form saving during Non-Tor (optional)">
Modified: torbutton/trunk/src/chrome/locale/pl-PL/torbutton.dtd
===================================================================
--- torbutton/trunk/src/chrome/locale/pl-PL/torbutton.dtd 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/locale/pl-PL/torbutton.dtd 2007-09-25 04:01:10 UTC (rev 11626)
@@ -57,3 +57,6 @@
<!ENTITY torbutton.prefs.spoof_english "Spoof US English Browser">
<!ENTITY torbutton.prefs.disable_referer "Don't send referer during Tor usage (may break some sites)">
<!ENTITY torbutton.prefs.disable_domstorage "Disable DOM Storage during Tor usage (crucial)">
+<!ENTITY torbutton.prefs.forms "Forms">
+<!ENTITY torbutton.prefs.block_tforms "Block password+form saving during Tor (recommended)">
+<!ENTITY torbutton.prefs.block_ntforms "Block password+form saving during Non-Tor (optional)">
Modified: torbutton/trunk/src/chrome/locale/pt-BR/torbutton.dtd
===================================================================
--- torbutton/trunk/src/chrome/locale/pt-BR/torbutton.dtd 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/locale/pt-BR/torbutton.dtd 2007-09-25 04:01:10 UTC (rev 11626)
@@ -57,3 +57,6 @@
<!ENTITY torbutton.prefs.spoof_english "Spoof US English Browser">
<!ENTITY torbutton.prefs.disable_referer "Don't send referer during Tor usage (may break some sites)">
<!ENTITY torbutton.prefs.disable_domstorage "Disable DOM Storage during Tor usage (crucial)">
+<!ENTITY torbutton.prefs.forms "Forms">
+<!ENTITY torbutton.prefs.block_tforms "Block password+form saving during Tor (recommended)">
+<!ENTITY torbutton.prefs.block_ntforms "Block password+form saving during Non-Tor (optional)">
Modified: torbutton/trunk/src/chrome/locale/ru-RU/torbutton.dtd
===================================================================
--- torbutton/trunk/src/chrome/locale/ru-RU/torbutton.dtd 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/locale/ru-RU/torbutton.dtd 2007-09-25 04:01:10 UTC (rev 11626)
@@ -57,3 +57,6 @@
<!ENTITY torbutton.prefs.spoof_english "Spoof US English Browser">
<!ENTITY torbutton.prefs.disable_referer "Don't send referer during Tor usage (may break some sites)">
<!ENTITY torbutton.prefs.disable_domstorage "Disable DOM Storage during Tor usage (crucial)">
+<!ENTITY torbutton.prefs.forms "Forms">
+<!ENTITY torbutton.prefs.block_tforms "Block password+form saving during Tor (recommended)">
+<!ENTITY torbutton.prefs.block_ntforms "Block password+form saving during Non-Tor (optional)">
Modified: torbutton/trunk/src/chrome/locale/sl-SI/torbutton.dtd
===================================================================
--- torbutton/trunk/src/chrome/locale/sl-SI/torbutton.dtd 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/locale/sl-SI/torbutton.dtd 2007-09-25 04:01:10 UTC (rev 11626)
@@ -57,3 +57,6 @@
<!ENTITY torbutton.prefs.spoof_english "Spoof US English Browser">
<!ENTITY torbutton.prefs.disable_referer "Don't send referer during Tor usage (may break some sites)">
<!ENTITY torbutton.prefs.disable_domstorage "Disable DOM Storage during Tor usage (crucial)">
+<!ENTITY torbutton.prefs.forms "Forms">
+<!ENTITY torbutton.prefs.block_tforms "Block password+form saving during Tor (recommended)">
+<!ENTITY torbutton.prefs.block_ntforms "Block password+form saving during Non-Tor (optional)">
Modified: torbutton/trunk/src/chrome/locale/zh-CN/torbutton.dtd
===================================================================
--- torbutton/trunk/src/chrome/locale/zh-CN/torbutton.dtd 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/locale/zh-CN/torbutton.dtd 2007-09-25 04:01:10 UTC (rev 11626)
@@ -57,3 +57,6 @@
<!ENTITY torbutton.prefs.spoof_english "Spoof US English Browser">
<!ENTITY torbutton.prefs.disable_referer "Don't send referer during Tor usage (may break some sites)">
<!ENTITY torbutton.prefs.disable_domstorage "Disable DOM Storage during Tor usage (crucial)">
+<!ENTITY torbutton.prefs.forms "Forms">
+<!ENTITY torbutton.prefs.block_tforms "Block password+form saving during Tor (recommended)">
+<!ENTITY torbutton.prefs.block_ntforms "Block password+form saving during Non-Tor (optional)">
Modified: torbutton/trunk/src/chrome/locale/zh-TW/torbutton.dtd
===================================================================
--- torbutton/trunk/src/chrome/locale/zh-TW/torbutton.dtd 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/chrome/locale/zh-TW/torbutton.dtd 2007-09-25 04:01:10 UTC (rev 11626)
@@ -57,3 +57,6 @@
<!ENTITY torbutton.prefs.spoof_english "Spoof US English Browser">
<!ENTITY torbutton.prefs.disable_referer "Don't send referer during Tor usage (may break some sites)">
<!ENTITY torbutton.prefs.disable_domstorage "Disable DOM Storage during Tor usage (crucial)">
+<!ENTITY torbutton.prefs.forms "Forms">
+<!ENTITY torbutton.prefs.block_tforms "Block password+form saving during Tor (recommended)">
+<!ENTITY torbutton.prefs.block_ntforms "Block password+form saving during Non-Tor (optional)">
Modified: torbutton/trunk/src/defaults/preferences/preferences.js
===================================================================
--- torbutton/trunk/src/defaults/preferences/preferences.js 2007-09-25 02:49:33 UTC (rev 11625)
+++ torbutton/trunk/src/defaults/preferences/preferences.js 2007-09-25 04:01:10 UTC (rev 11626)
@@ -63,6 +63,8 @@
pref("extensions.torbutton.spoof_language",'en-us, en');
pref("extensions.torbutton.disable_referer",false);
pref("extensions.torbutton.shutdown_method",1); // 0=none, 1=tor, 2=all
+pref("extensions.torbutton.block_tforms",true);
+pref("extensions.torbutton.block_ntforms",false);
// Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
pref("extensions.torbutton.appname_override","Netscape");