I am trying to port the chrome extension to firefox using the relatively new WebExtensions from Firefox.
I always get the following error
Cross-request request is blocked: A policy of the same origin prohibits reading the remote resource in ... (Reason: CORS header "Access-Control-Allow-Origin" is missing)
I added a website on which I would like to access the permissions section inside manifest.json, as described on the website, as well as in Google Chrome, where it works.
Usually it should work this way, at least explained that way at https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Content_scripts#Cross-domain_privileges
I would be very grateful for any help as I have no ideas.
Chris source
share