Install Cookie-Editor in every computer's browser

A managed Chrome policy, written as root into each running computer's
container on provision and every sync-computers run, installs the
default extensions (normal_installed: can be turned off, not removed).
Existing computers get it without being recreated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-27 14:18:36 +01:00
co-authored by Claude Opus 5.5
parent dd6b48fcf5
commit ac1048c8f3
9 changed files with 181 additions and 3 deletions
+6
View File
@@ -119,6 +119,12 @@ export const AppData = {
*/
ComputerBrowserDataDir: "computer-browsers",
ComputerBrowserProfileDir: "/home/gem/.cobble-browser",
/**
* The managed policy file a computer's Chrome reads (the image's
* Chrome looks in `/etc/chromium/policies/managed`), written into the
* container by `syncComputerBrowserPolicy`.
*/
ComputerBrowserPolicyFile: "/etc/chromium/policies/managed/cobble.json",
/**
* Written at the root of a computer's workspace once it uses that
* layout, so an older computer's whole home is told apart and moved
+9
View File
@@ -0,0 +1,9 @@
/**
* Chrome Web Store extensions every computer's browser gets, installed by
* a managed policy (`computerBrowserPolicy`, written by
* `syncComputerBrowserPolicy`). They're installed as `normal_installed`:
* a user can turn one off in that browser, but not remove it.
*/
export const ComputerBrowserExtensions = [
{ id: "hlkenndednhfkekhgcdicdfddnkalmdm", name: "Cookie-Editor" },
] as const;