How to open a given Url?

后端 未结 1 693
庸人自扰
庸人自扰 2020-12-19 18:26

I am using Google Apps Script with Google Drive, and I am a very beginner in this matter. Now, I would like to open a given Url in the same window. In standard JavaScript, t

相关标签:
1条回答
  • 2020-12-19 18:59

    Per the Release Notes for Oct 26, 2012 - you can no longer auto open a new window without user interaction.

    The simplest way to open a new window to show an HTML like this -

    <a href='http://www.google.com' target='_blank'>Open in new window</a>
    
    0 讨论(0)
提交回复
热议问题