diff options
author | YujiSoftware <yuji.software@gmail.com> | 2021-05-16 22:30:00 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-16 16:30:00 +0300 |
commit | d2c717611f2ab3dc0a25deae3a78cf44aa31a4f2 (patch) | |
tree | bb953ad1f2cf6752372fac3dcae7db4634e2de6f /files/ru/web/api/navigatoronline/online/index.html | |
parent | 0667721b0999fe6407c1a82888a760ea5d0e2c7d (diff) | |
download | translated-content-d2c717611f2ab3dc0a25deae3a78cf44aa31a4f2.tar.gz translated-content-d2c717611f2ab3dc0a25deae3a78cf44aa31a4f2.tar.bz2 translated-content-d2c717611f2ab3dc0a25deae3a78cf44aa31a4f2.zip |
Migrate CompatibilityTable to Compat macro (lang-ru) (#876)
* Migrate to Compat macro
* Migrate to Compat macro (multiple in page)
* Migrate to Compat macro
* Migrate to Compat macro (removed)
Diffstat (limited to 'files/ru/web/api/navigatoronline/online/index.html')
-rw-r--r-- | files/ru/web/api/navigatoronline/online/index.html | 83 |
1 files changed, 1 insertions, 82 deletions
diff --git a/files/ru/web/api/navigatoronline/online/index.html b/files/ru/web/api/navigatoronline/online/index.html index 35c66e47fa..9cd6c3bf9d 100644 --- a/files/ru/web/api/navigatoronline/online/index.html +++ b/files/ru/web/api/navigatoronline/online/index.html @@ -47,88 +47,7 @@ window.addEventListener("online", function(e) {alert("online");}) <h2 id="Browser_compatibility" name="Browser_compatibility">Совместимость в браузерах</h2> -<p>{{CompatibilityTable}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>свойство</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Базовая поддержка</td> - <td> - <p>Windows: 11 [2]<br> - Mac: 14<br> - Chrome OS: 13<br> - Linux: всегда возвращает <code>true</code></p> - - <p>Просмотр истории <a class="external" href="http://crbug.com/7469" title="http://crbug.com/7469">crbug.com/7469</a></p> - </td> - <td>{{CompatGeckoDesktop(1.9.1)}} [1]</td> - <td>8 [3]</td> - <td>{{CompatNo}} [1]</td> - <td>5.0.4</td> - </tr> - <tr> - <td>on {{domxref("WorkerNavigator")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoDesktop(29)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Свойство</th> - <th>Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>BlackBerry</th> - </tr> - <tr> - <td>Базовая поддержка</td> - <td>Android 2.2 (<span class="short_text" id="result_box" lang="ru"><span class="hps">Неисправность</span> <span class="hps">в компоненте</span> <span class="hps">WebView</span><span>, см</span> <span class="hps">описание</span></span><a class="external" href="http://code.google.com/p/android/issues/detail?id=16760">16760</a>)</td> - <td>{{CompatGeckoMobile(1.9.1)}} [1]</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td> - <p>BlackBerry OS 7<br> - <span style="line-height: 1.5;">BlackBerry OS 10</span></p> - </td> - </tr> - <tr> - <td>on {{domxref("WorkerNavigator")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile(29)}}</td> - <td>{{CompatUnknown}}</td> - <td> {{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] <span id="result_box" lang="ru"><span class="hps">Начиная с</span> <span class="hps">Firefox</span> <span class="hps">4</span><span>,</span> <span class="hps">и</span> <span class="hps">Opera</span> <span class="hps">11.10</span><span>,</span> <span class="hps">браузер возвращает</span> <span class="hps"><code>true</code>, когда</span> <span class="hps">режим</span> <span class="atn hps">"</span><span>Работать автономно</span><span>"</span> <span class="hps">отключён, и</span> <code><span class="hps">false</span></code><span>, когда</span> <span class="hps">он включён</span><span>,</span> <span class="hps">независимо от фактического</span> <span class="hps">подключения</span><span>.</span></span></p> - -<p>[2]<span id="result_box" lang="ru"><span class="hps"> Более ранние версии</span> <span class="hps">Chrome</span> <span class="hps">возвращали</span> <span class="hps"><code>true</code> неверно, когда</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 class="hps">сети.</span></span></p> - -<p>[3] В IE 8 "online" и "offline" события находятся в <code>document.body</code>; Под IE 9 они оба находятся <code>в document.body</code> и <code>window</code>.</p> +<p>{{Compat("api.NavigatorOnLine.onLine")}}</p> <h2 id="Notes" name="Notes">Примечание</h2> |