Skip to content

Plugin does not work on pages with content security policy #24

@hubendubler

Description

@hubendubler

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/web@5.14.0/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 the script-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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions