Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 597
Aparna Khombhadia Avatar asked Apr 27 '12 20:04

Aparna Khombhadia


1 Answers

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.

like image 98
darrinm Avatar answered Oct 03 '22 23:10

darrinm