function getUrl(qs)
{
google.script.run
.withSuccessHandler(loadNewPage)
.getScriptURL(qs);
}
function loadNewPage(url){
//window.location.href = url;
window.open(url,"_self");
}
I use this way to navigate through pages but third page returns blank page.