aboutsummaryrefslogtreecommitdiff
path: root/files/ru/tools/firefox_os_1.1_simulator/index.html
diff options
context:
space:
mode:
authorAlexey Pyltsyn <lex61rus@gmail.com>2021-10-20 13:28:52 +0300
committerGitHub <noreply@github.com>2021-10-20 13:28:52 +0300
commit1386fed7d38652d5848d315927e7e23a66cffd13 (patch)
treeeb4b9adfec3f46c77304a1b9461d44357c8164c8 /files/ru/tools/firefox_os_1.1_simulator/index.html
parentb0f32a46245b1033098a5a9826a7818fa4e65dde (diff)
downloadtranslated-content-1386fed7d38652d5848d315927e7e23a66cffd13.tar.gz
translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.tar.bz2
translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.zip
[RU] Remove `name` attribute from headings (#2788)
Diffstat (limited to 'files/ru/tools/firefox_os_1.1_simulator/index.html')
-rw-r--r--files/ru/tools/firefox_os_1.1_simulator/index.html26
1 files changed, 13 insertions, 13 deletions
diff --git a/files/ru/tools/firefox_os_1.1_simulator/index.html b/files/ru/tools/firefox_os_1.1_simulator/index.html
index 08e5674e79..2df3806269 100644
--- a/files/ru/tools/firefox_os_1.1_simulator/index.html
+++ b/files/ru/tools/firefox_os_1.1_simulator/index.html
@@ -45,7 +45,7 @@ translation_of: Tools/Firefox_OS_1.1_Simulator
<div class="note">For a practical walkthrough that shows how to use the Simulator to debug a real web app, see the <a href="https://developer.mozilla.org/ru/docs/Tools/Firefox_OS_Simulator/Simulator_Walkthrough" title="/ru/docs/Tools/Firefox_OS_Simulator/Simulator_Walkthrough">Simulator Walkthrough</a> page.</div>
-<h2 id="Installing_the_Simulator_add-on"><a name="Installing">Installing the Simulator add-on</a></h2>
+<h2 id="Installing_the_Simulator_add-on"><a>Installing the Simulator add-on</a></h2>
<p>The Simulator is packaged and distributed as a Firefox add-on. To install it:</p>
@@ -64,7 +64,7 @@ translation_of: Tools/Firefox_OS_1.1_Simulator
<p><img alt="" src="https://mdn.mozillademos.org/files/5141/simulator-open-on-windows-7.png" style="margin-right: auto; margin-left: auto; display: block;"><br>
The Dashboard is the tool you use to add your app to the Simulator and run it. Here's what it looks like: <img alt="" height="650" src="https://mdn.mozillademos.org/files/5491/dashboard-4.0.png" width="1212"></p>
-<h2 id="Adding_removing_and_refreshing_apps"><a name="Adding-updating-removing">Adding, removing and refreshing apps</a></h2>
+<h2 id="Adding_removing_and_refreshing_apps"><a>Adding, removing and refreshing apps</a></h2>
<h3 id="Adding_apps">Adding apps</h3>
@@ -102,7 +102,7 @@ translation_of: Tools/Firefox_OS_1.1_Simulator
<p><strong>Refresh App from the Simulator window</strong>: you can update and reload an app directly from the Simulator window <a href="/ru/docs/Tools/Firefox_OS_1.1_Simulator#Simulator-menubar" title="#Simulator-menubar">using the menubar action or its associated shortcut</a> while the app is running.</p>
</div>
-<h3 id="Manifest_validation"><a name="Manifest-validation">Manifest validation</a></h3>
+<h3 id="Manifest_validation"><a>Manifest validation</a></h3>
<p>When you supply a manifest, the Manager will run some validation tests on it. It reports three categories of problems:</p>
@@ -150,7 +150,7 @@ translation_of: Tools/Firefox_OS_1.1_Simulator
<li>the manifest requests a <a href="https://developer.mozilla.org/ru/docs/Apps/Manifest#permissions" title="/ru/docs/Apps/Manifest#permissions">permission</a> to use an API that is <a href="/ru/docs/Tools/Firefox_OS_1.1_Simulator#Unsupported-APIs" title="#Unsupported-APIs">not yet supported</a> by the Simulator</li>
</ul>
-<h2 id="Running_the_Simulator"><a name="Running-the-Simulator">Running the Simulator</a></h2>
+<h2 id="Running_the_Simulator"><a>Running the Simulator</a></h2>
<p>There are two different ways the Simulator may be started:</p>
@@ -169,7 +169,7 @@ translation_of: Tools/Firefox_OS_1.1_Simulator
<p><img alt="" src="https://mdn.mozillademos.org/files/5517/simulator-homescreen.png"></p>
-<h3 id="Simulator_toolbar"><a name="Simulator-toolbar">Simulator toolbar</a></h3>
+<h3 id="Simulator_toolbar"><a>Simulator toolbar</a></h3>
<p>In the bottom toolbar, from left to right, there are the <strong>Home button</strong>, the <strong>Screen Rotation button</strong>, and the <strong>Geolocation button</strong>.</p>
@@ -181,7 +181,7 @@ translation_of: Tools/Firefox_OS_1.1_Simulator
<p><a href="https://mdn.mozillademos.org/files/5511/simulator-geolocation.png"><img alt="" src="https://mdn.mozillademos.org/files/5511/simulator-geolocation.png" style="width: 520px; height: 309px;"></a><a href="https://mdn.mozillademos.org/files/5519/simulator-screen-orientation.png"><img alt="" src="https://mdn.mozillademos.org/files/5519/simulator-screen-orientation.png" style="width: 500px; height: 297px;"></a></p>
-<h3 id="Simulator_menubar"><a name="Simulator-menubar"></a>Simulator menubar</h3>
+<h3 id="Simulator_menubar"><a></a>Simulator menubar</h3>
<p>In the top menubar, you can access some useful commands to make development more efficient:</p>
@@ -218,7 +218,7 @@ translation_of: Tools/Firefox_OS_1.1_Simulator
</ul>
</div>
-<h2 id="Attaching_developer_tools"><a name="Attaching-developer-tools">Attaching developer tools</a></h2>
+<h2 id="Attaching_developer_tools"><a>Attaching developer tools</a></h2>
<p>You can attach developer tools to the Simulator to help debug your app. At the moment you can only attach the <a href="https://developer.mozilla.org/ru/docs/Tools/Debugger" title="/ru/docs/Tools/Debugger">JavaScript Debugger</a>, the <a href="https://developer.mozilla.org/ru/docs/Tools/Web_Console" title="/ru/docs/Tools/Web_Console">Web Console</a>, the <a href="https://developer.mozilla.org/ru/docs/Tools/Style_Editor" title="/ru/docs/Tools/Style_Editor">Style Editor</a>, the <a href="https://developer.mozilla.org/ru/docs/Tools/Profiler" title="/ru/docs/Tools/Profiler">Profiler</a>, and the <a href="https://developer.mozilla.org/ru/docs/Tools/Network_Monitor" title="/ru/docs/Tools/Network_Monitor">Network Monitor</a>, but we're working on adding support for more <a href="https://developer.mozilla.org/ru/docs/Tools/DevTools_Window" title="https://developer.mozilla.org/ru/docs/Tools/DevTools_Window">developer tools</a>.</p>
@@ -254,7 +254,7 @@ translation_of: Tools/Firefox_OS_1.1_Simulator
<p>Thanks to the new Network Monitor, you can analyze the status, headers, content, and timing of all the network requests initiated by the app through a friendly interface. (<a href="https://hacks.mozilla.org/2013/06/network-monitor-now-in-firefox-beta/">Learn more about the Network Monitor.</a>)</p>
-<h2 id="Receipts"><a name="Simulator-receipts"></a>Receipts</h2>
+<h2 id="Receipts"><a></a>Receipts</h2>
<p>If you are developing a paid app, you should test your receipt validation code (e.g., the code that verifies that a user has already purchased the app or has been issued a refund and then informs the user and locks or unlocks app features accordingly) on a valid (cryptographically signed) receipt.</p>
@@ -262,7 +262,7 @@ translation_of: Tools/Firefox_OS_1.1_Simulator
<p><img alt="" src="https://mdn.mozillademos.org/files/5523/simulator-receipts-selector-4.0.png"></p>
-<h2 id="Push_to_device"><a name="Push-to-device">Push to device</a></h2>
+<h2 id="Push_to_device"><a>Push to device</a></h2>
<p>If you have a Firefox OS device, you can connect it to the Simulator and can then push apps from the Dashboard to the device.</p>
@@ -301,7 +301,7 @@ translation_of: Tools/Firefox_OS_1.1_Simulator
<p>If you are unable to connect your device after creating udev rules, please see this <a href="https://github.com/mozilla/r2d2b2g/issues/515">bug</a>.</p>
-<h2 id="Limitations_of_the_Simulator"><a name="Limitations">Limitations of the Simulator</a></h2>
+<h2 id="Limitations_of_the_Simulator"><a>Limitations of the Simulator</a></h2>
<p>Note that the Firefox OS Simulator isn't a perfect simulation.</p>
@@ -322,7 +322,7 @@ translation_of: Tools/Firefox_OS_1.1_Simulator
<p>This means it isn't possible to use the Simulator to test video playback in apps and on websites like Youtube that rely on these codecs.</p>
-<h3 id="Unsupported_APIs"><a name="Unsupported-APIs">Unsupported APIs</a></h3>
+<h3 id="Unsupported_APIs"><a>Unsupported APIs</a></h3>
<p>Certain APIs that work on the device won't work on the Simulator, generally because the supporting hardware is not available on the desktop. We've implemented simulations for some APIs such as geolocation, and expect to add more in future releases. However, at the moment the following APIs are not supported. Using them might throw errors or just return incorrect results:</p>
@@ -337,11 +337,11 @@ translation_of: Tools/Firefox_OS_1.1_Simulator
<li><a href="https://developer.mozilla.org/ru/docs/WebAPI/Vibration" title="/ru/docs/WebAPI/Vibration">Vibration</a></li>
</ul>
-<h2 id="Getting_help"><a name="Simulator-help"></a>Getting help</h2>
+<h2 id="Getting_help"><a></a>Getting help</h2>
<p><span style="line-height: 1.572;">If you have a question, try asking us on the </span><a href="https://lists.mozilla.org/listinfo/dev-developer-tools" style="line-height: 1.572;">dev-developer-tools mailing list</a><span style="line-height: 1.572;"> or on </span><a href="irc://irc.mozilla.org/#devtools" style="line-height: 1.572;">#devtools on irc.mozilla.org</a><span style="line-height: 1.572;">.</span></p>
-<h3 id="How_to_enable_verbose_logging"><a name="Simulator-verbose-logging"></a>How to enable verbose logging</h3>
+<h3 id="How_to_enable_verbose_logging"><a></a>How to enable verbose logging</h3>
<p>Use about:config to create the preference <a href="mailto:extensions.r2d2b2g@mozilla.org.sdk.console.logLevel">extensions.r2d2b2g@mozilla.org.sdk.console.logLevel</a>, set it to the integer value 0, and disable/reenable the add-on. Additional messages about the Simulator's operation will appear in the Error Console (or Browser Console in newer versions of Firefox).</p>
</div>