diff options
author | Peter Bengtsson <mail@peterbe.com> | 2021-07-27 02:54:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-27 09:54:07 +0300 |
commit | a3d3f72729edf1ff829150bf7ddccfbc0a70497d (patch) | |
tree | 95cdc5554055d40267679708305e124e2ab52470 /files/ru/tools/browser_console | |
parent | 40b2b076975760cb8d519d53fe40bc78282114ad (diff) | |
download | translated-content-a3d3f72729edf1ff829150bf7ddccfbc0a70497d.tar.gz translated-content-a3d3f72729edf1ff829150bf7ddccfbc0a70497d.tar.bz2 translated-content-a3d3f72729edf1ff829150bf7ddccfbc0a70497d.zip |
remove link 'title' attributes that's just the 'href' (ru) (#1715)
Diffstat (limited to 'files/ru/tools/browser_console')
-rw-r--r-- | files/ru/tools/browser_console/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/files/ru/tools/browser_console/index.html b/files/ru/tools/browser_console/index.html index 00d49816ff..53e6c8b9ca 100644 --- a/files/ru/tools/browser_console/index.html +++ b/files/ru/tools/browser_console/index.html @@ -114,7 +114,7 @@ clearBtn.addEventListener('mouseover', function() { <h4 id="Bonus_Features_Available">Bonus Features Available</h4> -<p>For <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/index.html" title="https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/index.html">Add-on SDK</a> add-ons, the console API is available automatically. Here's an example add-on that just logs an error when the user clicks a widget:</p> +<p>For <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/index.html">Add-on SDK</a> add-ons, the console API is available automatically. Here's an example add-on that just logs an error when the user clicks a widget:</p> <pre class="brush: js">widget = require("sdk/widget").Widget({ id: "an-error-happened", @@ -128,13 +128,13 @@ function logError() { console.error("something went wrong!"); }</pre> -<p>If you <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/tutorials/installation.html" title="https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/tutorials/installation.html">build this as an XPI file</a>, then open the Browser Console, then open the XPI file in Firefox and install it, you'll see a widget labeled "Error!" in the Add-on bar:</p> +<p>If you <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/tutorials/installation.html">build this as an XPI file</a>, then open the Browser Console, then open the XPI file in Firefox and install it, you'll see a widget labeled "Error!" in the Add-on bar:</p> <p><img alt="" src="https://mdn.mozillademos.org/files/5937/browser-console-addon.png" style="display: block; margin-left: auto; margin-right: auto;">Click the icon. You'll see output like this in the Browser Console:</p> <p><img alt="" src="https://mdn.mozillademos.org/files/5851/browser-console-addon-output.png" style="display: block; margin-left: auto; margin-right: auto;"></p> -<p>For Add-on SDK-based add-ons only, the message is prefixed with the name of the add-on ("log-error"), making it easy to find all messages from this add-on using the <a href="/en-US/docs/Tools/Web_Console#Filtering_and_searching" title="/en-US/docs/Tools/Web_Console#Filtering_and_searching">"Filter output"</a> search box. By default, only error messages are logged to the console, although <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/console.html#Logging%20Levels" title="https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/console.html#Logging%20Levels">you can change this in the browser's preferences</a>.</p> +<p>For Add-on SDK-based add-ons only, the message is prefixed with the name of the add-on ("log-error"), making it easy to find all messages from this add-on using the <a href="/en-US/docs/Tools/Web_Console#Filtering_and_searching" title="/en-US/docs/Tools/Web_Console#Filtering_and_searching">"Filter output"</a> search box. By default, only error messages are logged to the console, although <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/console.html#Logging%20Levels">you can change this in the browser's preferences</a>.</p> <h2 id="Browser_Console_command_line">Browser Console command line</h2> |