I'm trying to redirect a google app script web app onto another app script after button click. I have tried the following:
<button onclick="myFunction()">Replace document</button>
<script>
function myFunction() {
location.replace("https://www.w3schools.com")
}
</script>
The error is that google script refused to connect. When checking inspect element, it says "X-Frame Options" to 'same-origin'.
Is there a work around on this?
I could use tags but how do I display it after an alert?