- What is a cookie and how does it look like?
- How do cookies work?
- What are cookies used for?
- Types of cookies
- Where are cookies stored?
- How to block cookies and what happens if you turn them off completely?
- How to clear cookies in Chrome
- How to clear cookies in Safari
- How to clear cookies in Opera
- How to clear cookies in Mozilla Firefox
All of us often give our consent on websites in the cookies window. But have you ever wondered what information sites actually collect about you and what they might use it for in the future? Do you have to accept cookies on every website?
What is a cookie and how does it look like?
Cookies are small text documents that are sent to the browser from a web server (site). In general, cookies simplify the web experience and personalize the content. They can contain:
- the time, place, and device from which the user accessed the online resource;
- language and currency;
- items viewed or added to the cart;
- the text that the user entered on the site;
- the browser and its version;
To see what cookies look like in Chrome, go to Settings - Privacy & Security - Cookies and other site data - See all site data and permissions. Select any site from the list and you will find all permissions for it (cookie data).
How do cookies work?
- You enter the domain name of a site into your browser or select a site from a search engine result;
- The browser sends a request to the site;
- The browser searches your device for that site's cookies;
- If the cookies were found, they are sent to the site's server;
- If the site's server received the cookie, it uses data for its intended purpose. If not, you will be identified as a new user.
Due to the way HTTP works, each time the page is refreshed, the browser forgets all previously performed actions on this site. For example, settings of the interface, successful authorization or the set of products in the shopping cart. Cookies solve this problem - and you, accordingly, do not need to enter your login and password every time or to search again for products in the catalog.
Frequently, users cannot normally use an online resource until they give their permission in the constantly popping up window about cookies. Sometimes it is possible to choose which specific data will be tracked, but not all websites offer this "luxury".
For example, ikea.com suggests setting cookies, where you can "turn off" some data collection.
What are cookies used for?
Cookies are the way for sites, ads, search engines, and other services to adapt to your preferences, location, and other factors. In short, to make your online activity more convenient. Here are the main purposes for collecting cookies:
Cookies allow you to log in automatically and keep items in your shopping cart even when you close the website. The language, currency or region settings are saved when you return to the online resource. For example, NID or ENID files are responsible for this.
Some cookies are responsible for user authentication and prevent scams and spam. For example, SID and HSID files store encrypted data about your Google account and last login time.
Online resources collect cookies for analytics to develop and offer high-quality content to users. For example, the _ga file is used only within one site.
Personalized advertising based on queries, hidden ads, advertising effectiveness evaluation, conversion tracking - all this can be realized on the Internet thanks to cookies.
Cookies and other technologies provide users with better content recommendations and more correct search results. Ads are also customized based on user interests and search history.
Despite a sufficient level of protection, cookies can be stolen. For example, if a person uses public Wi-Fi, unsecured or already hacked devices, their personal data can be compromised. Online platforms can also cause a problem if they don't pay proper attention to IT security.
For instance, in 2021, the personal data of more than 1.5 billion Facebook users was put up for sale on a hacking forum.
Another disadvantage of cookies is that they take up a lot of memory if you forget about them for a couple of years. Therefore, it is important to periodically clean these files.
Types of cookies
The lifetime of the collected data can be divided into session cookies and persistent cookies.
- Session (temporary) cookies exist only while the user is on the website, that is, during an active session. The files are automatically deleted as soon as the user closes the tab;
- Persistent cookies have a longer validity period. They are either deleted by the user or self-desctruct after a period of time. The "lifetime" of such cookies may be a week, a month, or several years.
Cookies can also be first-party or third-party. First-party cookies won't allow you to view or use data about the behavior and actions of users on other sites, but only on your own site. With third-party cookies, you will be able to do this. For example, third-party cookies may be collected if there are ads on the site you are visiting.
Google representatives previously announced that they would stop using third-party cookies by 2022. Firefox and Safari browsers have not used them for a long time.
Where are cookies stored?
Cookie text files are stored on your computer, so they are easy to find depending on the browser you are using.
On Windows, cookies are stored by default at C:\User_name\AppData:
- Yandex Browser
C:\User_name\AppData\Roaming\Opera Software\Opera Stable\
- Internet Explorer 11
On MacOS, you can find Google Chrome browser cookies through the Library. In the Finder, click "Go" and then "Go to folder".
In the window that opens, type ~/Library/ in the search box and choose the first result.
You can also go to the "Library" via the tab with your username, as shown in the screenshot below.
Then under Application - Support - Google - Chrome - Default you will find the cookies file.
How to block cookies and what happens if you turn them off completely?
If you use several browsers at once, you need to clear and configure cookies in each browser separately. In general, this process is very similar from browser to browser.
We recommend not disabling cookies completely. This may cause some websites to work incorrectly, limiting features or access.
How to clear cookies in Chrome
To change the transfer of cookies, go to Settings - Privacy & Security - Cookies and other site data. Here you can select one of the preferred cookie collection options or basically block all cookies.
To clear cookies, go to Settings - Privacy & Security - Clear History. Check the box next to "Cookies and other site data", select a time range and click "Clear data".
How to clear cookies in Safari
In the Safari browser, go to Preferences - Privacy. Here you can either block all cookies or selectively clear them via the "Manage website data" tab.
How to clear cookies in Opera
You can configure cookies in Opera by following these steps: Settings - Security - Cookies and other site data. Here you can block all cookies or choose a more acceptable option, such as blocking only third-party cookies.
It is also possible to configure selective cookie blocking for sites. Click "Add" near the selected setting and paste the site address.
To clear cookies in Opera, go to Settings -Privacy & Security - Clear browsing data. Select a time range, check the box next to "Cookies and other site data" and click "Clear data".
How to clear cookies in Mozilla Firefox
You can configure and clear cookies in Mozilla via Settings - Privacy & Security. For example, you can automatically delete all cookies when you close your browser.
You can delete cookies in Mozilla either completely via the "Clear data" tab or selectively via the "Manage data" tab.
So, what are cookies? It is a text document with data about our actions on websites. Thanks to them, we are automatically authorized, don't lose products from the online shopping cart, see personalized advertising, and get high-quality content recommendations.
Despite the possibility of data theft, most online resources are concerned about IT security and keep scammers away from users' personal information. However, to avoid unpleasant incidents and free up some memory on your device, we recommend regular cookie clearing.
Stay anonymous online and don't endanger your personal data with a dedicated IP.Choose VPN