When I try to submit data from addon to an external website using jquery post from content_scripts I get this error:
Content Security Policy: The page’s settings blocked the loading of a resource at https://www.test.com/ (“connect-src”).
I understand that this type of error can be fixed using background js, but I can’t find any example or information how exactly to do this.
Anyone can help me with an example please?
Thank you.