When running google translate in applications on icp, page binding is lost. I bring it to the attention of the developers.
Never thought about, well spotted!
Indeed certified domains
<canister-id>.ic0.app do not seem - from what I can see when I test it - play well with Google Translate. It seems that the translation tool does not execute the service worker and therefore the resources won’t be certified and per extension the dapp won’t be loaded. That’s why the service worker page is translated, no the dapp itself.
ServiceWorkerContainer.register: Scope URL is not same-origin with Client
I forwarded the message, not sure there will be any short term solution, seems like a tricky one.
Being said, it’s possible to translate applications on the ic using the less secure
<canister-id>.raw.ic0.app. Probably not recommended but it translating is more important, then it can be a workaround for the moment.