Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Learn More

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

  • Keine Antworten
  • 2 haben dieses Problem
  • 1 Aufruf
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.