Folium: timestamped_geojson won't work in chrome

Created on 21 May 2016  路  3Comments  路  Source: python-visualization/folium

I get this:

Refused to execute script from 'https://raw.githubusercontent.com/nezasa/iso8601-js-period/master/iso8601.min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.

Which seems kinda reasonable to me. Would it not be safer to vendor the minified js into folium?

bug

Most helpful comment

All 3 comments

Thanks for the report. I will take a look at some alternatives.

I haven't tested, but I'm guessing that "chrome" probably means any modern browser, as, from what I read, github is now passing a header that causes modern browsers to not load a file with mimetype text as js.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ElmWer picture ElmWer  路  24Comments

agravier picture agravier  路  26Comments

olibchr picture olibchr  路  19Comments

AntonioLopardo picture AntonioLopardo  路  15Comments

Alcampopiano picture Alcampopiano  路  14Comments