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

Analyze styleSheets for @font-face rules in background script #18

Open
felixfbecker opened this issue Nov 14, 2020 · 4 comments
Open

Analyze styleSheets for @font-face rules in background script #18

felixfbecker opened this issue Nov 14, 2020 · 4 comments

Comments

@felixfbecker
Copy link
Owner

The content script can't access .cssRules of cross-origin stylesheets, while the background page should be in theory (if not it could at least fetch() and parse it with a parser).

@rakeshhotker
Copy link

Could you share more information, please?

@Mattwmaster58
Copy link

I've run into this exact issue as well, it'll manifest itself in the console with this error: CSSStyleSheet.rules getter: Not allowed to access cross-origin stylesheet

@silexaltivium
Copy link

Inject crossorigin="anonymous" to could solve the problem

@silexaltivium
Copy link

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

No branches or pull requests

4 participants