Skip to content

Instantly share code, notes, and snippets.

View birdie-github's full-sized avatar

Artem S. Tashkinov birdie-github

View GitHub Profile
@birdie-github
birdie-github / policy.md
Last active March 13, 2025 03:32
Chrome for Linux: a policy to enable Manifest V2 and force enable DNS over HTTPS using CloudFlare's one.one.one.one server

This is for the official Google Chrome. No idea how Chromium works - it depends on your distro. The policy files are most likely compatible with Chromium forks as well but again the policies directory will be different.

To be put into /etc/opt/chrome/policies/managed:
DoH.json:{ "DnsOverHttpsMode": "secure" }
DoH-server.json:{ "DnsOverHttpsTemplates": "https://one.one.one.one/dns-query" }
ExtensionManifestV2Availability.json:{ "ExtensionManifestV2Availability": 2 }

Files names are totally arbitrary.