Fix CSP violation by removing inline onclick event handler
- Remove inline onclick='window.open(...)' from PayPal button in popup.html - Add proper event listener in popup.js using addEventListener - Fix Content Security Policy violation that was blocking inline event handlers - Maintain same functionality while complying with Chrome extension CSP requirements - Use 'self' CSP policy which only allows scripts from the extension itself
Showing
Please
register
or
sign in
to comment