Benutzer-Werkzeuge

Webseiten-Werkzeuge


Seitenleiste

Inhalt




Homepage LUG WR

Impressum

user:sprobst:blog:firefox_die_2._etc_firefox_policies_policies.json

Dies ist eine alte Version des Dokuments!


Firefox die 2.: /etc/firefox/policies/policies.json

Durch den vorhergehend Artikel habe ich mir endlich die Zeit genommen, mir eine Standardkonfiguration für den Firefox zu bauen. Vorteil ist, das man diverse Funktionen sich so einstellen kann, das nach einer Neueinrichtung des Systems, gleich wieder alle Funktionen zur Verfügung stehen und, zum Beispiel, die Telemetriedaten deaktiviert sind. Unabhängig davon muss trotzdem, wenn es erwünscht ist, das alte Profile von $HOME/.mozilla umgezogen werden, wenn nicht die Synchronisierung mit Firefox1) aktiviert wurde. Das muss jeder selbst entscheiden, in wie weit er der Mozilla Fondation seine Daten anvertraut und soll hier nicht Thema sein.

Ich habe mir die policies.json unter nixOS bauen lassen, da es hier gut Vorlagen gibt. Dafür habe ich mir ein flake erstellt. Die entsprechende Konfiguration findest du hier → auf Codeberg.

Ein Beispiel wie die policies.json aussehen kann, siehst du hier.

policies.json
{
  "policies": {
    "DisableAccounts": true,
    "DisableFirefoxAccounts": true,
    "DisableFirefoxScreenshots": true,
    "DisableFirefoxStudies": true,
    "DisablePocket": true,
    "DisableTelemetry": true,
    "DisplayBookmarksToolbar": "never",
    "DisplayMenuBar": "default-off",
    "DontCheckDefaultBrowser": true,
    "EnableTrackingProtection": {
      "Cryptomining": true,
      "Fingerprinting": true,
      "Locked": true,
      "Value": true
    },
    "ExtensionSettings": {
      "floccus@handmadeideas.org": {
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/floccus/latest.xpi",
        "installation_mode": "force_installed"
      },
      "idcac-pub@guus.ninja": {
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/istilldontcareaboutcookies/latest.xpi",
        "installation_mode": "force_installed"
      },
      "jid1-DNc5AXAyVmgNjQ@jetpack": {
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/fxqrl/latest.xpi",
        "installation_mode": "force_installed"
      },
      "langpack-de@firefox.mozilla.org": {
        "install_url": "https://releases.mozilla.org/pub/firefox/releases/123.0.1/linux-x86_64/xpi/de.xpi",
        "installation_mode": "normal_installed"
      },
      "langpack-en-US@firefox.mozilla.org": {
        "install_url": "https://releases.mozilla.org/pub/firefox/releases/123.0.1/linux-x86_64/xpi/en-US.xpi",
        "installation_mode": "normal_installed"
      },
      "languagetool-webextension@languagetool.org": {
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/languagetool/latest.xpi",
        "installation_mode": "force_installed"
      },
      "ncpasswords@mdns.eu": {
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/nextcloud_passwords/latest.xpi",
        "installation_mode": "force_installed"
      },
      "qwantcomforfirefox@jetpack": {
        "install_url": "https://addons.mozilla.org/firefox/downloads/file/3996872/qwantcom_for_firefox-7.0.4.9.xpi",
        "installation_mode": "force_installed"
      },
      "uBlock0@raymondhill.net": {
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi",
        "installation_mode": "force_installed"
      },
      "{e4a12b8a-ab12-449a-b70e-4f54ccaf235e}": {
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/proxy_switcher_and_manager/latest.xpi",
        "installation_mode": "force_installed"
      }
    },
    "OverrideFirstRunPage": "",
    "OverridePostUpdatePage": "",
    "Preferences": {
      "browser.contentblocking.category": {
        "Status": "locked",
        "Value": "strict"
      },
      "browser.formfill.enable": {
        "Status": "locked",
        "Value": false
      },
      "browser.newtabpage.activity-stream.feeds.section.topstories": {
        "Status": "locked",
        "Value": false
      },
      "browser.newtabpage.activity-stream.feeds.snippets": {
        "Status": "locked",
        "Value": false
      },
      "browser.newtabpage.activity-stream.section.highlights.includeBookmarks": {
        "Status": "locked",
        "Value": false
      },
      "browser.newtabpage.activity-stream.section.highlights.includeDownloads": {
        "Status": "locked",
        "Value": false
      },
      "browser.newtabpage.activity-stream.section.highlights.includePocket": {
        "Status": "locked",
        "Value": false
      },
      "browser.newtabpage.activity-stream.section.highlights.includeVisited": {
        "Status": "locked",
        "Value": false
      },
      "browser.newtabpage.activity-stream.showSponsored": {
        "Status": "locked",
        "Value": false
      },
      "browser.newtabpage.activity-stream.showSponsoredTopSites": {
        "Status": "locked",
        "Value": false
      },
      "browser.newtabpage.activity-stream.system.showSponsored": {
        "Status": "locked",
        "Value": false
      },
      "browser.search.suggest.enabled": {
        "Status": "locked",
        "Value": false
      },
      "browser.search.suggest.enabled.private": {
        "Status": "locked",
        "Value": false
      },
      "browser.topsites.contile.enabled": {
        "Status": "locked",
        "Value": false
      },
      "browser.urlbar.showSearchSuggestionsFirst": {
        "Status": "locked",
        "Value": false
      },
      "browser.urlbar.suggest.searches": {
        "Status": "locked",
        "Value": false
      },
      "extensions.pocket.enabled": {
        "Status": "locked",
        "Value": false
      },
      "extensions.screenshots.disabled": {
        "Status": "locked",
        "Value": true
      }
    },
    "SearchBar": "unified"
  }
}

Die ganzen Optionsschalter sind gut dokumentiert und lassen sich über die Einschlägigen Seiten herausfinden. Optional sei auch hier wieder auf die about:config vervwiesen.

1)
Firefox Cloud/Konto → https://www.mozilla.org/de/account/
Cookies helfen bei der Bereitstellung von Inhalten. Diese Website verwendet Cookies. Mit der Nutzung der Website erklären Sie sich damit einverstanden, dass Cookies auf Ihrem Computer gespeichert werden. Außerdem bestätigen Sie, dass Sie unsere Datenschutzerklärung gelesen und verstanden haben. Wenn Sie nicht einverstanden sind, verlassen Sie die Website. Weitere Information
user/sprobst/blog/firefox_die_2._etc_firefox_policies_policies.json.1712505769.txt.gz · Zuletzt geändert: 2024/04/07 18:02 von SProbst