vue-element-queries icon indicating copy to clipboard operation
vue-element-queries copied to clipboard

CSS Crawler Chrome 64

Open Mattchewone opened this issue 6 years ago • 3 comments

Since the new version of Chrome crawling the StyleSheets now throws errors: https://stackoverflow.com/questions/49088507/cannot-access-rules-in-external-cssstylesheet

Just wanted to report this here incase anyone else is having the same issue. Now looking into a potential fix.

Mattchewone avatar Jun 14 '18 15:06 Mattchewone

Aha thanks for submitting this! I'll also look into a potential fix and see if we can get it resolved.

thebrubaker avatar Jun 14 '18 16:06 thebrubaker

I have a fix if you wouldn't mind a PR

Mattchewone avatar Jun 14 '18 16:06 Mattchewone

Try to load your css styles with crossorigin attribute.

E.g.

<link rel="stylesheet" href="{{ asset('build/app.css') }}" crossorigin="anonymous">

or with fg-loadcss from inside javascript:

import { loadCSS } from 'fg-loadcss';
loadCSS('https://my-kewl.app/build/app.css'], null, null, {'crossorigin': '*'});

robertfausk avatar Dec 05 '18 08:12 robertfausk