简体   繁体   中英

Awesomium: Include external javascript

I'm trying to use functions from external javascript files which are included in my html page with the "script" tag. Javascript functions which are implemented directly in the html page seem to work without problems but the functions from the external javascript files aren't executed. Is there a way to get these functions working?

如果要加载外部资源(例如JavaScript文件),则需要使用ResourceInterceptor拦截该调用,然后将文件注入响应中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM