]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/assets/ru/guide_local_storage.html
56c44663315afdaa3d65634342e643a7c9fa8af7
[PrivacyBrowserAndroid.git] / app / src / main / assets / ru / guide_local_storage.html
1 <!--
2   Copyright © 2016-2018,2020-2021 Soren Stoutner <soren@stoutner.com>.
3
4   This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
5
6   Privacy Browser is free software: you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation, either version 3 of the License, or
9   (at your option) any later version.
10
11   Privacy Browser is distributed in the hope that it will be useful,
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   GNU General Public License for more details.
15
16   You should have received a copy of the GNU General Public License
17   along with Privacy Browser.  If not, see <http://www.gnu.org/licenses/>. -->
18
19 <html>
20     <head>
21         <meta charset="UTF-8">
22
23         <link rel="stylesheet" href="../css/theme.css">
24
25         <!-- Setting the color scheme instructs the WebView to respect `prefers-color-scheme` @media CSS. -->
26         <meta name="color-scheme" content="light dark">
27     </head>
28
29     <body>
30         <h3><svg class="header"><use href="../shared_images/cookie.svg#icon"/></svg> Первичные файлы cookie</h3>
31
32         <p>Первичные файлы cookie устанавливаются тем веб-сайтом, который указан в строке URL.</p>
33
34         <p>С первых дней интернета стало очевидным, что веб-сайтам было бы выгодно иметь возможность хранить информацию на компьютере для последующего доступа к ней.
35             Например, веб-сайт, предоставляющий информацию о погоде, может запросить у пользователя название города, а затем сохранить его в файле cookie.
36             При следующем посещении веб-сайта информация о погоде будет автоматически загружена для этого города, без необходимости вводить его снова.</p>
37
38         <p>Как и со всем остальным в интернете, умные люди выяснили все способы злоупотребления cookie, чтобы делать то, что пользователи не одобрят, если узнают что именно происходит.
39             Например, веб-сайт может установить файл cookie на устройстве с уникальным номером.
40             Затем каждый раз, когда пользователь посещает веб-сайт с этого устройства, он может быть связан с уникальным профилем, который сервер хранит для этого номера,
41             даже если устройство подключается с разных IP-адресов.</p>
42
43         <p>Almost all websites with logins require cookies to be enabled for a user to log in.
44             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.</p>
45
46         <p>If cookies are enabled but JavaScript is disabled, the privacy icon will be yellow <img class="inline" src="../shared_images/warning.svg"> as a warning.</p>
47
48
49         <h3><svg class="header"><use href="../shared_images/cookie.svg#icon"/></svg> Сторонние файлы cookie</h3>
50
51         <p>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.
52             There is no good reason to ever enable third-party cookies. Privacy Browser 3.8 removed the option, and even Google is planning to
53             <a href="https://www.theverge.com/2020/1/14/21064698/google-third-party-cookies-chrome-two-years-privacy-safari-firefox">disable them in the future</a>.
54             On devices with Android KitKat (version 4.4.4, API 20), WebView does not
55             <a href="https://developer.android.com/reference/android/webkit/CookieManager.html#setAcceptThirdPartyCookies(android.webkit.WebView, boolean)">differentiate
56             between first-party and third-party cookies</a>. Thus, enabling cookies will also enable third-party cookies.</p>
57
58
59         <h3><svg class="header"><use href="../shared_images/web.svg#icon"/></svg> DOM-хранилище</h3>
60
61         <p>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,
62             DOM storage can hold <a href="https://en.wikipedia.org/wiki/Web_storage#Features">megabytes per site</a>. Unlike cookies, DOM storage does not send all the data in the headers with every request.
63             Rather, it uses JavaScript to read and write data, which means it does not function when JavaScript is disabled.</p>
64
65
66         <h3><svg class="header"><use href="../shared_images/subtitles.svg#icon"/></svg> Данные формы</h3>
67
68         <p>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.
69             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),
70             WebView’s form data was replaced by the <a href="https://medium.com/@bherbst/getting-androids-autofill-to-work-for-you-21435debea1">Autofill service</a>.
71             As such, controls for form data no longer appear on newer Android devices.</p>
72     </body>
73 </html>