-
Notifications
You must be signed in to change notification settings - Fork 39
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
Invalid HTML on card: SecurityError: Failed to execute 'insertRule' on 'CSSStyleSheet': Cannot access StyleSheet to insertRule #113
Comments
I have exactly the same issue. Did you manage to fix it? |
No, let us know if you figure it out.
Thanks!
- -
Mit freundlichen Grüßen
Alexander Alemayhu
YouTube: http://youtube.com/c/alexanderalemayhu <http://youtube.com/c/alexanderalemayhu>
Twitch: http://twitch.tv/alexanderalemayhu <http://twitch.tv/alemayhu>
Twitter: https://twitter.com/aalemayhu <https://twitter.com/aalemayhu>
… On 25 Dec 2020, at 12:41 AM, uuuser-name ***@***.***> wrote:
I have exactly the same issue. Did you manage to fix it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#113 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAHB25FZOHEYRK6PQH67R6DSWPGT5ANCNFSM4TFX3SDQ>.
|
I think you can fix this issue by commenting out the javascript in the width.js file // if (screen.width > {maxWidth}) {{
// var styleSheet = document.styleSheets[0];
// styleSheet.insertRule(
// "div {{ width: {maxWidth}px; margin: 20px auto }}", 0
// );
// }} https://github.com/luoliyan/incremental-reading/blob/master/ir/web/width.js |
This worked for me. Thanks! |
It worked for me as well. Thanks a lot! |
I'm trying it now and cannot reproduce. My system info:
|
Hei there!
I downloaded the Incremental Reading add-on (v4103). I was trying to follow the instructions under the usage in the README file. I added a link but when I open up the deck I end up with the below error message.
I could reproduce this by
https://en.wikipedia.org/wiki/Incremental_reading
Alt
+3
.I am running Anki:
On macOS v10.15.7 (19H2).
Thanks.
The text was updated successfully, but these errors were encountered: