shell-things/etc/firefox/policies
Aminda Suomalainen c6f1d2f06e
{chromium,firefox}: cleanup uBo lists a bit
If the Pegasus domains still exist, they are likely caught by other lists, I cannot tell from a headachy glance whta are red.flag.domains, but I am again guessing they are included by another list too and same applies to ut1-blacklists. The computers running my policies also tend to have either Quad9 or Mullvad DNS on system level anyway
2025-01-25 10:35:03 +02:00
..
policies.json {chromium,firefox}: cleanup uBo lists a bit 2025-01-25 10:35:03 +02:00
README.md fix .prettierrc & run prettier again 2024-07-03 19:08:14 +03:00

Firefox policies.json

The file is pretty self-explanatory, but I prefer Chromium way of handling enterprise policies since it allows me to cut them to multiple different files per whatever I am doing.

WARNING TO LIBREWOLF USERS

This file takes priority over /usr/share/librewolf/distribution/policies.json so dont apply this or a lot of LibreWolf specific customizations stops being in force.

General warning

This is meant for me and devices I maintain for self-dogfooding so there are opinions. Including those Firefox wont accept and will appear as warnings or errors in about:config depending on the release channel or even all of them.

Extensions

They are mostly self-explanatory.

DuckDuckGo

  • jid1-ZAdIEUB7XOzOJw@jetpack

Although its not installed, I accidentally learned to manage it to tell it to shut up on install, because I know what is DuckDuckGo.

Privacy Badger

  • jid1-MnnxcxisBPnSXQ-eff@jetpack - Downloaded directly from EFF.

Configured to learn locally and also in incognito as opposed to only relying on vendor list. Also not display the “Welcome to Privacy Badger screen”.

See also:

Duplicate

-      "jid1-MnnxcxisBPnSXQ-eff@jetpack": {
-        "install_url": "https://www.eff.org/files/privacy-badger-latest.xpi",
+      "jid1-MnnxcxisBPnSXQ@jetpack": {
+        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/privacy-badger17/latest.xpi",

The EFF.org version wont sync and if you sync with unmanaged computer, you will have two PrivacyBadgers. Congratulations?

Search engines

Policy SearchEngines is only allowed on ESR.

But who cares? Anyway thus DuckDuckGo extension is installed by default so when testing this policy I wont have to see Google.

Additionally its a lie since at least Nightly reads it too without complaining.

Useful looking things for the future

Certificate installations

In the certificates section

{
  "Install": ["my_certificate_here.pem"]
}

Things that look useful, but arent

WebSiteFilter

{
  "policies": {
    "WebsiteFilter": {
      "Block": ["<all_urls>"],
      "Exceptions": ["http://example.org/*"]
    }
  }
}

Ok, nice, but my policy is already forcing AdNauseam which enforces my blocklist which is more practical.

Granted users can use private browsing mode to get past it, but I am not blocking actively malicious domains.