disable extensions and google translate by default (#774)
This patch teaches `puppeteer.launch` to run chromium with disabled chrome extensions and google translate services. References #760
This commit is contained in:
parent
a20df0df62
commit
86b05dadd5
@ -32,10 +32,12 @@ const DEFAULT_ARGS = [
|
|||||||
'--disable-background-timer-throttling',
|
'--disable-background-timer-throttling',
|
||||||
'--disable-client-side-phishing-detection',
|
'--disable-client-side-phishing-detection',
|
||||||
'--disable-default-apps',
|
'--disable-default-apps',
|
||||||
|
'--disable-extensions',
|
||||||
'--disable-hang-monitor',
|
'--disable-hang-monitor',
|
||||||
'--disable-popup-blocking',
|
'--disable-popup-blocking',
|
||||||
'--disable-prompt-on-repost',
|
'--disable-prompt-on-repost',
|
||||||
'--disable-sync',
|
'--disable-sync',
|
||||||
|
'--disable-translate',
|
||||||
'--enable-automation',
|
'--enable-automation',
|
||||||
'--enable-devtools-experiments',
|
'--enable-devtools-experiments',
|
||||||
'--metrics-recording-only',
|
'--metrics-recording-only',
|
||||||
|
Loading…
Reference in New Issue
Block a user