Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Allow a Google Colab domain cookies on chrome

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.

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.

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.

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.

Is there a way to allow Colab domain cookies for that?

like image 236
Morris wong Avatar asked May 11 '18 09:05

Morris wong


People also ask

How do I unblock third-party cookies on Chrome?

Tap the three vertical dots on the top right corner in Chrome and select Settings. Find the advanced section and go to Site Settings. Inside the site settings, tap cookies and tick the “Allow 3rd party cookies” checkbox. Close and reload the browser.


1 Answers

For Google Chrome, go to the cookies settings page

  1. Type this in the address bar

    chrome://settings/content/cookies

  2. In Allow section, click add button.

  3. paste this [*.]googleusercontent.com

That's all.

As Korakot Chaovavanich's explanation, I added steps

like image 90
Vinoj John Hosan Avatar answered Sep 28 '22 01:09

Vinoj John Hosan