Google脚本应用无法使用隐身模式 [英] Google Script App Fails in Incognito Mode

查看:82
本文介绍了Google脚本应用无法使用隐身模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个简单的Google脚本发布为具有匿名访问权限的网络应用程序.您可以在此处上找到该代码,并且网络应用程序 ="https://script.google.com/macros/s/AKfycbztqCyi01lqbKUTa0D6bLKnpCcur3g-xXPQT2OhB8A7e8buavc/exec" rel ="nofollow noreferrer">此处.

I have a simple Google Script published as a web app with anonymous access. The code is available here and the web app is available here.

code.gs

function doGet() {
  return HtmlService.createHtmlOutputFromFile("index").setTitle("Google Script")
}

index.html

<!DOCTYPE html>
<html>
  <head>
    <base target="_top">
  </head>
  <body>
    <p>Hello</p>
  </body>
</html>

脚本Web应用程序可在正常的Chrome模式下工作,但在以Chrome或Firefox的隐身模式查看页面时会返回500错误.

The script web app works in normal Chrome mode but returns a 500 error when the page is viewed in the incognito mode of Chrome or Firefox.

该脚本在V8和DEPRECATED_ES5运行时中均失败,并显示500错误.

The script fails with a 500 error in both V8 and DEPRECATED_ES5 runtime.

查看屏幕截图.

推荐答案

感谢您调查此问题.

在Google的末端似乎是一个问题,他们也承认了 bug .我们将不得不等到他们发布修复程序.

It looks like a problem at Google's end and they have acknowledged the bug as well. We'll have to wait until they issue fix.

更新:Google似乎已推出了一个更新,并且该问题已自动解决.该Web应用现在可以像以前一样运行了.

Update: Looks like Google has rolled out an update and the issue is automatically resolved. The web app is now working as before.

这篇关于Google脚本应用无法使用隐身模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆