在 chrome 上允许 Google Colab 域 cookie
Allow a Google Colab domain cookies on chrome
我正在试用 Google Colab,但后来我不断收到这个弹出框,上面写着:
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.
虽然关闭 Block third party cookies
从 开始为我工作,但为了我们的隐私,我想保持设置始终打开。
目前,我必须在 Colab 选项卡旁边有另一个选项卡,这样在我使用完 Colab 后,我可以立即将其关闭并且不会忘记它。但是我每次使用 Colab 时都必须这样做。
为了解决这个问题,我尝试遵循 chrome help guide 并将 https://colab.research.google.com
和 [*.]google.com
添加到允许 Cookie 的白名单中。但是,错误弹出窗口仍然会显示。我也试过 https://colab.research.google.com[/*]
,但是 chrome 说它不是一个有效的域。
有没有办法允许 Colab 域 cookie?
输出单元格是一个
https://jbe1910iol-colab.googleusercontent.com/v2/usercontent/8b5e8f2bbe60490e/outputframe.html
所以,您也可以尝试将 [*.]googleusercontent.com
添加到白名单。
但不确定它是否有效。希望如此。
对于 Google Chrome,请转到 cookies 设置页面
在地址栏中键入此内容
chrome://settings/content/cookies
在 Allow
部分,单击添加按钮。
粘贴这个[*.]googleusercontent.com
就这些了。
根据 Korakot Chaovavanich 的解释,我添加了步骤
我正在试用 Google Colab,但后来我不断收到这个弹出框,上面写着:
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.
虽然关闭 Block third party cookies
从
目前,我必须在 Colab 选项卡旁边有另一个选项卡,这样在我使用完 Colab 后,我可以立即将其关闭并且不会忘记它。但是我每次使用 Colab 时都必须这样做。
为了解决这个问题,我尝试遵循 chrome help guide 并将 https://colab.research.google.com
和 [*.]google.com
添加到允许 Cookie 的白名单中。但是,错误弹出窗口仍然会显示。我也试过 https://colab.research.google.com[/*]
,但是 chrome 说它不是一个有效的域。
有没有办法允许 Colab 域 cookie?
输出单元格是一个
https://jbe1910iol-colab.googleusercontent.com/v2/usercontent/8b5e8f2bbe60490e/outputframe.html
所以,您也可以尝试将 [*.]googleusercontent.com
添加到白名单。
但不确定它是否有效。希望如此。
对于 Google Chrome,请转到 cookies 设置页面
在地址栏中键入此内容
chrome://settings/content/cookies
在
Allow
部分,单击添加按钮。粘贴这个
[*.]googleusercontent.com
就这些了。
根据 Korakot Chaovavanich 的解释,我添加了步骤