'use strict';

module.exports = [
  '--disable-plugins-discovery',
  '--disable-bundled-ppapi-flash',
  '--enable-experimental-extension-apis',
  '--disable-background-networking',
  '--no-default-browser-check',
  '--no-first-run',
  '--new-window',
  '--disable-translate',
  '--disable-desktop-notifications',
  '--disable-infobars',
  '--allow-running-insecure-content',
  '--disable-save-password-bubble',
  '--disable-component-update',
  '--disable-background-downloads',
  '--disable-add-to-shelf',
  '--disable-client-side-phishing-detection',
  '--disable-datasaver-prompt',
  '--disable-default-apps',
  '--disable-domain-reliability',
  '--disable-dev-shm-usage',
  '--safebrowsing-disable-auto-update',
  '--remote-debugging-port=9222'
];

'use strict';

// See https://github.com/GoogleChrome/chrome-launcher/blob/master/docs/chrome-flags-for-tools.md
// https://peter.sh/experiments/chromium-command-line-switches/
module.exports = [
  '--disable-background-networking',
  '--no-default-browser-check',
  '--no-first-run',
  '--new-window',
  '--allow-running-insecure-content',
  '--disable-client-side-phishing-detection',
  '--disable-component-update',
  '--disable-default-apps',
  '--disable-device-discovery-notifications',
  '--disable-domain-reliability',
  '--disable-background-timer-throttling',
  '--load-media-router-component-extension=0',
  '--mute-audio',
  '--disable-hang-monitor',
  '--password-store=basic',
  '--disable-breakpad',
  '--dont-require-litepage-redirect-infobar',
  '--override-https-image-compression-infobar',
  '--disable-fetching-hints-at-navigation-start',
  '--remote-debugging-port=9222'
];

Update Chrome settings (#1507)