Skip to content

Failed to share some notes sometimes with "Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules" error #166

@chenyuz3

Description

@chenyuz3

Hi!

First of all, thanks for creating such an incredible plugin that I now can never stop using it!

Recently I have encountered an issue that sometimes I fail to share some notes with the following error:

Image

plugin:share-note:14832 SecurityError: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
at eval (plugin:share-note:14824:68)
at Array.forEach ()
at Note.share (plugin:share-note:14824:40)
at async SharePlugin.uploadNote (plugin:share-note:15404:9)
at async SharePlugin.copyShareLink (plugin:share-note:15427:7)
at async eval (plugin:share-note:15359:15)

In some cases regenerating an api key/rebooting can help but 50% of the time they don't.

Sorry I am not from a coding background so this is the best explaination I can offer :(

Please let me know if you need any further information.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions