0

I am developing a browser extension for Chrome that uses a content script in order to insert JavaScript into webpages, so that I can then get RUM data that I can use to analyze page load times. While I have already generated the data I want from the page, I have found myself unable to send the data to a server, as I get error messages stating that I have violated the Content Security Policy of the page that I am attempting to retrieve data about (currently just trying to send via a XHR).

Does anyone know how I can successfully send the data to a server after I have collected it?

3
  • 1
    Did you add permissions for the server url?
    – abraham
    Jul 3, 2014 at 23:05
  • Yeah, I have the permissions set to http://*/* and https://*/* Jul 7, 2014 at 16:41
  • You will have to include more info such as your manifest and how you are making the request.
    – abraham
    Jul 7, 2014 at 16:56

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.