How to Block or Allow Cookies on a Single Website in Chrome
How browser cookies work
Its function is record information. For example, when we enter a web page, it will detect our device, location, language preference, etc. That way, when we come back, he’ll remember it all. It can even store products that we put to buy or our data to log in.
There are different types of cookies. Some are used for statistical purposes, for example so that the managers of a website know where the visits come from, at what time, etc. Others are security, which are basically the ones used to log in. There are also advertisements, which collect data about our tastes, the sites we visit or the searches we perform, and then send us targeted advertisements.
Sometimes they can be useful when customizing navigation, to save time when entering a web page and not having to re-enter data, etc. But we must also bear in mind that we provide personal data. Thus, when they access a web page, they ask us whether or not we want to accept cookies and, therefore, share information with them.
They are dangerous cookies? This is certainly a question that users sometimes ask themselves. The truth is that they are not dangerous, they are not a safety issue, at least on paper. In other words, session cookies could be a problem. Imagine that we have saved cookies to log in with our data by mail or any social network and someone accesses our computer; I could see this data.
Allow or block on a page in Chrome
To do this we must go to the top menu of Google Chrome and enter Settings, Security and privacy, Website settings and, in the Content section, Cookies and site data. We will first see the General settingswhere we have the option to allow all cookies, block third-party cookies, block all, etc.
As we can see, what we basically do is create a white or black list. The sites that we enable so that they can save all the necessary cookies and another list where we put the sites that we never want to save our data when we browse their page.
We only have to click on Add and the bar will appear for put the exact url of this page. In addition, we will also see a box to include third-party cookies on this specific site. We can tick the box or not, depending on whether or not we want to include third-party cookies.
This done, once the URL has been written and the box checked or not, all that remains is to click on Add. This website will automatically have been included in this list that we have created to block or allow all cookies, without affecting the rest of the web pages that we can browse at any time.
From Windows Registry
Another option to block cookies for a specific website is to use the Windows Registry. To do this, you can press the Win + R key combination and run the regedit command or go to Start and search for Registry Editor and open it. Once inside, you need to go to the path EquipoHKEY_LOCAL_MACHINESOFTWAREpolicies.
In this route, you need to right-click and click New Value. There you put Google. Later, at the top of the Google folder, click again with the second mouse button and press New and place Chrome.
Once there we have to recreate a new value but this time we name it CookiesBlockedForUrl and CookiesAllowedForUrl.
When you have created it, all you have to do is double-click on this new value and put the url that matches in the Value Information section. We must click OK and it is important to restart the computer for the changes to take effect.
From this moment we will have added a value to block or allow cookies from the Windows Registry. It is a simple procedure, as we have seen. We can do it in Windows 10 and Windows 11 and the steps are similar.
Therefore, we can say that cookies are small file fragments which store information when we browse the Internet. They will collect data about our equipment, their location, their configuration… Also some personal data, so sometimes we may not want to share information and choose to block it.
we can choose what to do when we visit a page. The typical dialog box appears to allow or block cookies according to our interests. We can even configure Google Chrome to automatically block or allow all cookies that appear while browsing.
But also, as we have seen, there is the possibility of creating a white or black list to manually authorize the websites that can access cookies or block them for this particular page. We can do it from the Chrome browser itself, but also from the Windows registry, where we will only have to follow the steps that we have explained.