AdvWebbrowser - Get Source

Hi,

how I can get the source from a loaded website?

I cant find infos in you're Guide.

Hi,

You can use

AdvWebBrowser1.ExecuteJavascript('function test(param){ return param;}test(document.body.innerHTML);',
 procedure(const AValue: String)
 begin
  Result := AValue;
 end
 );

Perfect thanks, but how I get that view (see attachment)?

My looks like (right site)

What do you mean exactly? You need to navigate to an URL first and then use the code.

Stupid second question :) All fine now, you can close this one :)

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.