Answer the question
In order to leave comments, you need to log in
Why doesn't google app script redirect work in safari browser?
Good afternoon!
I'm trying to create a redirect using google app script. I don't really understand this, maybe I'm not doing it at all.
In general, I got the following code
function doGet() {
return HtmlService.createHtmlOutput(
"<script>window.location.href = 'http://aol.com' + window.location.href.split('#')[1];</script>"
);
}
function doGet() {
return HtmlService.createHtmlOutput(
"<script>window.top.location.href='https://aol.com';</script>"
);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question