From 172dc057c41ec82bef20f554c2fceb0f0a14bb12 Mon Sep 17 00:00:00 2001 From: Andrey Belym Date: Fri, 22 Dec 2017 18:28:27 +0300 Subject: [PATCH] Disable password bubble (closes #1913) (#2021) * Disable password bubble (closes #1913) * Disable Google Translate --- .../provider/built-in/chrome/runtime-info.js | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/src/browser/provider/built-in/chrome/runtime-info.js b/src/browser/provider/built-in/chrome/runtime-info.js index a47284904ba..8d6b0df61fa 100644 --- a/src/browser/provider/built-in/chrome/runtime-info.js +++ b/src/browser/provider/built-in/chrome/runtime-info.js @@ -16,21 +16,29 @@ async function createTempUserDir (proxyHostName) { await ensureDir(profileDirName); const preferences = { - devtools: { - preferences: { - currentDockState: '"undocked"', - lastDockState: '"bottom"' + 'credentials_enable_service': false, + + 'devtools': { + 'preferences': { + 'currentDockState': '"undocked"', + 'lastDockState': '"bottom"' } }, - profile: { + 'profile': { 'content_settings': { - exceptions: { + 'exceptions': { 'automatic_downloads': { [proxyHostName]: { setting: 1 } } } - } + }, + + 'password_manager_enabled': false + }, + + 'translate': { + 'enabled': false } };