How to use or remove the console message "CssElementQueries: unable to parse local css files," ?
stephyswe opened this issue · 1 comments
stephyswe commented
Hi,
Your JS lib is working nicely.
But I don't really understand what unable to parse local css is? Can author or someone please help me get rid of the console.log message or elaborate what it means ?
marcj commented
As in the readme stated
Local stylesheets do not work (using file:// protocol).
Its due to security concerns. Reading css files loaded from file://
urls violates a Cross-Origin Resource Sharing (CORS) policy and thus will never be supported.