fix: Chrome без менеджера паролей, перевода и автозаполнения (#111)

Перед каждым запуском окна в Default/Preferences профиля дописываются prefs:
credentials_enable_service, profile.password_manager_enabled, translate.enabled,
autofill.* = false. Применяется и к новым, и к существующим профилям, остальные
настройки Chrome не трогаются. Пузырь «Сохранить пароль?» и предложение
перевода больше не появляются, пароли не оседают в Login Data профиля.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
protokeyandClaude Opus 5.5 committed 2026-10-14 16:54:40 +04:00
1 parent 677fea0090
commit 232385f8d8
3 files changed
+74

No files matched your search

+2
View File
@@ -349,6 +349,8 @@ class WindowPool:
touch_profile(user_data_dir)
# отпечаток задаётся профилю один раз (см. api/profile.py)
profile_kwargs = profile.browser_kwargs(profile.load_or_create(user_data_dir))
# без менеджера паролей, перевода и автозаполнения (#111)
profile.apply_chrome_prefs(user_data_dir)
proxy = parse_proxy(payload.proxy) if payload.proxy else None
# geo — по exit-IP прокси (см. api/geoip.py); без прокси оставляем настройки браузера