delphi - dcef3 - Google map 欢迎始终显示

标签 delphi delphi-xe3 chromium-embedded tchromium

每当我通过 dcef3 实例 (TChromium) 导航到maps.google.com 时,“欢迎”位总是出现在顶部。我可以通过某些设置将其关闭吗?如果我在 Chrome 或 Firefox 中访问maps.google.com,它不会出现。

我认为这可能与 cookie 有关,因此尝试将 CefPersistSessionCookies 设置为 true 但没有成功。也许我需要使用 TChromium 设置 Option 属性或处理其他事件?我没有对 TChromium 的默认值进行任何其他更改。

最佳答案

看来我需要设置一个cache_path(CefCache)。根据 doco 的说法:

cache_path The location where cache data will be stored on disk. If empty an in-memory cache will be used for some features and a temporary disk cache will be used for others. HTML5 databases such as localStorage will only persist across sessions if a cache path is specified.

所以看来(现在对我来说几乎很明显)需要缓存。

关于delphi - dcef3 - Google map 欢迎始终显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23669542/

相关文章:

delphi - Delphi中的宽字符串兼容性问题

c++ - C++ 到 Delphi 的转换(简单)

delphi - 在不重新启动下载的情况下恢复 EIdSocketError 连接 - Delphi

delphi - GetAsyncKeyState "strange"行为

xml - 是否有支持泛型的 Delphi 对象序列化库?

delphi - Firemonkey按钮填充样式

delphi - 同一应用程序的两个不同版本

c# - 在 VS 调试器中运行时出现带有 ChromiumFX "failed to establish GPU channel"错误的 CEF

google-chrome - 如何在CentOS 6.9 中安装谷歌浏览器?

javascript - Delphi Chromium Embedded (TChromium) - 获取脚本输出