Huanyee Posted December 31, 2019 Share Posted December 31, 2019 As shown in the console of my Codepen, it seems that CSSRulePlugin is unavailable on sites using Google Fonts, as it will display the following error: DOMException: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules at Object.getRule Is there anyway for me to exclude the stylesheet or any other way to solve this issue? (I'm sorry that I can't quite reproduce this issue because Codepen seems not to allow me to include Google Fonts in the CSS) See the Pen bGNoWRV by eric-chuang (@eric-chuang) on CodePen Link to comment Share on other sites More sharing options...
Huanyee Posted December 31, 2019 Author Share Posted December 31, 2019 Sorry for the bothering. I found out that I can just ignore the warning. It seems that Google Fonts have already allowed Cross Origin in their headers: access-control-allow-origin:* The issue might be caused by other elements. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now