Re: Only javascript in chromium
Posted: Wed Jan 23, 2019 5:37 pm
Hi,
If you only need to execute JavaScript without a browser you can use these projects instead of CEF4Delphi :
https://github.com/zolagiggszhou/v8delphiwrapper
https://github.com/tondrej/chakracore-delphi
If you already use CEF4Delphi in your application you can create a TChromium at run-time, call TChromium.CreateBrowser and wait for the TChromium.OnAfterCreated event before calling TChromium.ExecuteJavaScript
If you only need to execute JavaScript without a browser you can use these projects instead of CEF4Delphi :
https://github.com/zolagiggszhou/v8delphiwrapper
https://github.com/tondrej/chakracore-delphi
If you already use CEF4Delphi in your application you can create a TChromium at run-time, call TChromium.CreateBrowser and wait for the TChromium.OnAfterCreated event before calling TChromium.ExecuteJavaScript