
[英]Google Chrome - how can i programmatically enable chrome://flags some of the modules from disable mode to enabled mode?
[英]How can I check whether Google keys are embeded/enabled in Chromium/Chrome or not?
我使用 Google 密钥(Google API、Oauth 客户端 ID、Oauth 客户端密码)构建 Chromium。 在构建之前,我可以在 Chromium 源代码中嵌入 Google 密钥。 但我想在构建后检查 Chromium 二进制文件中的密钥。
如果我在 Chromium 中输入chrome://version
,可以检查 r 在 Chromium 浏览器中采用的标志。 但我不知道如何检查密钥。 或者我只是想检查按键是否启用。
有没有办法检查谷歌 API 是否在 Chromium/Chrome 中嵌入/启用?
Chromium 将首先尝试读取这些 env 的值。 使用嵌入式 API 密钥之前系统中的变量(如果存在):
如果它们不存在,那么它将使用嵌入的值。
有几种方法可以确定 Chromium 分叉是否使用 Google API 密钥编译:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.