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

162
Visualizações
Open URL from a PWA in the Browser

In my PWA I have the "add to wallet" feature for something, so when the user clicks on the link - the link should be opened in the browser (not in the pwa), but everything I tried didn't work...

The reason, I want to open the link in the default browser is, because the PWA freezes, when the add-to-walled popup appears, so I need to close it and reopen again - seems like a bug. When I try it without installing the PWA - directly in the browser, then everything works fine!

<a href="https://different-domain.com/example" target="_blank">Add to wallet</a>

My manifest.json looks like this:

...
"scope": "/",
"start_url": "/",
"display": "standalone",
...
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

It may work with window.open method:

<a href="#" onclick="window.open('https://example.com')">Add to wallet</a>
about 4 years ago · Juan Pablo Isaza Relatório
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