Commit b51da91
authored
fix missing foreign language characters, block translation popup (#88)
before:
<img width="1924" height="1087" alt="image"
src="https://github.com/user-attachments/assets/da6de497-5d63-46d7-b38c-c2f0011ce39e"
/>
after:
<img width="1921" height="1082" alt="image"
src="https://github.com/user-attachments/assets/3499d10b-d8da-4948-8659-92c9926d7da2"
/>
also applied the same policy file to the headless image. Tested this
with a vibed up playwright script that connected to the headless image
and took a screenshot of coupang.com
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Adds CJK/emoji fonts and shared Chromium managed policy (disabling
translate/autofill/password manager) to both headful and headless
images.
>
> - **Docker images**:
> - **Headful (`images/chromium-headful/Dockerfile`)**:
> - Install `fontconfig`, `fonts-noto-cjk`, `fonts-noto-color-emoji`,
`fonts-nanum`; run `fc-cache -f`; minor cleanup with `apt-get clean`.
> - Copy shared Chromium managed policy to
`/etc/chromium/policies/managed/policy.json`.
> - **Headless (`images/chromium-headless/image/Dockerfile`)**:
> - Install `fontconfig`, `fonts-noto-cjk`, `fonts-noto-color-emoji`,
`fonts-nanum`; run `fc-cache -f`.
> - Copy shared Chromium managed policy to
`/etc/chromium/policies/managed/policy.json`.
> - **Chromium policies**:
> - Add `shared/chromium-policies/managed/policy.json` with
`PasswordManagerEnabled`, `AutofillCreditCardEnabled`, and
`TranslateEnabled` set to `false`.
> - Remove legacy
`image-chromium/etc/chromium/policies/managed/autofill.json`.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
f8b915f. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent e928eb1 commit b51da91
4 files changed
Lines changed: 25 additions & 7 deletions
File tree
- images
- chromium-headful
- image-chromium/etc/chromium/policies/managed
- chromium-headless/image
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
118 | 123 | | |
119 | 124 | | |
120 | 125 | | |
| |||
194 | 199 | | |
195 | 200 | | |
196 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
197 | 206 | | |
198 | 207 | | |
199 | 208 | | |
| |||
Lines changed: 0 additions & 5 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
65 | 69 | | |
66 | | - | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
75 | 80 | | |
76 | 81 | | |
77 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
78 | 87 | | |
79 | 88 | | |
80 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments