TTestExtension = class
class function hello: string;
end;
part in the guiclient example (and everywhere TTestExtension is used). This way you can create a chromium extension, which you can then use in your javascript code. You can easily make
class function hello(datastring : string) : string;
to give data to delphi and get some data back in you javascript.
If you want to push data from delphi to your webapp, use
crm.Browser.MainFrame.ExecuteJavaScript('alert(''JavaScript execute works!'');', 'about:blank', 0);
also in the guiclient example.