aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/navigator
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/navigator')
-rw-r--r--files/ru/web/api/navigator/battery/index.html2
-rw-r--r--files/ru/web/api/navigator/connection/index.html2
-rw-r--r--files/ru/web/api/navigator/cookieenabled/index.html6
-rw-r--r--files/ru/web/api/navigator/donottrack/index.html6
-rw-r--r--files/ru/web/api/navigator/getgamepads/index.html2
-rw-r--r--files/ru/web/api/navigator/index.html6
-rw-r--r--files/ru/web/api/navigator/oscpu/index.html8
-rw-r--r--files/ru/web/api/navigator/registerprotocolhandler/index.html10
-rw-r--r--files/ru/web/api/navigator/serviceworker/index.html2
-rw-r--r--files/ru/web/api/navigator/vibrate/index.html2
10 files changed, 23 insertions, 23 deletions
diff --git a/files/ru/web/api/navigator/battery/index.html b/files/ru/web/api/navigator/battery/index.html
index ef37af5d6a..997d5b86e1 100644
--- a/files/ru/web/api/navigator/battery/index.html
+++ b/files/ru/web/api/navigator/battery/index.html
@@ -11,7 +11,7 @@ translation_of: Web/API/Navigator/battery
<p>Свойство <code>battery</code> устарело и было заменено {{DOMxRef("Navigator.getBattery()")}}. Метод возвращает {{DOMxRef("Promise")}}. Хотя оно частично поддерживается.</p>
</div>
-<h2 id="Syntax" name="Syntax">Синтаксис</h2>
+<h2 id="Syntax">Синтаксис</h2>
<pre class="syntaxbox">var battery = navigator.battery;</pre>
diff --git a/files/ru/web/api/navigator/connection/index.html b/files/ru/web/api/navigator/connection/index.html
index 33d2476bf7..87222d99c9 100644
--- a/files/ru/web/api/navigator/connection/index.html
+++ b/files/ru/web/api/navigator/connection/index.html
@@ -14,7 +14,7 @@ original_slug: Web/API/NetworkInformation/connection
<pre class="syntaxbox"><em>connectionInfo</em> = navigator.connection</pre>
-<h2 id="Specifications" name="Specifications">Спецификации</h2>
+<h2 id="Specifications">Спецификации</h2>
<table class="standard-table">
<thead>
diff --git a/files/ru/web/api/navigator/cookieenabled/index.html b/files/ru/web/api/navigator/cookieenabled/index.html
index 05dbcb7ae0..45f2ca2b01 100644
--- a/files/ru/web/api/navigator/cookieenabled/index.html
+++ b/files/ru/web/api/navigator/cookieenabled/index.html
@@ -7,7 +7,7 @@ translation_of: Web/API/Navigator/cookieEnabled
<p>Возвращает логическое значение (Boolean), показывающее включены ли куки или нет.(свойство только для чтения.</p>
-<h2 id="Syntax" name="Syntax">Синтаксис</h2>
+<h2 id="Syntax">Синтаксис</h2>
<pre class="eval">var cookieEnabled = navigator.cookieEnabled;
</pre>
@@ -16,7 +16,7 @@ translation_of: Web/API/Navigator/cookieEnabled
<li><code>cookieEnabled</code> is a Boolean <code>true</code> or <code>false</code>.</li>
</ul>
-<h2 id="Example" name="Example">Пример</h2>
+<h2 id="Example">Пример</h2>
<pre class="brush: js">if (!navigator.cookieEnabled) {
// пусть пользователь знает, что включённые куки делают страницу более полезной.
@@ -26,6 +26,6 @@ translation_of: Web/API/Navigator/cookieEnabled
<p>{{Compat("api.Navigator.cookieEnabled")}}</p>
-<h2 id="Specification" name="Specification">Спецификация</h2>
+<h2 id="Specification">Спецификация</h2>
<p>HTML WHATWG</p>
diff --git a/files/ru/web/api/navigator/donottrack/index.html b/files/ru/web/api/navigator/donottrack/index.html
index bb4c5ed172..933653ccd4 100644
--- a/files/ru/web/api/navigator/donottrack/index.html
+++ b/files/ru/web/api/navigator/donottrack/index.html
@@ -7,20 +7,20 @@ translation_of: Web/API/Navigator/doNotTrack
<p>Возвращает настройки пользователя  do-not-track. Будет "yes" если пользователь попросил не отслеживать его на веб-сайтах, контенте, рекламе.</p>
-<h2 id="Syntax" name="Syntax">Синтаксис</h2>
+<h2 id="Syntax">Синтаксис</h2>
<pre class="eval"><em>dnt</em> = <em>navigator</em>.doNotTrack;
</pre>
<p>Значение отражает , что в заголовке do-not-track header, т.е. значения {"1", "0", "unspecified" }.Примечание: до  Gecko 32, Gecko были использованы значения { "yes", "no", "unspecified"} (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=887703">bug 887703</a>).</p>
-<h2 id="Example" name="Example">Пример</h2>
+<h2 id="Example">Пример</h2>
<pre class="eval">dump(window.navigator.doNotTrack);
// prints "1" if DNT is enabled; "0" if the user opted-in for tracking; otherwise this is "unspecified"
</pre>
-<h2 id="Specification" name="Specification">Спецификация</h2>
+<h2 id="Specification">Спецификация</h2>
<p><a class="external" href="http://www.w3.org/TR/tracking-dnt/">Tracking Preference Expression</a> (Working проект) основан на более ранней версии этой спецификации, где <code>navigator.doNotTrack</code> <strong>это </strong>значение<strong> </strong> посланное заголовком do-not-track.</p>
diff --git a/files/ru/web/api/navigator/getgamepads/index.html b/files/ru/web/api/navigator/getgamepads/index.html
index 08ef7dbcef..d8348a4f9d 100644
--- a/files/ru/web/api/navigator/getgamepads/index.html
+++ b/files/ru/web/api/navigator/getgamepads/index.html
@@ -37,7 +37,7 @@ translation_of: Web/API/Navigator/getGamepads
</tbody>
</table>
-<h2 id="Browser_compatibility" name="Browser_compatibility">Совместимость браузеров</h2>
+<h2 id="Browser_compatibility">Совместимость браузеров</h2>
<p>{{Compat("api.Navigator.getGamepads")}}</p>
diff --git a/files/ru/web/api/navigator/index.html b/files/ru/web/api/navigator/index.html
index 136e313b2c..c9931f6f03 100644
--- a/files/ru/web/api/navigator/index.html
+++ b/files/ru/web/api/navigator/index.html
@@ -56,7 +56,7 @@ translation_of: Web/API/Navigator
<dd>Возвращает {{domxref("ServiceWorkerContainer")}} объект, который обеспечивает доступ к регистрации, удалению, обновлению и связи с {{domxref("ServiceWorker")}} объектами для <a href="https://html.spec.whatwg.org/multipage/browsers.html#concept-document-window">соответствующего документа.</a></dd>
</dl>
-<h3 id="Methods" name="Methods">Не стандартизированные</h3>
+<h3 id="Methods">Не стандартизированные</h3>
<dl>
<dt>{{domxref("window.navigator.buildID", "navigator.buildID")}} {{non-standard_inline}}</dt>
@@ -90,7 +90,7 @@ translation_of: Web/API/Navigator
<dd>Возвращает объект PointerLock для <a href="/en-US/docs/API/Pointer_Lock_API" title="Mouse Lock API">Mouse Lock API</a>.</dd>
</dl>
-<h2 id="Methods" name="Methods">Методы</h2>
+<h2 id="Methods">Методы</h2>
<p>Не наследует никаких других свойств, но реализует те, которые определены в <em>{{domxref("NavigatorID")}}, {{domxref("NavigatorContentUtils")}}, <em>{{domxref("NavigatorUserMedia")}}, и</em> {{domxref("NavigatorStorageUtils")}}.</em></p>
@@ -109,7 +109,7 @@ translation_of: Web/API/Navigator
<dd>Причина вибрации устройства с поддержкой её. Не делает ничего, если нет поддержки вибрации.</dd>
</dl>
-<h3 id="Specification" name="Specification">Не стандартизированные</h3>
+<h3 id="Specification">Не стандартизированные</h3>
<dl>
<dt>{{domxref("window.navigator.mozIsLocallyAvailable", "navigator.mozIsLocallyAvailable")}} {{non-standard_inline}}</dt>
diff --git a/files/ru/web/api/navigator/oscpu/index.html b/files/ru/web/api/navigator/oscpu/index.html
index 01d37fd10e..aca70ba5bf 100644
--- a/files/ru/web/api/navigator/oscpu/index.html
+++ b/files/ru/web/api/navigator/oscpu/index.html
@@ -7,7 +7,7 @@ translation_of: Web/API/Navigator/oscpu
<p><span lang="ru"><span class="hps">Возвращает</span> <span class="hps">строку, которая идентифицирует</span> <span class="hps">текущую операционную систему.</span></span></p>
-<h2 id="Syntax" name="Syntax">Синтаксис</h2>
+<h2 id="Syntax">Синтаксис</h2>
<pre class="eval"><em>oscpuInfo</em> = window.navigator.oscpu
</pre>
@@ -63,7 +63,7 @@ translation_of: Web/API/Navigator/oscpu
<p><sup>1</sup>x.y <span class="short_text" id="result_box" lang="ru"><span class="hps">относится к</span> <span class="hps">версии операционной</span> <span class="hps">системы</span></span></p>
-<h2 id="Example" name="Example">Пример</h2>
+<h2 id="Example">Пример</h2>
<pre class="brush: js">function osInfo() {
  alert(window.navigator.oscpu);
@@ -71,10 +71,10 @@ translation_of: Web/API/Navigator/oscpu
// returns: "Windows NT 6.0" for example
</pre>
-<h2 id="Notes" name="Notes">Примечание</h2>
+<h2 id="Notes">Примечание</h2>
<p><span id="result_box" lang="ru"><span class="hps">Если</span> <span class="hps">ваш код</span> <span class="hps">не</span> <span class="hps">является привилегированным</span> <span class="hps">(</span></span>chrome<span lang="ru"> <span class="hps">или по крайней мере</span> <span class="hps">имеет привилегию</span> <span class="hps">UniversalBrowserRead</span><span>)</span><span>,</span> <span class="hps">он может получить</span> <span class="hps">значение</span> <span class="hps">general.oscpu.override</span><span>, а не</span> <span class="hps">истинной</span> <span class="hps">платформы</span><span>.</span></span></p>
-<h2 id="Specification" name="Specification">Спецификация</h2>
+<h2 id="Specification">Спецификация</h2>
<p><em>Не является частью какой-либо спецификации.</em></p>
diff --git a/files/ru/web/api/navigator/registerprotocolhandler/index.html b/files/ru/web/api/navigator/registerprotocolhandler/index.html
index 37e6f990c9..153bfca7fe 100644
--- a/files/ru/web/api/navigator/registerprotocolhandler/index.html
+++ b/files/ru/web/api/navigator/registerprotocolhandler/index.html
@@ -11,7 +11,7 @@ translation_of: Web/API/Navigator/registerProtocolHandler
<p><span id="result_box" lang="ru"><span class="hps">Расширения могут</span> <span class="hps">регистрировать обработчики</span> <span class="hps">протоколов</span><span>, направленные</span> <span class="hps">другие сайты</span><span>: </span></span>см. "Смотрите также" раздел как использовать их с XPCOM.</p>
-<h2 id="Syntax" name="Syntax">Синтаксис</h2>
+<h2 id="Syntax">Синтаксис</h2>
<pre class="eval">window.navigator.registerProtocolHandler(<em>protocol</em>, <em>uri</em>, <em>title</em>);
</pre>
@@ -28,7 +28,7 @@ translation_of: Web/API/Navigator/registerProtocolHandler
</li>
</ul>
-<h2 id="Example" name="Example">Пример</h2>
+<h2 id="Example">Пример</h2>
<p>Если ваше веб-приложение находится по адресу <code><span class="nowiki">http://www.google.co.uk</span></code>, вы можете зарегистрировать обработчик протокола и привязать  обращение к нему "burger", как это:</p>
@@ -48,15 +48,15 @@ translation_of: Web/API/Navigator/registerProtocolHandler
<p><strong>Примечание</strong>: "<a href="/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIWebContentHandlerRegistrar#Getting_most_recent_window">Регистрация службы веб-почты, как mailto-обработчик</a>", показывает как сделать это в рамках XPCOM.</p>
</div>
-<h2 id="Specification" name="Specification">Спецификация</h2>
+<h2 id="Specification">Спецификация</h2>
<p>Specified by the WHATWG's <a class="external" href="http://whatwg.org/specs/web-apps/current-work/#custom-handlers">Web Applications 1.0 working draft</a> (HTML5).</p>
-<h2 id="See_also" name="See_also">Совместимость с браузерами</h2>
+<h2 id="See_also">Совместимость с браузерами</h2>
<p>{{Compat("api.Navigator.registerProtocolHandler")}}</p>
-<h2 id="See_also" name="See_also">Смотрите также</h2>
+<h2 id="See_also">Смотрите также</h2>
<ul>
<li><a href="/en/Web-based_protocol_handlers" title="en/Web-based_protocol_handlers">Web-based protocol handlers</a></li>
diff --git a/files/ru/web/api/navigator/serviceworker/index.html b/files/ru/web/api/navigator/serviceworker/index.html
index 6de6588272..4fccb0352a 100644
--- a/files/ru/web/api/navigator/serviceworker/index.html
+++ b/files/ru/web/api/navigator/serviceworker/index.html
@@ -7,7 +7,7 @@ translation_of: Web/API/Navigator/serviceWorker
<p>Свойство только-для-чтения <strong>Navigator.serviceWorker </strong>возвращает объект {{domxref("ServiceWorkerContainer")}}, который предоставляет доступ к регистрации, удалению, обновлению и взаимодействию с объектами {{domxref("ServiceWorker")}} для <a href="https://html.spec.whatwg.org/multipage/browsers.html#concept-document-window">соответствующего документа</a>.</p>
-<h2 id="Syntax" name="Syntax" style="line-height: 30px; font-size: 2.14285714285714rem;">Синтаксис</h2>
+<h2 id="Syntax" style="line-height: 30px; font-size: 2.14285714285714rem;">Синтаксис</h2>
<pre class="syntaxbox" style="font-size: 14px;">var <var>workerContainerInstance</var> = navigator.serviceWorker;
</pre>
diff --git a/files/ru/web/api/navigator/vibrate/index.html b/files/ru/web/api/navigator/vibrate/index.html
index a9e698699d..a64195aaef 100644
--- a/files/ru/web/api/navigator/vibrate/index.html
+++ b/files/ru/web/api/navigator/vibrate/index.html
@@ -9,7 +9,7 @@ translation_of: Web/API/Navigator/vibrate
<p><span id="result_box" lang="ru"><span class="hps">Если</span> <span class="hps">метод</span> <span class="hps">не в состоянии</span> <span class="hps">вибрировать</span> <span class="hps">из-за</span> <span class="hps">недействительных</span> <span class="hps">параметров</span><span>,</span></span> он вернёт <code>false</code>, иначе вернёт <code>true</code>. Если шаблон ведёт к слишком длинной вибрации, он усекается: <span id="result_box" lang="ru"><span class="hps">максимальная длина</span> <span class="hps">зависит</span> <span class="hps">от</span> <span class="hps">конкретной реализации</span><span>.</span></span></p>
-<h2 id="Syntax" name="Syntax">Синтаксис</h2>
+<h2 id="Syntax">Синтаксис</h2>
<pre class="syntaxbox">var <em>successBool</em> = window.navigator.vibrate(<em><var>pattern</var></em>);
</pre>