I am working on Kango framework. In which I am facing problem to fetch external files in kango framework (browser extension).
How to load external files (html,js,css) in kango framework
115 views Asked by Popat Shirsath At
1
I am working on Kango framework. In which I am facing problem to fetch external files in kango framework (browser extension).
Background script:
In the background script JavaScript files are included by adding them to
common/extension_info.jsonlike this:Content script:
In the content script JavaScript depndencies are added by adding a header annotation to the main file (the one declared as content script in
common/extension_info.json):Kango does not provide a good way to add CSS files in the content script. This has to be done by adding (and possibly removing) a
<link>tag to the<head>section: