Skip to content
This repository has been archived by the owner on Feb 25, 2018. It is now read-only.

SecurityError: The operation is insecure #15

Closed
iamturns opened this issue Nov 25, 2014 · 1 comment
Closed

SecurityError: The operation is insecure #15

iamturns opened this issue Nov 25, 2014 · 1 comment

Comments

@iamturns
Copy link

Firefox console outputs:
SecurityError: The operation is insecure.

And points towards this:

// get the style rules of this sheet
return toArray(stylesheet.cssRules);
@anselmh
Copy link
Owner

anselmh commented Nov 25, 2014

This is a duplicate of #7 I think. You can find a "solution" over there. Please reopen if you think this really is another issue.

@anselmh anselmh closed this as completed Nov 25, 2014
anselmh added a commit that referenced this issue Feb 23, 2015
This adds an option called `disableCrossDomain: 'true'`
to ignore external stylesheets.

This is needed when you can’t allow CORS due to your CSP
or can’t set a CSP at all. This closes #7, closes #15
and fixes some bug reports related to that behavior.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants