Ich versuche, die Sharethis Tasten hinzufügen popup.html und die folgenden Fehler auftreten:Hinzufügen von Sharethis Tasten zu Chrome-Erweiterung popup.html
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' https://*.sharethis.com". Either the 'unsafe-inline' keyword, a hash ('sha256-9kQ6Bjy+HAjxIkWKadVLttYAH2WuOVEKCHY7pnlgMz0='), or a nonce ('nonce-...') is required to enable inline execution.
Das ist meine conf: "content_security_policy": "script-src 'self' 'unsafe-eval' https://*.sharethis.com; object-src 'self'"
hat jemand schaffte es, diese Knöpfe erscheinen zu lassen?
dank
danke, also gibt es eine Möglichkeit, die Sharethis-Schaltflächen in popup.html zu verwenden? – DjangoPy
@DjangoPy, ja, siehe Hash-Nutzung für Elemente –
danke, ich werde es ausprobieren – DjangoPy