直到今天一切顺利,但现在出了问题
我在code.gs中有代码
function demoHtmlServices() {
var ss = SpreadsheetApp.getActiveSpreadsheet(),
html = HtmlService.createHtmlOutputFromFile('ff');
html.setSandboxMode(HtmlService.SandboxMode.NATIVE);
html.setWidth(700);
html.setHeight(600);
ss.show(html);
}
ff.html包含
<body >
<form class="register active" >
<button style="font-size:14px;" id="BackAuctionBut" >Back</button><button style="font-size:14px;" >Add</button>
</form>
</body>
所以,当我按下按钮谷歌打开网址,如新标签
http://5a00f7bc-dcab-4655-9548-d6dc0365e2c5.foo.bar/? http://faa37b59-0545-4bc5-95fe-433d003622cd.foo.bar/? http://78bf0ef1-f8ba-4ac5-92bf-cb7ee6085300.foo.bar/?
什么是与谷歌一起玩? 似乎HtmlService.SandboxMode.NATIVE已被谷歌
禁用