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

283
Visualizações
Google Script about redirect not working and appears peculiar error, what happened

The same code, never modified. However, since September, the javascript

top.location.href='https://....'

and

window.open("https://....", "_top")

all of above are stopped working and the error

"The frame attempting navigation of the top-level window is sandboxed with the 'allow-top-navigation-by-user-activation' flag, but has no user activation (aka gesture)"

occured, what happened??

by the way, why the library of Google App Script being modified recently?? it causes me many harassment....

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

I've been experiencing the exact same issue since a little while. I think I found a solution although it's not pretty. I now evaluate an html page where I put the redirect url I want to go to in a simple <a> tag. Then I use client side js to click that link like so document.getElementById('yourid').click();

Hope that's an agreeable workaround for you.

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