-
Notifications
You must be signed in to change notification settings - Fork 10
/
笔记.txt
33 lines (29 loc) · 1.48 KB
/
笔记.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
1.puppeteer默认启动参数:
'--disable-background-networking',
'--enable-features=NetworkService,NetworkServiceInProcess',
'--disable-background-timer-throttling',
'--disable-backgrounding-occluded-windows',
'--disable-breakpad',
'--disable-client-side-phishing-detection',
'--disable-component-extensions-with-background-pages',
'--disable-default-apps',
'--disable-dev-shm-usage',
'--disable-extensions',
'--disable-features=TranslateUI',
'--disable-hang-monitor',
'--disable-ipc-flooding-protection',
'--disable-popup-blocking',
'--disable-prompt-on-repost',
'--disable-renderer-backgrounding',
'--disable-sync',
'--force-color-profile=srgb',
'--metrics-recording-only',
'--no-first-run',
'--enable-automation',
'--password-store=basic',
'--use-mock-keychain',
2.chrome://flags/#enable-nacl 查看chrome启动参数
3.https://blog.it2048.cn/article-puppeteer-speed-up/ puppeteer优化
4.--load-extension="C:\Users\lenovo\Desktop\crawlIte\crawlItem" --disable-extensions-except="C:\Users\lenovo\Desktop\crawlIte\crawlItem" 命令行启动谷歌时自动加载插件
5.C:\Users\lenovo\AppData\Local\Google\Chrome\User Data\SwReporter\77.225.200\manifest.json 里面的manifest.json的allow-report-logs设置为false,禁止software_reporter_tool.exe运行 chromium不用设置
6.--enable-lazy-image-loading --enable-quic 懒加载图片,quic打开网页