iframe

Google Apps Script does not load when embedded into iFrame

隐身守侯 提交于 2020-08-17 12:19:51
问题 I am trying to embed my Google Apps Script WebApp into an iFrame on another domain but the webapp is not loaded and I only see a white screen. There is also no error in the webinspector. The Webapp is published with: Execute as m e and Access has anyone within Given Domain. According to this I implemented my doGet method like this: function doGet(e) { return HtmlService .createHtmlOutputFromFile('html/index') .setXFrameOptionsMode(HtmlService.XFrameOptionsMode.ALLOWALL); } and the IFrame