Skip to content Skip to sidebar Skip to footer

Why Am I Getting "failed To Load Extension. Invalid Value For 'content_security_policy'"?

I am trying to create a chrome extension. My manifest file is { 'name': 'Alert-Beep', 'action': {}, 'manifest_version': 3, 'version': '0.1', 'description': 'Bee

Solution 1:

An additinaly example that helped me

manifest v3

"content_security_policy":{"extension_pages":"script-src 'self'; object-src 'self'; script-src-elem 'self' 'unsafe-inline' https://music.yandex.ru/;"}

Solution 2:

I've looked into CSP for chrome extensions (go here to learn more for manifest v3).

Use

"content_security_policy":{"extension_pages":"script-src 'self'; object-src 'self'"}

Post a Comment for "Why Am I Getting "failed To Load Extension. Invalid Value For 'content_security_policy'"?"