So I submitted my add-on and got the accepted email along with this comment At the next update, please remove the following from manifest.json:
“content_security_policy”: “script-src ‘self’ https://www.google.com; object-src ‘self’”, I removed this without realising that I can’t load the external script that my add-on needs to function without that line. The script is called script.js and is located in the same directory as the index.html.
Is there another way that I can run the code that I need to without using the code that they asked me to take out?
Thanks,