CEF3 命令行 CefCommandLine 所有选项 与 开发中使用的测试网址
转自: https://blog.csdn.net/xiezhongyuan07/article/details/86640413
1.cef3 commandLine设置
在cef3开发过程中,在OnBeforeCommandLineProcessing 函数中,我们可以通过命令行添加一些命令,来对浏览器进行一些设置:
void BrowserApp::OnBeforeCommandLineProcessing(const CefString& process_type, CefRefPtr<CefCommandLine> command_line)
不过都有哪些命令可以设置呢? 找了很久,才发现,官方其实进行了总结:
https://peter.sh/experiments/chromium-command-line-switches/#allow-external-pages
2. cef3 各种查看配置、测试方法,我们可以参考chrome 的urls
1 List of Chrome URLs 2 3 chrome://about 4 chrome://accessibility 5 chrome://appcache-internals 6 chrome://apps 7 chrome://blob-internals 8 chrome://bluetooth-internals 9 chrome://bookmarks 10 chrome://chrome 11 chrome://chrome-urls 12 chrome://components 13 chrome://conflicts 14 chrome://crashes 15 chrome://credits 16 chrome://device-log 17 chrome://devices 18 chrome://dino 19 chrome://discards 20 chrome://download-internals 21 chrome://downloads 22 chrome://extensions 23 chrome://flags 24 chrome://flash 25 chrome://gcm-internals 26 chrome://gpu 27 chrome://help 28 chrome://histograms 29 chrome://history 30 chrome://indexeddb-internals 31 chrome://inspect 32 chrome://interstitials 33 chrome://interventions-internals 34 chrome://invalidations 35 chrome://local-state 36 chrome://media-engagement 37 chrome://media-internals 38 chrome://nacl 39 chrome://net-export 40 chrome://net-internals 41 chrome://network-error 42 chrome://network-errors 43 chrome://newtab 44 chrome://ntp-tiles-internals 45 chrome://omnibox 46 chrome://password-manager-internals 47 chrome://policy 48 chrome://predictors 49 chrome://print 50 chrome://quota-internals 51 chrome://safe-browsing 52 chrome://serviceworker-internals 53 chrome://settings 54 chrome://signin-internals 55 chrome://site-engagement 56 chrome://suggestions 57 chrome://supervised-user-internals 58 chrome://sync-internals 59 chrome://system 60 chrome://taskscheduler-internals 61 chrome://terms 62 chrome://thumbnails 63 chrome://tracing 64 chrome://translate-internals 65 chrome://usb-internals 66 chrome://user-actions 67 chrome://version 68 chrome://webrtc-internals 69 chrome://webrtc-logs 70 71 72 For Debug 73 The following pages are for debugging purposes only. Because they crash or hang the renderer, they're not linked directly; you can type them into the address bar if you need them. 74 chrome://badcastcrash/ 75 chrome://inducebrowsercrashforrealz/ 76 chrome://crash/ 77 chrome://crashdump/ 78 chrome://kill/ 79 chrome://hang/ 80 chrome://shorthang/ 81 chrome://gpuclean/ 82 chrome://gpucrash/ 83 chrome://gpuhang/ 84 chrome://memory-exhaust/ 85 chrome://ppapiflashcrash/ 86 chrome://ppapiflashhang/ 87 chrome://inducebrowserheapcorruption/ 88 chrome://heapcorruptioncrash/ 89 chrome://quit/ 90 chrome://restart/
--------------------- 作者:漫步繁华街 来源:CSDN 原文:https://blog.csdn.net/xiezhongyuan07/article/details/86640413 版权声明:本文为博主原创文章,转载请附上博文链接!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构