Open not-nocturnal opened 1 year ago
This has to do with the Content-Security-Policy header, where most sites seem to allow audio. The behaviour in general is a bit strange, since extensions will ignore some parts of CSP, but curiously this isn't ignored.
Description![image](https://user-images.githubusercontent.com/8378762/185518799-101e3d77-d7ac-4bc4-bd32-6650ba3382b3.png)
![image](https://user-images.githubusercontent.com/8378762/185519406-e60736ae-f745-4c38-810a-e2359962a11a.png)
Audio lookup seems to fail when highlighting words anywhere on cryptpad. I'm not sure exactly why it's happening or how to debug or fix it. It's working fine for me on all other webpages I've tried. I also tried using a 'local' server (yomichan-forvo-server), but that didn't work either.
If I had to guess, it would be something to do with https://docs.cryptpad.fr/en/dev_guide/client/inner.html possibly preventing the addon frame from communicating externally, but it's a little over my head.
Browser version Waterfox G4.1.4 (Gecko/Firefox 91.x)
Yomichan version 22.6.6.0
Edit: the native browser window setting does work, and is okay as a workaround in my case, but it's still a bit clunky.