Chrome Extension gives no Access-control-allow-origin header error but works sporadically anyway
Chrome Extension gives no Access-control-allow-origin header error but works sporadically anyway
This error message is in the extension's background.js file and eventually got things to work by modifying the server code to which it makes a request. Why would it work for a while and then start showing this error in the code? I tried restarting the server but this did not seem to change anything. Is it normal for extensions that send requests to periodically retry, perhaps when the server they are addressing is down and so concluding that there is a problem?
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.