打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Get HTML Source from Chromium Embedded

How to do this with Delphi Chromium Embedded Component i know how to do this with TWebBrowser. But since no docs are present for this I am sure someone else had same problem.

Thanks

asked Nov 10 '12 at 17:06
user1647411



2 Answers

up vote 6 down vote accepted

Here is how you do it..

procedure TCustomLoad.OnLoadEnd(const browser: ICefBrowser;  const frame: ICefFrame; httpStatusCode: Integer);  var  data:tstringlist;begin  data:=tstringlist.create;  if frame.IsMain then  data.text:=frame.Source; // HTML Source    end;  data.free;end;
answered Nov 10 '12 at 18:12
user1647411



本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
TChromium获取网页源代码delphi代码
WebView,WebFrame, Frame, FrameView, Document, Page的关系以及FrameLoader,DocumentLoader
function SplitString(const Source, ch: string): TStringList;
Chromium网页DOM Tree创建过程分析
Canvas2D及其实现
.NET中实现HTML生成图片或PDF的几种方式
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服