Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

84
Visualizações
Customizing the MetaMask extension

I'm currently working on a little personal project where I need to interact a lot with my MetaMask wallet.

What I'm trying to accomplish is that whenever the MM popup is shown to confirm the action, that the Confirm is clicked automatically, but only when I'm connected to a specific page.

Now I know that this could raise security concerns, but I'm working on a separate machine with only one MM on it and only to be used with one specific page, so I'm not worried about security at this point.

Looking at the pagesource from the popup-page of MetaMask, I can extract the page by getting the value from this div:

<div class="confirm-page-container-summary__origin">https://thesite.io</div>

I have tried to modify the Notification.html to include a script which is run when the body is loaded. However when I tried it, the extension was automatically disabled. I had to "repair" it by downloading the extension again and importing my wallet again.

I'm guessing there's some sort of checksum that happens so that any tampering results in disabling the extension. Does anyone know if there's a way to work around this issue?

Thanks

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda