複数のAPIを使用するChrome拡張機能を構築しています。現在、これらのAPIのいずれかを使用できるように設定していますが、マニフェストに1秒を追加しようとしても機能しません。いくつかのことを試した結果、拡張子が機能しないか、マニフェストファイルが無効になりました。
"content_security_policy": "script-src 'self' https://domain-1.com; object-src 'self'",
"content_security_policy": "script-src 'self' https://domain-2.com; object-src 'self'"
無効なマニフェストエラーが発生します
"content_security_policy": "script-src 'self' https://domain-1.com; https://domain-2.com; object-src 'self'",
最初のドメインでのみ機能します
"content_security_policy": "script-src 'self' https://domain-1.com, https://domain-2.com; object-src 'self'",
無効なマニフェストエラーが発生します