home/captive-browser: update chrome args to replace deprecated args

taken from https://github.com/FiloSottile/captive-browser/pull/32
This commit is contained in:
Trolli Schmittlauch 2025-08-29 10:16:09 +02:00
parent 57a2e3b839
commit 97e3a87d12
2 changed files with 27 additions and 2 deletions

View file

@ -36,8 +36,20 @@ in
${cfg.browserCommand} \
--user-data-dir="$HOME/Library/Application Support/Google/Captive" \
--proxy-server="socks5://$PROXY" \
--host-resolver-rules="MAP * ~NOTFOUND , EXCLUDE localhost" \
--no-first-run --new-window --incognito \
--proxy-bypass-list="<-loopback>" \
--no-first-run \
--new-window \
--incognito \
--no-default-browser-check \
--no-crash-upload \
--disable-extensions \
--disable-sync \
--disable-background-networking \
--disable-client-side-phishing-detection \
--disable-component-update \
--disable-translate \
--disable-web-resources \
--safebrowsing-disable-auto-update \
http://example.com
'';
};