How do I embed JavaScript code into a Google Sites page?

前端 未结 5 1381
栀梦
栀梦 2021-02-08 04:26

I have a Google Sites page. How can I embed JavaScript code in it, without implementing a gadget and adding JavaScript code in that?

5条回答
  •  渐次进展
    2021-02-08 05:08

    Google has updated their mechanism for embedding HTML and Javascript.

    See https://gsuiteupdates.googleblog.com/2017/12/embed-html-and-javascript-in-new-google-sites.html.

    It is still sandboxed in an iframe with the limitations mentioned in @Serge Populov's answer.

提交回复
热议问题