openwpm.deploy_browsers.configure_firefox module

Set prefs and load extensions in Firefox

openwpm.deploy_browsers.configure_firefox.optimize_prefs(fo: Options) None[source]

Disable various features and checks the browser will do on startup. Some of these (e.g. disabling the newtab page) are required to prevent extraneous data in the proxy.

Source of prefs: * https://support.mozilla.org/en-US/kb/how-stop-firefox-making-automatic-connections * https://github.com/pyllyukko/user.js/blob/master/user.js

openwpm.deploy_browsers.configure_firefox.privacy(browser_params: BrowserParams, fo: Options) None[source]

Configure the privacy settings in Firefox. This includes: * DNT * Third-part cookie blocking * Tracking protection * Privacy extensions