Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to use External script(Like adding Google maps) in Privileged Application??

  • No replies
  • 2 have this problem
  • 1 view
more options

I am developing a mobile application based on FirefoxOS, As i am trying to load google maps in my application there was a CSP error,

like this :

Content Security Policy: The page's settings blocked the loading of a resource at self ("script-src app://2399300a-0234-4827-864e-81c4dc88bea7").

and

Content Security Policy: The page's settings blocked the loading of a resource at https://maps.googleapis.com/maps/api/js?key=AIzaSyB-KbIRjQd9Dj8bieXXdVdWtCX9ytZySsY&callback=initMap ("script-src app://2399300a-0234-4827-864e-81c4dc88bea7").

So,could you let me know what are the things to done for adding Google Maps to my application.

I am developing a mobile application based on FirefoxOS, As i am trying to load google maps in my application there was a CSP error, like this : Content Security Policy: The page's settings blocked the loading of a resource at self ("script-src app://2399300a-0234-4827-864e-81c4dc88bea7"). and Content Security Policy: The page's settings blocked the loading of a resource at https://maps.googleapis.com/maps/api/js?key=AIzaSyB-KbIRjQd9Dj8bieXXdVdWtCX9ytZySsY&callback=initMap ("script-src app://2399300a-0234-4827-864e-81c4dc88bea7"). So,could you let me know what are the things to done for adding Google Maps to my application.