在Chrome上允许Google Colab域Cookie [英] Allow a Google Colab domain cookies on chrome
问题描述
我正在尝试使用Google Colab,但是随后我不断看到一个弹出框,上面写着:
I am trying out Google Colab, but then I keep getting this pop up box that says:
Error
Could not access the resources needed to display output.
This is probably because third-party cookies are not allowed by your
browser.
NotSupportedError: Failed to register a ServiceWorker: The user
denied permission to use Service Worker.
同时关闭阻止第三方Cookie
有效从此处为我服务,我希望保持该设置为打开状态在任何时候都为了我们的隐私。
While turn off Block third party cookies
worked for me from here, I would like to keep the setting to be turned on at all times for the sake of our privacy.
当前,我将不得不在Colab选项卡旁边有另一个选项卡,以便在我完成使用Colab之后,可以立即关闭它,不要忘记它。但是,每次使用Colab时我都必须这样做。
Currently I will have to have another tab next to the Colab tab the so that after I have finished using Colab, I can turn it off right away and not to forget it. BUT I would have to do it every time I use Colab.
为解决此问题,我尝试遵循 chrome帮助指南,并添加了 https://colab.research。 google.com
和 [*。] google.com
到允许Cookie上的白名单。但是错误仍然会显示。我也尝试过 https://colab.research.google.com [/ *]
,但Chrome表示它不是有效域名。
To solve this, I have tried to follow the chrome help guide and added https://colab.research.google.com
and [*.]google.com
to the Allow whitelist on Cookies. However the error pop up would still show. I also tried https://colab.research.google.com[/*]
, but chrome said its not a vaild domain.
有没有办法允许Colab域cookie?
Is there a way to allow Colab domain cookies for that?
推荐答案
输出单元格是< iframe>元件。它的网址类似
The output cell is an <iframe> element. It has a url like
https://jbe1910iol-colab.googleusercontent.com/v2/usercontent/8b5e8f2bbe60490e/outputframe.html
因此,您可以尝试添加<也将code> [*。] googleusercontent.com 添加到白名单。
So, you can try adding [*.]googleusercontent.com
to the whitelist as well.
不确定它是否可以工作。希望能。
Not sure if it will work though. Hope it does.
这篇关于在Chrome上允许Google Colab域Cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!