Browser De-Slop

cullumsmith1 pts0 comments

Browser De-Slop | Cullum Smith

Modern browsers ship with an insane amount of bloatware.

You can point and click in the browser settings to disable most of it.<br>Or, you can de-slop the browser by force using a policy file.

Policy File Locations

To get started, create a JSON file at the appropriate path for your distribution.<br>Here’s a few that I’m aware of:

Distribution<br>Browser<br>Path

FreeBSD<br>Chromium<br>/usr/local/etc/chromium/policies/managed/policies.json

FreeBSD<br>Firefox<br>/usr/local/lib/firefox/distribution/policies.json

Ubuntu<br>Chrome<br>/etc/opt/chrome/policies/managed/policies.json

Ubuntu<br>Chromium<br>/etc/chromium-browser/policies/managed/policies.json

Ubuntu<br>Firefox<br>/etc/firefox/policies/policies.json

RedHat<br>Chromium<br>/etc/chromium/policies/managed/policies.json

RedHat<br>Firefox<br>/etc/firefox/policies/policies.json

Allegedly, these policies are also supported on Windows via Group Policy and MacOS using plist files.<br>I wouldn’t know, since I use a real operating system.

Firefox

You should read the docs for each option<br>to understand what it does. My configuration here does a few things:

Disables all extra functionality (Pocket, Relay, homepage widgets)

Disables telemetry

Disables anything AI-related

Installs and configures uBlock Origin

Disables native privacy and anti-tracking features

Disables DNS-over-HTTPS

Disables cute messages on first run

Disables built-in password manager (I use Bitwarden)

Sets default search engine to DuckDuckGo

Disables search suggestions

"policies": {<br>"ExtensionSettings": {<br>"uBlock0@raymondhill.net": {<br>"install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi",<br>"installation_mode": "force_installed"<br>},<br>"3rdparty": {<br>"Extensions": {<br>"uBlock0@raymondhill.net": {<br>"toOverwrite": {<br>"filterLists": [<br>"user-filters",<br>"ublock-filters",<br>"ublock-badware",<br>"ublock-privacy",<br>"ublock-quick-fixes",<br>"ublock-unbreak",<br>"easylist",<br>"easyprivacy",<br>"adguard-spyware-url",<br>"urlhaus-1",<br>"plowe-0",<br>"fanboy-cookiemonster",<br>"ublock-cookies-easylist",<br>"fanboy-thirdparty_social",<br>"ublock-annoyances"<br>},<br>"toAdd": {<br>"trustedSiteDirectives": [<br>"intranet.example.com"<br>},<br>"UserMessaging": {<br>"WhatsNew": false,<br>"ExtensionRecommendations": false,<br>"UrlbarInterventions": false,<br>"SkipOnboarding": true<br>},<br>"OverridePostUpdatePage": "",<br>"OverrideFirstRunPage": "",<br>"EnableTrackingProtection": {<br>"Value": false,<br>"Cryptomining": false,<br>"Fingerprinting": false,<br>"Locked": false<br>},<br>"Cookies": {<br>"Behavior": "reject-tracker-and-partition-foreign",<br>"BehaviorPrivateBrowsing": "reject-tracker-and-partition-foreign"<br>},<br>"NoDefaultBookmarks": true,<br>"DisablePocket": true,<br>"DisableAppUpdate": true,<br>"CaptivePortal": false,<br>"Certificates": {<br>"Install": [<br>"/usr/local/share/certs/trusted/your-custom-root-ca.crt"<br>},<br>"DisableFeedbackCommands": true,<br>"DisableFirefoxAccounts": true,<br>"DisableFirefoxStudies": true,<br>"DisableTelemetry": true,<br>"DontCheckDefaultBrowser": true,<br>"OfferToSaveLoginsDefault": false,<br>"DNSOverHTTPS": {<br>"Enabled": false<br>},<br>"SearchSuggestEnabled": false,<br>"Homepage": {<br>"URL": "about:home",<br>"StartPage": "homepage"<br>},<br>"SearchEngines": {<br>"Add": [<br>"Name": "ddg",<br>"URLTemplate": "https://duckduckgo.com/?q={searchTerms}",<br>"Method": "GET",<br>"IconURL": "https://duckduckgo.com/favicon.ico",<br>"Alias": "ddg",<br>"Description": "DuckDuckGo",<br>"SuggestURLTemplate": "https://duckduckgo.com/ac/?q={searchTerms}&type=list"<br>],<br>"Default": "ddg"<br>},<br>"FirefoxHome": {<br>"Search": true,<br>"TopSites": false,<br>"SponsoredTopSites": false,<br>"Highlights": false,<br>"Pocket": false,<br>"SponsoredPocket": false,<br>"Snippets": false<br>},<br>"AIControls": {<br>"Default": {<br>"Value": "blocked",<br>"Locked": true<br>},<br>"ExtensionUpdate": true,<br>"Preferences": {<br>"dom.security.https_only_mode": {<br>"Value": true,<br>"Status": "locked"<br>},<br>"dom.push.connection.enabled": {<br>"Value": false,<br>"Status": "default"<br>},<br>"browser.urlbar.suggest.quicksuggest.nonsponsored": {<br>"Value": false,<br>"Status": "locked"<br>},<br>"browser.urlbar.suggest.quicksuggest.sponsored": {<br>"Value": false,<br>"Status": "locked"<br>},<br>"browser.toolbars.bookmarks.visibility": {<br>"Value": "newtab",<br>"Status": "default"<br>},<br>"browser.safebrowsing.malware.enabled": {<br>"Value": false,<br>"Status": "locked"<br>},<br>"browser.safebrowsing.phishing.enabled": {<br>"Value": false,<br>"Status": "locked"<br>},<br>"browser.safebrowsing.downloads.enabled": {<br>"Value": false,<br>"Status": "locked"<br>},<br>"browser.newtabpage.activity-stream.feeds.section.topstories": {<br>"Value": false,<br>"Status": "locked"<br>},<br>"browser.newtabpage.activity-stream.showSponsoredCheckboxes": {<br>"Value": false,<br>"Status": "locked"<br>},<br>"browser.newtabpage.activity-stream.widgets.system.weather.enabled": {<br>"Value": false,<br>"Status": "default"<br>},<br>"browser.urlbar.suggest.quicksuggest.all": {<br>"Value": false,<br>"Status": "locked"<br>},<br>"browser.tabs.groups.smart.userEnabled": {<br>"Value": false,<br>"Status": "default"<br>},<br>"signon.management.page.breach-alerts.enabled": {<br>"Value": false,<br>"Status": "locked"<br>},<br>"privacy.fingerprintingProtection.pbmode": {<br>"Value": false,<br>"Status":...

false browser value policies status true

Related Articles