Bundled Chromium extensions (copy-url, yt-dlp, whatsapp-slim) silently fail to load on Google Chrome 153 — --load-extension is ignored
Summary
All three bundled Chromium extensions (copy-url, yt-dlp, whatsapp-slim) silently fail to load in Google Chrome 153, because Chrome no longer honours the --load-extension command-line flag that Omarchy uses to install them.
They still load correctly in Chromium 152, so this is specific to newer Chrome (and presumably other Chromium-family builds as they catch up).
There is no error and no warning — ~/.config/chrome-flags.conf still contains a correct-looking --load-extension= line, the native messaging hosts are installed and working, and the keyboard shortcuts are still advertised in the Omarchy keybindings menu (SUPER + K). The features just do nothing.
What breaks
| Extension | User-facing feature | Status on Chrome 153 |
|---|---|---|
copy-url |
Alt+Shift+L — copy tab URL to clipboard + notification |
dead |
yt-dlp |
Alt+Shift+D — download page video to ~/Videos |
dead |
whatsapp-slim |
system theme + collapsed chat rail on web.whatsapp.com | dead |
Omarchy owns this config for Chrome, so this is not user misconfiguration:
omarchy-install-browser chromerunscopy_chromium_flags ~/.config/chrome-flags.conf- migration
1785543725.shexplicitly appendswhatsapp-slimto$HOME/.config/chrome-flags.conf
The same copy_chromium_flags path is used for Edge and Brave, so those are likely affected too once their Chromium base crosses the same version.
Steps to reproduce
Minimal, self-contained — a trivial extension that stamps an attribute on any page:
mkdir -p /tmp/lt/ext /tmp/lt/www
cat > /tmp/lt/ext/manifest.json <<'JSON'
{ "manifest_version": 3, "name": "loadtest", "version": "1.0",
"content_scripts": [{ "matches": ["http://localhost:8811/*"],
"js": ["mark.js"], "run_at": "document_end" }] }
JSON
echo "document.documentElement.setAttribute('data-ext-loaded','YES');" > /tmp/lt/ext/mark.js
echo '<!doctype html><title>t</title><body>hello' > /tmp/lt/www/index.html
(cd /tmp/lt/www && python3 -m http.server 8811 &) ; sleep 2
for br in google-chrome-stable chromium; do
rm -rf /tmp/lt/p
timeout 30 $br --headless=new --no-sandbox --user-data-dir=/tmp/lt/p \
--load-extension=/tmp/lt/ext --virtual-time-budget=4000 \
--dump-dom http://localhost:8811/ 2>/dev/null > /tmp/lt/o.html
echo "$br -> page_ok=$(grep -c hello /tmp/lt/o.html) ext_loaded=$(grep -c data-ext-loaded /tmp/lt/o.html)"
done
Result:
google-chrome-stable -> page_ok=1 ext_loaded=0 # flag ignored
chromium -> page_ok=1 ext_loaded=1 # works
page_ok=1 in both confirms the page itself loaded, so the failure is the extension, not the harness.
Adding --enable-unsafe-extension-debugging or --disable-extensions-except=<dir> does not change the Chrome result.
Also confirmed headful
Not just a headless artefact. On a real desktop Chrome 153 session:
- A custom unpacked extension added to the
--load-extension=list in~/.config/chrome-flags.conf, followed by a full Chrome restart → its CSS had no effect (verified viagetComputedStyleon a live page; the flag was present in/proccmdline). - The same extension, same files, installed via
chrome://extensions→ Load unpacked → worked immediately.
Only the delivery mechanism differed.
Correspondingly, Alt+Shift+L and Alt+Shift+D do nothing on Chrome 153, and Hyprland is not intercepting them (no ALT+SHIFT binds on L/D — checked via hyprctl binds).
Suggested fix
Chrome removed --load-extension as an anti-malware measure, so it is unlikely to come back. The supported replacement for machine-provisioned extensions is enterprise policy — which Omarchy already has plumbing for, since browser-policy.sh provisions /etc/opt/chrome/policies/managed (currently holding color.json).
Delivering the three extensions via an ExtensionSettings policy entry (packed .crx + update_url, or installation_mode: normal_installed) would keep them working across the whole Chromium family without relying on the removed flag.
Failing that, it would at least help to detect the situation and warn the user, rather than leaving three advertised keybindings silently doing nothing.
System details
Omarchy 4.0.3-1 (BUILD_ID 4.0.3)
Kernel 7.2.3-arch1-3
Hyprland 0.56.2
google-chrome 153.0.8010.36-1 <- broken
chromium 152.0.7977.82-1 <- works
Native messaging hosts are installed correctly and are not the problem —
com.omarchy.copy_url and com.omarchy.ytdlp are both registered under
~/.config/google-chrome/NativeMessagingHosts/ and point at valid host scripts.
Related: #11584 reports a separate bug affecting the same three bundled extensions, on Brave Origin — there the extension loads fine via --load-extension and its keyboard shortcut registers correctly (verified in Preferences), but the native-messaging-host manifest is simply missing from that browser's profile directory in omarchy-install-chromium-ytdlp/omarchy-install-chromium-copy-url. Different root cause than the Chrome 153 --load-extension removal described here, just the same family of extensions.
Confirmed on Omarchy 4.0.3 + Google Chrome 152.0.7977.82. #7817 fixes it for me: all three extensions load and Alt+Shift+L / Alt+Shift+D work after a Chrome restart. Test details are in my comment there.
Still the case on a newer Chrome, in case it helps decide between #7817 and #12971.
I launched each browser headless with a fresh, empty profile and Omarchy's own flag line from /usr/share/omarchy/config/chromium-flags.conf (--load-extension=/usr/share/omarchy/default/chromium/extensions/copy-url,…/yt-dlp,…/whatsapp-slim), then looked for those paths in the new profile's Preferences / Secure Preferences:
| browser | extensions registered |
|---|---|
| Google Chrome 155.0.8059.39 | none |
| Chromium 152.0.7977.82 | copy-url, yt-dlp, whatsapp-slim |
The Chrome binary still contains --load-extension is not allowed in Google Chrome, ignoring., so this isn't going to come back on its own (removal announced for Chrome 137: https://groups.google.com/a/chromium.org/g/chromium-extensions/c/1-g8EFx2BBY/m/S0ET5wPjCAAJ).
A few notes on the options, for whoever picks:
- Load unpacked (
chrome://extensions→ Developer mode) works today with the same files and needs no root, but it's manual and per profile. Fine as documentation alongside #12971. - Chrome Web Store gives stable extension IDs and updates, which also makes the native-messaging
allowed_originssimple. The cost is a publisher account and review for each update. - Enterprise policy (
ExtensionInstallForcelist/ExtensionSettingswith a self-hosted CRX and update manifest) works across the Chromium family and fits the/etc/opt/chrome/policies/manageddirectory Omarchy already creates. It needs root to write the policy. Withforce_installedthe user can't disable or remove the extensions;normal_installedlets them be disabled, though still not removed. (Chrome already shows "managed by your organization" on Omarchy, because of the existing policy file in that directory, so that part changes nothing.) - #7817's approach (locally signed CRX under
/usr/share/google-chrome/extensions) installs automatically without a policy file, with per-machine IDs as the tradeoff (and Chrome may ask once before enabling an externally added extension).
Written and built by Claude (Anthropic) on behalf of @HemangKumawat, and tested on his Omarchy laptop.
Checked against quattro: the cause is as described. The only way the three bundled extensions reach a browser is the --load-extension line in config/chromium-flags.conf, and omarchy-install-browser chrome copies that file unchanged to ~/.config/chrome-flags.conf (bin/omarchy-install-browser, copy_chromium_flags at line 33, called for Chrome at line 61). Google-branded Chrome has ignored that switch since 137, and nothing else on quattro installs these extensions into Chrome. omarchy-install-chromium-copy-url and omarchy-install-chromium-ytdlp only write the native messaging hosts. I did not run Chrome on a worker for this. The mechanism is visible in the source, and three reports here agree on it (Chrome 151, 153 and 155, all against a working Chromium).
Two open pull requests address it:
- #7817 packs each extension into a locally signed CRX, registers it in
/usr/share/google-chrome/extensions, and adds the per-machine ids to the native messaging hosts'allowed_origins. As far as the code shows, this makes the extensions load and work in Chrome, and @elpargo confirmed it does on their machine. Because the CRXs are packed once, a later change to an extension only reaches existing Chrome installs if something packs it again with a higher version. - #12971 removes the dead flag from Chrome's flags file and warns at install time. That makes the problem visible, but the extensions still don't load.
I tried to link #7817 to this issue so that merging it would close this one. The bot's tooling refused, because #7817 is classed as a feature the maintainer hasn't assigned to it. That PR will be reviewed separately.
Codex at medium effort reviewed this as a second opinion and reached the same conclusions. Its review isn't fully independent of mine. It also pointed out that the CRXs are a snapshot. Choosing between the two approaches is up to the maintainer, and this issue is waiting on that decision.
Confirmed direction matches what we're seeing: Chrome dropped --load-extension honoring. Related PRs: #12971 (omit the flag from Google Chrome flags) and #7817 (install bundled extensions into Chrome properly). #10978 covers Brave-Origin native messaging.
Once one of those lands we can close this; until then the silent no-op is the user-visible bug.