gpt4 book ai didi

html - 为什么 iframe 在嵌入到 Web 应用程序页面时不加载?

转载 作者:行者123 更新时间:2023-11-27 22:39:41 24 4
gpt4 key购买 nike

我试图将此 html 代码加载到 Google 脚本中:

<iframe src="http://www.w3schools.com"></iframe>

使用名称“page”保存文件,然后在 Google 脚本中使用它:

function doGet() {
return HtmlService.createHtmlOutputFromFile('page');
}

它查看 iframe,但没有内容。我在这里遗漏了什么吗?

最佳答案

您不能在 Apps 脚本中显示 iframe。

关于html - 为什么 iframe 在嵌入到 Web 应用程序页面时不加载?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11835444/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com