Commit c33ce9a4 authored by Tails developers's avatar Tails developers

Consistently user pref() instead of user_pref() when possible.

parent ab7d09df
/* Disable proxy settings. We also set the other settings that
Torbutton requires to be happy, i.e. its icon is green. */
user_pref("extensions.torbutton.http_port", 4444);
user_pref("extensions.torbutton.http_proxy", "127.0.0.1");
user_pref("extensions.torbutton.https_port", 4444);
user_pref("extensions.torbutton.https_proxy", "127.0.0.1");
user_pref("extensions.torbutton.custom.ftp_port", 4444);
user_pref("extensions.torbutton.custom.ftp_proxy", "127.0.0.1");
user_pref("extensions.torbutton.custom.http_port", 4444);
user_pref("extensions.torbutton.custom.http_proxy", "127.0.0.1");
user_pref("extensions.torbutton.custom.https_port", 4444);
user_pref("extensions.torbutton.custom.https_proxy", "127.0.0.1");
user_pref("extensions.torbutton.ftp_port", 4444);
user_pref("extensions.torbutton.ftp_proxy", "127.0.0.1");
user_pref("extensions.torbutton.gopher_port", 4444);
user_pref("extensions.torbutton.gopher_proxy", "127.0.0.1");
user_pref("extensions.torbutton.inserted_button", true);
user_pref("extensions.torbutton.settings_method", "custom");
user_pref("network.proxy.ftp", "127.0.0.1");
user_pref("network.proxy.ftp_port", 4444);
user_pref("network.proxy.http", "127.0.0.1");
user_pref("network.proxy.http_port", 4444);
user_pref("network.proxy.no_proxies_on", "127.0.0.1");
user_pref("network.proxy.ssl", "127.0.0.1");
user_pref("network.proxy.ssl_port", 4444);
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");
pref("network.proxy.http_port", 4444);
pref("network.proxy.no_proxies_on", "127.0.0.1");
pref("network.proxy.ssl", "127.0.0.1");
pref("network.proxy.ssl_port", 4444);
// Disable searching from the URL bar
user_pref("keyword.enabled", false);
pref("keyword.enabled", false);
// Hide "Get Addons" in Add-ons manager
user_pref("extensions.getAddons.showPane", false);
pref("extensions.getAddons.showPane", false);
/* Prevent File -> Print or CTRL+P from causing the browser to hang
for several minutes while trying to communicate with CUPS, since
access to port 631 isn't allowed through. */
user_pref("print.postscript.cups.enabled", false);
pref("print.postscript.cups.enabled", false);
......@@ -7,4 +7,4 @@ pref("network.proxy.socks_remote_dns", false);
access to port 631 isn't allowed through. */
pref("print.postscript.cups.enabled", false);
// Hide "Get Addons" in Add-ons manager
user_pref("extensions.getAddons.showPane", false);
pref("extensions.getAddons.showPane", false);
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