ReferenceError: google is not defined - Google Apps script error in Mozilla firefox
问题 I'm creating a Google Site with Google Apps Script "Enum Sandbox Iframe mode". In Google Developer Docs, It says, to call a custom function, we need to use google.script.run Sample: Code.gs function doGet() { return HtmlService.createHtmlOutputFromFile('index') .setSandboxMode(HtmlService.SandboxMode.IFRAME); } function doSomething() { Logger.log('I was called!'); } index.html <script> google.script.run.doSomething(); </script> When I run this using Google Chrome, Its working perfect. But it