function doGet()
{
return HtmlService.createHtmlOutput('<b>Hello, world!</b>');
}
我尝试使用 <title>
在 html 表单中,用它代替“Hello, world!”但它保持不变,应用程序看起来很有趣,标题上有谷歌脚本 url。
请帮我给应用添加标题。
最佳答案
使用setTitle() .
function doGet()
{
return HtmlService.createHtmlOutput('Hello, world!')
.setTitle('Hello Title');
}
关于google-apps-script - 可以在谷歌脚本中设置一个标题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38542820/