You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to load the script in the plugin (which works) and then inject it manually into the new script element, but this is also blocked by CSP (and it's also really ugly). If you'd find a way how to go around this, PRs are welcomed.
Hello, I am having problems using the Chrome plugin on a website using Tolgee and a restrictive content security policy.
The plugin injects a script referencing https://cdn.jsdelivr.net/npm/@tolgee/[email protected]/dist/tolgee-in-context-tools.umd.min.js
This is blocked by the browser and can only be circumvented by adding
cdn.jsdelivr.net/npm/@tolgee/
to thescript-src
part of the CSP, but ideally I would like to avoid this on production.Is there a way for the Chrome plugin to handle the CSP on the pages it is used on?
The text was updated successfully, but these errors were encountered: