Первичные файлы cookie

Первичные файлы cookie устанавливаются тем веб-сайтом, который указан в строке URL.

С первых дней интернета стало очевидным, что веб-сайтам было бы выгодно иметь возможность хранить информацию на компьютере для последующего доступа к ней. Например, веб-сайт, предоставляющий информацию о погоде, может запросить у пользователя название города, а затем сохранить его в файле cookie. При следующем посещении веб-сайта информация о погоде будет автоматически загружена для этого города, без необходимости вводить его снова.

Как и со всем остальным в интернете, умные люди выяснили все способы злоупотребления cookie, чтобы делать то, что пользователи не одобрят, если узнают что именно происходит. Например, веб-сайт может установить файл cookie на устройстве с уникальным номером. Затем каждый раз, когда пользователь посещает веб-сайт с этого устройства, он может быть связан с уникальным профилем, который сервер хранит для этого номера, даже если устройство подключается с разных IP-адресов.

Almost all websites with logins require cookies to be enabled for a user to log in. That is how they make sure it is still you as you move from page to page on the site, and is, in my opinion, the only legitimate use for cookies.

If cookies are enabled but JavaScript is disabled, the privacy icon will be yellow as a warning.

Сторонние файлы cookie

Third-party cookies are set by portions of a website that are loaded from servers different from the URL at the top of the page. There is no good reason to ever enable third-party cookies. Privacy Browser 3.8 removed the option, and even Google is planning to disable them in the future. On devices with Android KitKat (version 4.4.4, API 20), WebView does not differentiate between first-party and third-party cookies. Thus, enabling cookies will also enable third-party cookies.

DOM-хранилище

Document Object Model storage, also known as web storage, is like cookies on steroids. Whereas the maximum combined storage size for all cookies from a single URL is 4 kilobytes, DOM storage can hold megabytes per site. Unlike cookies, DOM storage does not send all the data in the headers with every request. Rather, it uses JavaScript to read and write data, which means it does not function when JavaScript is disabled.

Данные формы

Form data contains information typed into web forms, like user names, addresses, phone numbers, etc., and lists them in a drop-down box on future visits. Unlike the other forms of local storage, form data is not sent to the web server without specific user interaction. Beginning in Android Oreo (version 8.0, API 26), WebView’s form data was replaced by the Autofill service. As such, controls for form data no longer appear on newer Android devices.