# -*- mode: yaml; indent-tabs-mode: nil; tab-width: 2; coding: utf-8-unix -*-
---

# careful - strings need doublequoting
# now merged with  src/ansible/roles/privacy/overlay/Linux/var/local/src/firefox_prefs.bash
proxy_firefox_userprefs:
  - { name: "extensions.torbutton.socks_host", val: "'127.0.0.1'", invalid: [] }
  - { name: "extensions.torbutton.socks_port", val: 9150, invalid: [] }
#?  - { name: "extensions.torbutton.startup", val: true, invalid: [] }
#?  - { name: "extensions.torbutton.use_privoxy", val: true, invalid: [] }

  #user_pref("extensions.torlauncher.control_port", {{PRIV_TOR_CONTROLPORT}} );
  #user_pref("extensions.torlauncher.default_bridge_type", '""');
  #user_pref("extensions.torlauncher.loglevel", 2);
  #user_pref("extensions.torlauncher.logmethod", 0);
  #user_pref("extensions.torlauncher.prompt_at_startup", false);
  - { name: "extensions.torlauncher.start_tor", val: false, invalid: [] }

  - { name: "extensions.torbutton.socks_host", '127.0.0.1', invalid: [] }
  - { name: "extensions.torbutton.socks_port", 9050, invalid: [] }
  - { name: "extensions.torlauncher.socks_port_flags", "PreferIPv4", invalid: [] }
  - { name: "extensions.torlauncher.start_tor", false, invalid: [] }

  - { name: "network.proxy.http", val: "'127.0.0.1'", invalid: [] }
  - { name: "network.proxy.http_port", val: 3128, invalid: [] }
  - { name: "network.proxy.no_proxies_on", val: "127.0.0.1,localhost", invalid: [] }
  - { name: "network.proxy.socks", val: "'127.0.0.1'", invalid: [] }
  - { name: "network.proxy.socks_port", val: 9050, invalid: [] }
  - { name: "network.proxy.socks_remote_dns", true, invalid: [] }
  - { name: "network.proxy.socks_version", val: 5, invalid: [] }
  - { name: "network.proxy.ssl", val: "'127.0.0.1'", invalid: [] }
  - { name: "network.proxy.ssl_port", val: 9128, invalid: [] }
  - { name: "network.proxy.type", val: 1, invalid: [] }
