allo- / ffprofile

A tool to create firefox profiles with personalized defaults.
GNU Affero General Public License v3.0
786 stars 56 forks source link

Consider these additional user_prefs #97

Closed mdPlusPlus closed 5 years ago

mdPlusPlus commented 6 years ago
# A phony URL to replace telemetry endpoints with
PHONY_URL = "https://0.0.0.0"

# Dictionary of privacy-related preferences and their optimal value
PREFS = { 
    "browser.newtabpage.activity-stream.feeds.section.topstories.options": "",
    "browser.newtabpage.activity-stream.feeds.section.topstories" : False,
    "browser.newtabpage.activity-stream.feeds.snippets": False,
    "browser.newtabpage.activity-stream.feeds.telemetry" : False,
    "browser.newtabpage.activity-stream.telemetry" : False,
    "browser.newtabpage.activity-stream.telemetry.ping.endpoint" : PHONY_URL,
    "datareporting.healthreport.about.reportUrl" : PHONY_URL,
    "datareporting.healthreport.uploadEnabled" : False,
    "datareporting.policy.dataSubmissionEnabled" : False,
    "privacy.donottrackheader.enabled" : True,
    "privacy.donottrackheader.value" : 1,
    "social.whitelist" : "",
    "toolkit.telemetry.archive.enabled": False,
    "toolkit.telemetry.bhrPing.enabled" : False,
    "toolkit.telemetry.enabled" : False,
    "toolkit.telemetry.unified" : False,
    "toolkit.telemetry.newProfilePing.enabled" : False,
    "toolkit.telemetry.firstShutdownPing.enabled" : False,
    "toolkit.telemetry.server" : PHONY_URL,
    "app.shield.optoutstudies.enabled" : False,
    "experiments.enabled" : False,
    "experiments.manifest.uri" : PHONY_URL,
    "extensions.pocket.enabled" : False,
    "extensions.pocket.api" : PHONY_URL
}

Source: https://github.com/shawnanastasio/firefox-privacy-restorer/blob/master/firefox-privacy-restorer.py

allo- commented 6 years ago

Some of them are already covered, I will process the others when I find time. Pull requests and concrete issues will help but thanks anyway.

Do not use 0.0.0.0 as replacement URL. 0.0.0.0 will send the request to your own host. A bit like 127.0.0.1, only that it may choose other interfaces than the loopback interface.

It may be reasonable to either use something with the .invalid domain (RFC 2606) or a RFC 5737 IP like 192.0.2.1.

StarPicard commented 6 years ago

Remaining prefs:

    "browser.newtabpage.activity-stream.feeds.section.topstories.options": "",
    "browser.newtabpage.activity-stream.feeds.section.topstories" : False,
    "browser.newtabpage.activity-stream.feeds.snippets": False,
    "browser.newtabpage.activity-stream.feeds.telemetry" : False,
    "browser.newtabpage.activity-stream.telemetry" : False,
    "browser.newtabpage.activity-stream.telemetry.ping.endpoint" : PHONY_URL,
    "social.whitelist" : "",