Hello,

I'm trying to use the visualization API from within a chrome extension 
using manifest version 2, which has stricter restrictions on resources that 
can be loaded. I'm doing:

<script type="text/javascript" src="https://www.google.com/jsapi";></script>
<script>

  google.load('visualization', '1', {
    packages: ['corechart', 'geochart'],
    callback : function() {
      handleChartsLoaded();
    }
  });
</script>


...and I'm getting these errors in the console:

Refused to load the script '
http://www.gstatic.com/charts/geochart/7/mapfiles/world_COUNTRIES.js' 
because it violates the following Content Security Policy directive: 
"script-src https://www.google.com/ 'unsafe-eval'".

How do I force https resources to be loaded?

Thanks,
George

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/unzmN3OMe9QJ.
To post to this group, send email to google-visualization-api@googlegroups.com.
To unsubscribe from this group, send email to 
google-visualization-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to