Transparent background in Sites Apps Script with HtmlService

隐身守侯 提交于 2019-12-04 15:33:32

Don't use html, head, or body tags

When your page is sanitized by Caja, high-level structural tags are replaced with virtual tags and your markup is inserted into another page created by Caja. For example, an tag is replaced by . Any styles or scripts you attach to these elements are preserved, but the semantic meaning changes.

Because of this behavior, we recommend that you don't use , , or tags in your page and instead just place your styles, scripts, and other HTML content directly in the page. To set the title of your page, use the setTitle() method of HtmlOutput, since tags in your page are ignored.

Instead you may create a gadget for your site. Gadgets can communicate to google apps script over http.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!