您可以在未在Google协作平台下创建的网站上使用Google脚本吗? [英] Can you use google scripts on a website that's not created under Google Sites?

查看:217
本文介绍了您可以在未在Google协作平台下创建的网站上使用Google脚本吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google脚本可以嵌入到Google网站中,但我想知道是否可以将Google脚本与未由Google托管的网站一起使用。这个谷歌脚本的目的是作为访问Google Spreadsheet的简单功能的Javascript的简单替代方案。

无法在非Google网站中嵌入Apps Script界面​​。您可以将脚本作为网络应用发布,并且会有自己的网址,但您不能嵌入到iframe中。


Google Scripts has a way to be embedded into a Google Site, but I'm wondering if I could use a Google Script with a website that's not hosted by Google. The purpose of this google script is as a simple alternative to Javascript for the simple functionality of accessing a Google Spreadsheet.

解决方案

It's currently not possible to embed an Apps Script interface in a non-google web site. You can publish a script as a web app and it will have it's own URL, but you can't embed it in an iframe.

这篇关于您可以在未在Google协作平台下创建的网站上使用Google脚本吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆