rightsocket

Error messages · Chrome extension

Insecure CSP value in directive 'script-src'

What you see

'content_security_policy.extension_pages': Insecure CSP value "'unsafe-eval'" in directive 'script-src'.

Why it happens

Version 3 extensions may only run code that ships inside the extension. Chrome refuses a policy whose script-src, worker-src, object-src or default-src allows 'unsafe-eval', 'unsafe-inline' or a website such as a CDN. ChatGPT often adds a CDN address so a library can load from the web.

The fix

What changed, and when

Sources

Other chrome extension errors

Adapter for code ChatGPT wrote

Fix it here

Paste every file ChatGPT gave you. You get the refitted chrome extension and the install steps for your device.

Fits Windows · Mac · Chrome · phone

Check the fit

PlugChrome extension

Checked on this page, in your browser. Your code isn’t uploaded or kept.