Skip to content

Instantly share code, notes, and snippets.

@zenfosec
Last active December 5, 2024 03:02
Show Gist options
  • Select an option

  • Save zenfosec/61400543ebf0302fda38e36009009304 to your computer and use it in GitHub Desktop.

Select an option

Save zenfosec/61400543ebf0302fda38e36009009304 to your computer and use it in GitHub Desktop.
Disable Automated Connections from Firefox

Disable Telemetry and Data Collection

  1. Access Firefox Configuration:

    • Open Firefox and type about:config in the address bar, then press Enter.
    • Accept the warning message by clicking on "Accept the Risk and Continue."
  2. Modify Preferences:

    • Search for each of the following preferences and set them to the specified values:
    Preference Value
    browser.newtabpage.activity-stream.feeds.telemetry false
    browser.newtabpage.activity-stream.telemetry false
    browser.ping-centre.telemetry false
    datareporting.healthreport.service.enabled false
    datareporting.healthreport.uploadEnabled false
    datareporting.policy.dataSubmissionEnabled false
    devtools.onboarding.telemetry.logged false
    toolkit.telemetry.archive.enabled false
    toolkit.telemetry.bhrPing.enabled false
    toolkit.telemetry.enabled false
    toolkit.telemetry.firstShutdownPing.enabled false
    toolkit.telemetry.hybridContent.enabled false
    toolkit.telemetry.newProfilePing.enabled false
    toolkit.telemetry.prompted 2 (Number Value)
    toolkit.telemetry.rejected true
    toolkit.telemetry.reportingpolicy.firstRun false
    toolkit.telemetry.server Delete URL
    toolkit.telemetry.shutdownPingSender.enabled false
    toolkit.telemetry.unified false
    toolkit.telemetry.unifiedIsOptIn false
    toolkit.telemetry.updatePing.enabled false
    browser.newtabpage.activity-stream.discoverystream.merino-provider.enabled false
    browser.newtabpage.activity-stream.discoverystream.merino-provider.endpoint Delete URL
    browser.urlbar.merino.endpointURL Delete URL
    extensions.pocket.enabled false
    app.normandy.enabled false
    app.normandy.api_url Delete URL
    services.sync.autoconnect false
    services.sync.engine.addons false
    services.sync.engine.bookmarks false
    services.sync.engine.history false
    services.sync.engine.passwords false
    services.sync.engine.prefs false
    services.sync.engine.tabs false
    browser.safebrowsing.blockedURIs.enabled false
    browser.safebrowsing.malware.enabled false
    browser.safebrowsing.phishing.enabled false
    browser.safebrowsing.downloads.enabled false
    browser.topsites.contile.enabled false
    browser.topsites.contile.endpont Delete URL
    browser.contile.sov.enabled false
    privacy.trackingprotection.enabled false

Disable Captive Portal Detection

  1. Disable Captive Portal Service:
    • In the about:config page, search for network.captive-portal-service.enabled.
    • Set this preference to false to stop Firefox from checking for captive portals[4].

Additional Settings

  1. Disable Other Automatic Connections:
    • Consider disabling other automatic connections that Firefox might make, such as Safe Browsing, Enhanced Tracking Protection and certificate revocation checks, through the Privacy & Security settings in about:preferences[7].

Sources [1] How to disable Firefox Telemetry and Data Collection - GitHub https://github.com/K3V1991/Disable-Firefox-Telemetry-and-Data-Collection [2] How can you filter out "noise" like Firefox telemetry in Burp Proxy ... https://www.reddit.com/r/AskNetsec/comments/g3qvuj/how_can_you_filter_out_noise_like_firefox/ [3] Mozilla does not respect user requests to stop tracking telemetry data https://www.privateinternetaccess.com/blog/mozilla-does-not-respect-user-requests-to-stop-tracking-telemetry-data/ [4] Towards a Quieter Firefox - Black Hills Information Security https://www.blackhillsinfosec.com/towards-quieter-firefox/ [5] Disable telemetry : r/firefox - Reddit https://www.reddit.com/r/firefox/comments/139zp0j/disable_telemetry/ [6] 1850243 - We need easy settings to totally disable telemetry https://bugzilla.mozilla.org/show_bug.cgi?id=1850243 [7] Silencing Firefox's Chattiness for Web App Testing - Secure Ideas https://www.secureideas.com/blog/2018/10/silencing-firefoxs-chattiness-for-web-app-testing.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment