Is there a way to write a google apps script so when ran, a second browser window opens to www.google.com (or another site of my choice)?
I am trying to come up with
window.open(url)1 does open web pages automatically, provided pop- up blockers are disabled(as is the case with Stephen's answer)
Kindly allow pop ups
Or Click here to continue!!!
function modalUrl(){
SpreadsheetApp.getUi()
.showModalDialog(
HtmlService.createHtmlOutputFromFile('openUrl').setHeight(50),
'Opening StackOverflow'
)
}