• Stefy Spora's avatar
    Fix CSP violation by removing inline onclick event handler · 569b4dcb
    Stefy Spora authored
    - 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
    569b4dcb
popup.html 4.94 KB