0

may I know what is the meaning of this error and how to fix this? I used the tensorflow js and teachable machine js in the content_script to execute the code.if someone replies, I would be really appreciate. I have also attached the error message below the coding part.

{
    "name": "Controller",
    "version": "0.1",
    "manifest_version": 3,
    "content_security_policy": {
        "extension_pages": "default-src 'none'; script-src 'self'"
    },
    "description": "testing for a gesture.",
    "permissions": [
        "activeTab",
        "storage",
        "tabs",
        "notifications"
    ],
    "content_scripts": [
        {
            "matches": [
                "https://meet.google.com/*"
            ],
            "js": [
                "src/tf.min.js",
                "src/teachablemachine-pose.min.js",
                "src/background.js"
            ]
        }
    ]` 

Chrome Extension Error When Executed

KuroNeko
  • 1
  • 2
  • CSP in ManifestV3 can't be relaxed like this. Run the js files in [page context](/a/9517879), i.e. you'll have just one content.js file that creates DOM script elements for each of the other js files. – wOxxOm Oct 21 '22 at 12:05
  • No way to do unsafe eval in manifest v3. It really sucks. – Jridyard Oct 21 '22 at 16:56

0 Answers0