melink14/rikaikun

Rikaikun doesn't work in Google Docs for some users (TrustedScript violation?)

Closed this issue ยท 3 comments

From the support tab:

When I bring up developer tools the error messages are "VM290:27 This document requires 'TrustedScript' assignment." and "Trusted Type expected, but String received"

Maybe we can created a TrustedScript but policy creation can also be hardened...

Can check if google docs is running trusted types experiment...

refs:
https://web.dev/trusted-types/

Unfortunately, trusted types error was not the cause of the problem as confirmed by using ModHeader to force enforcement.

My best guess now is some kind of bad interaction between extensions since by default Google Docs should have no such errors.

Based on another thread on Twitter with this same error plus some other font 404s I'm starting to think that it might be a race condition when rikaikun runs too fast and sets isGoogleDoc to false.

๐ŸŽ‰ This issue has been resolved in version 2.3.2 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€