Commit 141a9be4 authored by kytv's avatar kytv

Remove TorButton configs from I2P Browser

The purpose of these settings was to show a green TorButton button in
the toolbar. Since this button is now hidden these settings can be
removed.

Will-fix: #8893
parent c4bdd6c1
......@@ -58,9 +58,9 @@ copy_extra_tbb_prefs () {
local browser_prefs_dir="${chroot}/home/${browser_user}/.${browser_name}/profile.default/preferences"
mkdir -p "${browser_prefs_dir}"
# Selectively copy the TBB prefs we want
sed '/\(security\|update\|download\|spell\|noscript\|torbrowser\|torbutton\)/!d' "${tbb_prefs}/0000tails.js" > \
sed '/\(security\|update\|download\|spell\|noscript\|torbrowser\)/!d' "${tbb_prefs}/0000tails.js" > \
"${browser_prefs_dir}/0000tails.js"
sed '/\(capability\|noscript\|torbutton\)/!d' "${tbb_prefs}/extension-overrides.js" > \
sed '/\(capability\|noscript\)/!d' "${tbb_prefs}/extension-overrides.js" > \
"${browser_prefs_dir}/extension-overrides.js"
chown -R "${browser_user}:${browser_user}" "${browser_prefs_dir}"
}
......
/* Disable proxy settings. We also set the other settings that
Torbutton requires to be happy, i.e. its icon is green. */
pref("extensions.torbutton.http_port", 4444);
pref("extensions.torbutton.http_proxy", "127.0.0.1");
pref("extensions.torbutton.https_port", 4444);
pref("extensions.torbutton.https_proxy", "127.0.0.1");
pref("extensions.torbutton.custom.ftp_port", 4444);
pref("extensions.torbutton.custom.ftp_proxy", "127.0.0.1");
pref("extensions.torbutton.custom.http_port", 4444);
pref("extensions.torbutton.custom.http_proxy", "127.0.0.1");
pref("extensions.torbutton.custom.https_port", 4444);
pref("extensions.torbutton.custom.https_proxy", "127.0.0.1");
pref("extensions.torbutton.ftp_port", 4444);
pref("extensions.torbutton.ftp_proxy", "127.0.0.1");
pref("extensions.torbutton.gopher_port", 4444);
pref("extensions.torbutton.gopher_proxy", "127.0.0.1");
pref("extensions.torbutton.inserted_button", true);
pref("extensions.torbutton.settings_method", "custom");
pref("network.proxy.ftp", "127.0.0.1");
pref("network.proxy.ftp_port", 4444);
pref("network.proxy.http", "127.0.0.1");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment