How can I execute Javascript in my Delphi program without TWebBrowser?

后端 未结 4 1587
不知归路
不知归路 2020-12-30 05:12

I am working with a Web API that uses a Javascript interface to make requests, and the response is via a callback Javascript function. Is there a way to call Javascript cod

4条回答
  •  梦谈多话
    2020-12-30 06:05

    Are you looking for a JavaScript engine? There are some on the market, such as FastScript, and also I saw a Delphi wrapper for Windows Scripting Host (which has JavaScript support). Note, though, that if your scripts use web- and browser-related classes and functions, no engine except browser-based one will be able to offer them.

提交回复
热议问题