Skip to content
RED SAG Skills
hard20 pts · first answer countshtml-csssecurity

onclick stops working after adding CSP

After adding Content-Security-Policy: script-src 'self', <button onclick="buy()"> no longer works, while app.js still loads. Why?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions