简体   繁体   English

为什么我无法使用 TWebBrowser 显示某些网站

[英]Why I can't display some site with TWebBrowser

I use Delphi Rio (Windows Desktop App) and need to display in a TWebBrowser some webpages.我使用 Delphi Rio(Windows 桌面应用程序)并且需要在 TWebBrowser 中显示一些网页。 I ran into a problem with this WooCommerce site, https://merletdance.com/eshop .我遇到了这个 WooCommerce 网站https://merletdance.com/eshop的问题。 When I ask for this one, I can't pass the cookies dialog.当我要求这个时,我无法通过 cookies 对话框。 I understand it's in relation with JScript and/or JQuery, but is there a way to bypass or better (some parameters of TwebBrowser)?我知道它与 JScript 和/或 JQuery 有关,但有没有办法绕过或更好(TwebBrowser 的一些参数)?

[Edit] Works with Delphi 11 (Alexandria) using Edge [编辑] 使用 Edge 与 Delphi 11 (Alexandria) 一起使用

Found a solution, even if for my users with heterogeneous park it's not a cure-all.找到了一个解决方案,即使对于我的异构公园用户来说,这也不是万能的。 The docwiki page https://docwiki.embarcadero.com/Libraries/Sydney/en/FMX.WebBrowser.TWebBrowser gave me the trick: Editing the registry works. docwiki 页面https://docwiki.embarcadero.com/Libraries/Sydney/en/FMX.WebBrowser.TWebBrowser给了我诀窍:编辑注册表工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM