Can't connect to etherscan

Hi I’m trying to connect to an etherscan contract using metamask but I’m not being successful.

When I click on metamask nothing happens and this error shows up in the console:

index.html?m=dark&v=21.1.2.0&a=0xBd2fC50d561322b49C31b3C6d66aaE953a1E2120&n=mainnet&p=:1045 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘getId’)
at connectWeb3 (index.html?m=dark&v=21.1.2.0&a=0xBd2fC50d561322b49C31b3C6d66aaE953a1E2120&n=mainnet&p=:1045)
at HTMLButtonElement.onclick (VM1339 0xBd2fC50d561322b49C31b3C6d66aaE953a1E2120:1249)
connectWeb3 @ index.html?m=dark&v=21.1.2.0&a=0xBd2fC50d561322b49C31b3C6d66aaE953a1E2120&n=mainnet&p=:1045
onclick @ VM1339 0xBd2fC50d561322b49C31b3C6d66aaE953a1E2120:1249

(sorry I can’t upload images)