• Stefy Spora's avatar
    Fix MetaMask detection in extension popup · 95a82b5f
    Stefy Spora authored
    - Create dedicated metamask-detector.js content script that runs on all websites
    - Update manifest.json to include MetaMask detector for all URLs
    - Modify popup.js to communicate with MetaMask detector via message passing
    - Remove direct window.ethereum access from popup context (not available)
    - Web3 donations now work properly by using content script on active tab
    - MetaMask detection should now work correctly on any website
    95a82b5f
metamask-detector.js 4.32 KB