Use case: description, code
I have been using domtoimage.toPng in my script, and recently I am seeing the following error message.
Error while reading CSS rules from chrome-extension://pioclpoplcdbaefihamjohnefbikjilc/content.css SecurityError: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
A quick search gives me that:
TL;DR: As of Chrome 64 you'll need to use a local development server to test functionality that depends on the CSS Object Model.
I am not sure if this is a bug due to this recent change, or mine. Any ideas?
Browsers
Chrome 65
Use case: description, code
I have been using domtoimage.toPng in my script, and recently I am seeing the following error message.
Error while reading CSS rules from chrome-extension://pioclpoplcdbaefihamjohnefbikjilc/content.css SecurityError: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
A quick search gives me that:
TL;DR: As of Chrome 64 you'll need to use a local development server to test functionality that depends on the CSS Object Model.
I am not sure if this is a bug due to this recent change, or mine. Any ideas?
Browsers
Chrome 65