Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

282
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!