I am writing a fairly simple extension for Chrome. The main graphic body (the part related to html, i.e. the Interface) works fine, but when I try to include a second JavaScript file that uses the JQuery $ .ajax () function to return some information from another page to the front-end, Chrome gives the following error and will not allow me to download the extension:
Failed to load extension from "Path \ to \ extension". Failed to load file "filename.js" for script contents. It is not UTF-8 encoded.
I honestly don't know enough about UTF-8 encoding to be able to tell what Chrome would say about my file. I have no special characters, no accent marks or anything else that I know can hurt. I also could not find a good solution.
source
share