Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add crossorigin:"anonymous" to stylesheet Load #439

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

himanshug19
Copy link

Need to add crossorigin:"anonymous" to stylesheet load, because I'm using a third party plugin to make a image from HTML which loads all fonts, stylesheet again which fails due to CSSStyleSheet.cssRules getter: Not allowed to access cross-origin stylesheet, so its little fix to solve the issue.

@phanhuyanh
Copy link

@iccube-real pls merge pr. I get same problem too

@BrunoQuaresma
Copy link

@iccube-real any updates on this?

@SincerityJayce
Copy link

Yes, please someone who knows the code base add this feature. I'm about to rewrite a whole font loader myself to get access to this.

@simonsankar
Copy link

facing the same issue — need the fonts to be loaded for html-to-image to render the fonts

@ilomon10
Copy link

just fork the latest version, build on your own then, install module directly from repo 😄
or just download this compiled version from my repo here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants