aboutsummaryrefslogtreecommitdiff
path: root/files/he/mozilla/javascript_code_modules
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 21:46:22 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 21:46:22 -0500
commita065e04d529da1d847b5062a12c46d916408bf32 (patch)
treefe0f8bcec1ff39a3c499a2708222dcf15224ff70 /files/he/mozilla/javascript_code_modules
parent218934fa2ed1c702a6d3923d2aa2cc6b43c48684 (diff)
downloadtranslated-content-a065e04d529da1d847b5062a12c46d916408bf32.tar.gz
translated-content-a065e04d529da1d847b5062a12c46d916408bf32.tar.bz2
translated-content-a065e04d529da1d847b5062a12c46d916408bf32.zip
update based on https://github.com/mdn/yari/issues/2028
Diffstat (limited to 'files/he/mozilla/javascript_code_modules')
-rw-r--r--files/he/mozilla/javascript_code_modules/geometry.jsm/index.html20
-rw-r--r--files/he/mozilla/javascript_code_modules/geometry.jsm/point/index.html264
-rw-r--r--files/he/mozilla/javascript_code_modules/index.html147
3 files changed, 0 insertions, 431 deletions
diff --git a/files/he/mozilla/javascript_code_modules/geometry.jsm/index.html b/files/he/mozilla/javascript_code_modules/geometry.jsm/index.html
deleted file mode 100644
index 2e478771f2..0000000000
--- a/files/he/mozilla/javascript_code_modules/geometry.jsm/index.html
+++ /dev/null
@@ -1,20 +0,0 @@
----
-title: Geometry.jsm
-slug: Mozilla/JavaScript_code_modules/Geometry.jsm
-tags:
- - Geometry
- - Modules
- - NeedsTranslation
- - TopicStub
-translation_of: Mozilla/JavaScript_code_modules/Geometry.jsm
----
-<p>{{ gecko_minversion_header("2.0") }}</p>
-<p>The <code>Geometry.jsm</code> JavaScript code module provides routines for performing common geometry operations on points and rectangles. It exports two classes: <code>Point</code> and <code>Rect</code>.</p>
-<p>To use these routines, you first need to import the code module into your JavaScript scope:</p>
-<pre class="eval"><span class="nowiki">Components.utils.import("resource://gre/modules/Geometry.jsm");</span>
-</pre>
-<p>Once you've imported the module, you can then use the <a href="/en/JavaScript_code_modules/Geometry.jsm/Point" title="en/JavaScript code modules/Geometry.jsm/Point"><code>Point</code></a> and <a href="/en/JavaScript_code_modules/Geometry.jsm/Rect" title="https://developer.mozilla.org/en/JavaScript_code_modules/Geometry.jsm/Rect"><code>Rect</code></a> classes.</p>
-<div class="note"><strong>Note:</strong> Although this module is usable from mobile, and is present in Firefox 4, it's currently not used in Firefox 4 and attempting to use it may produce unreliable results there.</div>
-<h2 id="See_also">See also</h2>
-<ul> <li><a href="/en/JavaScript_code_modules/Using" class="internal" title="en/JavaScript code modules/Using JavaScript code modules">Using JavaScript code modules</a></li> <li><a href="/en/JavaScript_code_modules" class="internal" title="en/JavaScript code modules">JavaScript code modules</a></li> <li><a href="/en/Components.utils.import" class="internal" title="en/Components.utils.import"><code>Components.utils.import</code></a></li>
-</ul>
diff --git a/files/he/mozilla/javascript_code_modules/geometry.jsm/point/index.html b/files/he/mozilla/javascript_code_modules/geometry.jsm/point/index.html
deleted file mode 100644
index 54b0c6fe81..0000000000
--- a/files/he/mozilla/javascript_code_modules/geometry.jsm/point/index.html
+++ /dev/null
@@ -1,264 +0,0 @@
----
-title: Point
-slug: Mozilla/JavaScript_code_modules/Geometry.jsm/Point
-translation_of: Mozilla/JavaScript_code_modules/Geometry.jsm/Point
----
-<p>The <code>Point</code> class offers methods for performing common geometry operations on two dimensional points</p>
-
-<h2 id="Method_overview">Method overview</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <td dir="ltr"><code>Point <a href="/en/JavaScript_code_modules/Geometry.jsm/Point#add()" title="en/JavaScript code modules/Geometry.jsm/Point#add()">add</a>(x, y);</code></td>
- </tr>
- <tr>
- <td dir="ltr"><code>Point <a href="/en/JavaScript_code_modules/Geometry.jsm/Point#add()" title="en/JavaScript code modules/Geometry.jsm/Point#add()">add</a>(Point);</code></td>
- </tr>
- <tr>
- <td dir="ltr"><code>Point <a href="/en/JavaScript_code_modules/Geometry.jsm/Point#clone()" title="en/JavaScript code modules/Geometry.jsm/Point#clone()">clone</a>();</code></td>
- </tr>
- <tr>
- <td dir="ltr"><code>boolean <a href="/en/JavaScript_code_modules/Geometry.jsm/Point#equals()" title="en/JavaScript code modules/Geometry.jsm/Point#equals()">equals</a>(x, y);</code></td>
- </tr>
- <tr>
- <td dir="ltr"><code>Point <a href="/en/JavaScript_code_modules/Geometry.jsm/Point#equals()" title="en/JavaScript code modules/Geometry.jsm/Point#equals()">equals</a>(Point);</code></td>
- </tr>
- <tr>
- <td dir="ltr"><code>boolean <a href="/en/JavaScript_code_modules/Geometry.jsm/Point#isZero()" title="en/JavaScript code modules/Geometry.jsm/Point#isZero()">isZero</a>();</code></td>
- </tr>
- <tr>
- <td dir="ltr"><code>Point <a href="/en/JavaScript_code_modules/Geometry.jsm/Point#map()" title="en/JavaScript code modules/Geometry.jsm/Point#map()">map</a>(mapFunction);</code></td>
- </tr>
- <tr>
- <td dir="ltr"><code>Point <a href="/en/JavaScript_code_modules/Geometry.jsm/Point#scale()" title="en/JavaScript code modules/Geometry.jsm/Point#scale()">scale</a>(scaleFactor);</code></td>
- </tr>
- <tr>
- <td dir="ltr"><code>Point <a href="/en/JavaScript_code_modules/Geometry.jsm/Point#set()" title="en/JavaScript code modules/Geometry.jsm/Point#set()">set</a>(x, y);</code></td>
- </tr>
- <tr>
- <td dir="ltr"><code>Point <a href="/en/JavaScript_code_modules/Geometry.jsm/Point#set()" title="en/JavaScript code modules/Geometry.jsm/Point#set()">set</a>(Point);</code></td>
- </tr>
- <tr>
- <td dir="ltr"><code>Point <a href="/en/JavaScript_code_modules/Geometry.jsm/Point#subtract()" title="en/JavaScript code modules/Geometry.jsm/Point#subtract()">subtract</a>(x, y);</code></td>
- </tr>
- <tr>
- <td dir="ltr"><code>Point <a href="/en/JavaScript_code_modules/Geometry.jsm/Point#subtract()" title="en/JavaScript code modules/Geometry.jsm/Point#subtract()">subtract</a>(Point);</code></td>
- </tr>
- <tr>
- <td dir="ltr"><code><a href="/en/JavaScript/Reference/Global_Objects/String" title="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String">String</a> <a href="/en/JavaScript_code_modules/Geometry.jsm/Point#toString()" title="en/JavaScript code modules/Geometry.jsm/Point#toString()">toString</a>();</code></td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Constructor">Constructor</h2>
-
-<p>יוצר אובייקט <code>Point</code> חדש.</p>
-
-<pre>let p = new Point(x, y);
-</pre>
-
-<p>The new point, <code>p</code>, has the specified X and Y coordinates.</p>
-
-<h2 id="Methods">Methods</h2>
-
-<h3 dir="ltr" id="add()">add()</h3>
-
-<p>Adds another point to this one.</p>
-
-<pre>Point add(
-  x,
-  y
-);
-
-Point add(
-  Point
-);
-</pre>
-
-<h6 id="Parameters">Parameters</h6>
-
-<dl>
- <dt><code>x</code></dt>
- <dd>The X coordinate of the point to add to the current point.</dd>
- <dt><code>y</code></dt>
- <dd>The Y coordinate of the point to add to the current point.</dd>
-</dl>
-
-<div class="note"><strong>Note:</strong> You may specify another <code>Point</code> object instead of separate X and Y coordinates.</div>
-
-<h6 id="Return_value">Return value</h6>
-
-<p>The value of the <code>Point</code> object after adding the specified value; this isn't a new object, just the same one you called the function on.</p>
-
-<h3 id="clone()">clone()</h3>
-
-<p>Creates and returns a copy of the <code>Point</code> object.</p>
-
-<pre>Point clone();
-</pre>
-
-<h6 id="Parameters_2">Parameters</h6>
-
-<p>None.</p>
-
-<h6 id="Return_value_2">Return value</h6>
-
-<p>A new <code>Point</code> object which is a duplicate of the current object.</p>
-
-<h3 id="equals()">equals()</h3>
-
-<p>Determines whether another point is equal to this one.</p>
-
-<pre>boolean equals(
-  x,
-  y
-);
-
-boolean equals(
-  Point
-);
-</pre>
-
-<h6 id="Parameters_3">Parameters</h6>
-
-<dl>
- <dt><code>x</code></dt>
- <dd>The X coordinate of the point to compare to the current point.</dd>
- <dt><code>y</code></dt>
- <dd>The Y coordinate of the point to compare to the current point.</dd>
-</dl>
-
-<div class="note"><strong>Note:</strong> You may specify another <code>Point</code> object instead of separate X and Y coordinates.</div>
-
-<h6 id="Return_value_3">Return value</h6>
-
-<p><code>true</code> if the two points are equal, otherwise <code>false</code>. Equality, in this context, means that both the X and Y coordinates are the same.</p>
-
-<h3 id="isZero()">isZero()</h3>
-
-<p>Determines whether or not the point is (0, 0).</p>
-
-<pre>boolean isZero();
-</pre>
-
-<h6 id="Parameters_4">Parameters</h6>
-
-<p>None.</p>
-
-<h6 id="Return_value_4">Return value</h6>
-
-<p><code>true</code> if the point's X and Y coordinates are both zero; otherwise <code>false</code>.</p>
-
-<h3 id="map()">map()</h3>
-
-<p>Calls a specified function to manipulate the values of the point's coordinates.</p>
-
-<pre>Point map(
-  mapFunction
-);
-</pre>
-
-<h6 id="Parameters_5">Parameters</h6>
-
-<dl>
- <dt><code>mapFunction</code></dt>
- <dd>The function to call to map the parameters; this function should accept one parameters: a single coordinate value. The <code>Point</code> object will be the value of <code>this</code> within the called function.</dd>
-</dl>
-
-<h6 id="Return_value_5">Return value</h6>
-
-<p>The value of the <code>Point</code> object after modifying its coordinates by calling the specified function; this isn't a new object, just the same one you called the function on.</p>
-
-<h3 id="scale()">scale()</h3>
-
-<p>Scales the point's coordinates by a specified factor.</p>
-
-<pre>Point scale(
-  scaleFactor
-);
-</pre>
-
-<h6 id="Parameters_6">Parameters</h6>
-
-<dl>
- <dt><code>scaleFactor</code></dt>
- <dd>The amount by which to scale the point.</dd>
-</dl>
-
-<h6 id="Return_value_6">Return value</h6>
-
-<p>The value of the <code>Point</code> object after scaling its coordinates by the specified amount; this isn't a new object, just the same one you called the function on.</p>
-
-<h3 id="set()">set()</h3>
-
-<p>Sets the value of the <code>Point</code> object.</p>
-
-<pre>Point set(
-  x,
-  y
-);
-
-Point set(
-  Point
-);
-</pre>
-
-<h6 id="Parameters_7">Parameters</h6>
-
-<dl>
- <dt><code>x</code></dt>
- <dd>The X coordinate of the point.</dd>
- <dt><code>y</code></dt>
- <dd>The Y coordinate of the point.</dd>
-</dl>
-
-<div class="note"><strong>Note:</strong> You may specify another <code>Point</code> object instead of separate X and Y coordinates.</div>
-
-<h6 id="Return_value_7">Return value</h6>
-
-<p>The <code>Point</code> object.</p>
-
-<h3 id="subtract()">subtract()</h3>
-
-<p>Subtracts another point from this one.</p>
-
-<pre>Point subtract(
-  x,
-  y
-);
-
-Point subtract(
-  Point
-);
-</pre>
-
-<h6 id="Parameters_8">Parameters</h6>
-
-<dl>
- <dt><code>x</code></dt>
- <dd>The X coordinate of the point to subtract from the current point.</dd>
- <dt><code>y</code></dt>
- <dd>The Y coordinate of the point to subtract from the current point.</dd>
-</dl>
-
-<div class="note"><strong>Note:</strong> You may specify another <code>Point</code> object instead of separate X and Y coordinates.</div>
-
-<h6 id="Return_value_8">Return value</h6>
-
-<p>The value of the <code>Point</code> object after subtracting the specified value; this isn't a new object, just the same one you called the function on.</p>
-
-<h3 id="toString()">toString()</h3>
-
-<p>Returns a string representation of the <code>Point</code> object.</p>
-
-<pre>String toString();
-</pre>
-
-<h6 id="Parameters_9">Parameters</h6>
-
-<p>None.</p>
-
-<h6 id="Return_value_9">Return value</h6>
-
-<p>A <a href="/en/JavaScript/Reference/Global_Objects/String" title="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String"><code>String</code></a> object representing the point, in "(<em>x</em>,<em>y</em>)" format.</p>
diff --git a/files/he/mozilla/javascript_code_modules/index.html b/files/he/mozilla/javascript_code_modules/index.html
deleted file mode 100644
index f8a4f613be..0000000000
--- a/files/he/mozilla/javascript_code_modules/index.html
+++ /dev/null
@@ -1,147 +0,0 @@
----
-title: JavaScript code modules
-slug: Mozilla/JavaScript_code_modules
-tags:
- - Add-ons
- - Extensions
- - JavaScript
- - Landing
- - Modules
- - Mozilla
- - NeedsTranslation
- - TopicStub
- - XPCOM
-translation_of: Mozilla/JavaScript_code_modules
----
-<p>{{Non-standard_Header}}</p>
-
-<div class="blockIndicator note">
-<p><strong>Note:</strong> These are <em>not</em> the same thing as standard JavaScript modules. See {{JSxRef("Statements/export", "export")}} and {{JSxRef("Statements/import", "import")}} to learn more about how to use standard modules.</p>
-</div>
-
-<p class="summary">JavaScript code modules let multiple privileged JavaScript scopes share code. For example, a module could be used by Firefox itself as well as by extensions, in order to avoid code duplication.</p>
-
-<h2 id="General_topics">General topics</h2>
-
-<div class="topicpage-table">
-<div class="section">
-<dl>
- <dt><a href="/en-US/docs/JavaScript_code_modules/Using">Using JavaScript code modules</a></dt>
- <dd>An introduction to how to use JavaScript code modules.</dd>
- <dt><code><a href="/en-US/docs/Components.utils.import">Components.utils.import</a></code></dt>
- <dd>How to import a JavaScript code module.</dd>
- <dt><code><a href="/en-US/docs/Components.utils.unload">Components.utils.unload</a></code></dt>
- <dd>How to unload a JavaScript code module.</dd>
-</dl>
-</div>
-
-<div class="section">
-<dl>
- <dt><a href="/en-US/docs/Code_snippets/Modules">Code snippets: Modules</a></dt>
- <dd>Examples of how to use code modules.</dd>
- <dt><a class="external" href="https://wiki.mozilla.org/Labs/JS_Modules">Mozilla Labs JS Modules</a></dt>
- <dd>This page features a list of JavaScript modules, along with download links and documentation, that extension developers can use in their code.</dd>
-</dl>
-</div>
-</div>
-
-<h2 id="Standard_code_modules">Standard code modules</h2>
-
-<div class="topicpage-table">
-<div class="section">
-<dl>
- <dt><a href="/en-US/docs/Addons/Add-on_Manager" title="Addons/Add-on_Manager">AddonManager.jsm</a></dt>
- <dd>An interface to install, manage, and uninstall add-ons.</dd>
- <dt><a href="/en-US/docs/Addons/Add-on_Repository" title="Addons/Add-on Repository">AddonRepository.jsm</a></dt>
- <dd>Provides a search of add-ons in the repository.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/Assert.jsm" title="./Assert.jsm">Assert.jsm</a></dt>
- <dd>Implements the <a href="http://wiki.commonjs.org/wiki/Unit_Testing/1.1" title="http://wiki.commonjs.org/wiki/Unit_Testing/1.1">CommonJS Unit Testing specification version 1.1</a>, which provides a basic standardized interface for performing in-code logical assertions with optional, customizable error reporting.</dd>
- <dt>BookmarkHTMLUtils.jsm</dt>
- <dd>Provides utility functions for importing and exporting bookmarks from the old-school "bookmarks.html" style bookmark files.</dd>
- <dt><a href="/en-US/docs/Mozilla/js-ctypes" title="./ctypes.jsm">ctypes.jsm</a></dt>
- <dd>Provides an interface that allows JavaScript code to call native libraries without requiring the development of an XPCOM component.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/CustomizableUI.jsm" title="./ctypes.jsm">CustomizableUI.jsm</a></dt>
- <dd>Allows you to interact with customizable buttons and items in Firefox's main window UI.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/DeferredTask.jsm" title="./DeferredTask.jsm">DeferredTask.jsm</a></dt>
- <dd>Run a task after a delay.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/Dict.jsm" title="./Dict.jsm">Dict.jsm</a></dt>
- <dd>Provides an API for key/value pair dictionaries.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/DownloadLastDir.jsm" title="./DownloadLastDir.jsm">DownloadLastDir.jsm</a></dt>
- <dd>Supplies the path to the directory into which the last download occurred.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/Downloads.jsm" title="./Downloads.jsm">Downloads.jsm</a></dt>
- <dd>Provides a single entry point to interact with the downloading capabilities of the platform.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/FileUtils.jsm" title="./FileUtils.jsm"><strong style="font-weight: bold;">FileUtils.jsm</strong></a></dt>
- <dd>Provides helpers for dealing with files.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/Geometry.jsm" title="./Geometry.jsm">Geometry.jsm</a></dt>
- <dd>Provides routines for performing basic geometric operations on points and rectangles.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/Http.jsm" title="./Geometry.jsm">HTTP.jsm</a></dt>
- <dd>A wrapper for XMLHttpRequest that provides convenient and simplified API for dealing with HTTP requests.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/JNI.jsm">JNI.jsm</a></dt>
- <dd>Abstracts the js-ctypes to provide an interface that allows JavaScript code to call code running in native JVMs.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/ISO8601DateUtils.jsm" title="./ISO8601DateUtils.jsm">ISO8601DateUtils.jsm</a></dt>
- <dd>Provides routines to convert between JavaScript <a href="/en-US/docs/JavaScript/Reference/Global_Objects/Date" title="JavaScript/ Reference/Global Objects/Date"><code>Date</code></a> objects and ISO 8601 date strings.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/Log.jsm">Log.jsm</a> (formerly log4moz)</dt>
- <dd>Provides a <a href="https://en.wikipedia.org/wiki/Log4j">log4j</a> style API for logging, log messages to various endpoints, such as the <a href="/en-US/docs/Tools/Browser_Console">Browser Console</a> or a file on disk. </dd>
-</dl>
-</div>
-
-<div class="section">
-<dl>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/NetUtil.jsm" title="./NetUtil.jsm"><strong style="font-weight: bold;">NetUtil.jsm</strong></a></dt>
- <dd>Provides helpful networking utility functions, including the ability to easily copy data from an input stream to an output stream asynchronously.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/openLocationLastURL.jsm" title="./openLocationLastURL.jsm">openLocationLastURL.jsm</a></dt>
- <dd>Provides access to the last URL opened using the "Open Location" option in the File menu.</dd>
- <dt><a href="/Mozilla/JavaScript_code_modules/OSFile.jsm" title="/en-US/docs/JavaScript_OS.File">OSFile.jsm</a></dt>
- <dd>Allows routines to access files. To which can be read, write, rename, create directories,etc.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/PerfMeasurement.jsm" title="./PerfMeasurement.jsm">PerfMeasurement.jsm</a></dt>
- <dd>Provides access to low-level hardware and OS performance measurement tools.</dd>
- <dt><a href="/en-US/docs/Localization_and_Plurals" title="Localization and Plurals">PluralForm.jsm</a></dt>
- <dd>Supplies an easy way to get the correct plural forms for the current locale, as well as ways to localize to a specific plural rule.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/PopupNotifications.jsm" title="./PopupNotifications.jsm">PopupNotifications.jsm</a></dt>
- <dd>Gives an easy way to present non-modal notifications to users.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/Promise.jsm" title="./Promise.jsm">Promise.jsm</a></dt>
- <dd>Implements the <a class="external" href="https://github.com/promises-aplus/promises-spec/blob/1.0.0/README.md" title="https://github.com/promises-aplus/promises-spec/blob/1.0.0/README.md">Promises/A+</a> proposal as known in April 2013.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/PromiseWorker.jsm">PromiseWorker.jsm</a></dt>
- <dd>A version of {{domxref("ChromeWorker")}} which uses Promises to return the worker's result instead of using an event to do so.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/Services.jsm" title="./Services.jsm">Services.jsm</a></dt>
- <dd>Provides getters for conveniently obtaining access to commonly-used services.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/source-editor.jsm" title="./source-editor.jsm">source-editor.jsm</a></dt>
- <dd>The Source Editor is used by developer tools such as, the Style Editor; this interface implements the editor and lets you interact with it.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/Sqlite.jsm" title="./Sqlite.jsm">Sqlite.jsm</a></dt>
- <dd>A Promise-based API to mozIStorage/SQLite.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/Task.jsm" title="./Task.jsm">Task.jsm</a></dt>
- <dd>Implements a subset of <a class="external" href="http://taskjs.org/" title="http://taskjs.org/">Task.js</a> to make sequential, asynchronous operations simple, using the power of JavaScript's <code>yield</code> operator.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/Timer.jsm" title="/en-US/docs/Mozilla/JavaScript_code_modules/Timer.jsm">Timer.jsm</a></dt>
- <dd>A pure JS implementation of <code>window.setTimeout</code>.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/Webapps.jsm" title="/en-US/docs/Mozilla/JavaScript_code_modules/Timer.jsm">Webapps.jsm</a></dt>
- <dd>Provides an interface to manage Open Web Apps.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/WebRequest.jsm">WebRequest.jsm</a></dt>
- <dd>Provides an API to add event listeners for the various stages of making an HTTP request. The event listener receives detailed information about the request, and can modify or cancel the request.</dd>
- <dt><a href="/en-US/docs/Mozilla/JavaScript_code_modules/XPCOMUtils.jsm" title="./XPCOMUtils.jsm">XPCOMUtils.jsm</a></dt>
- <dd>Contains utilities for JavaScript components loaded by the JS component loader.</dd>
-</dl>
-</div>
-</div>
-
-<h2 id="Subnav">Subnav</h2>
-
-<section id="Quick_Links">
-<ol>
- <li><strong><a href="/en-US/docs/Mozilla">Mozilla</a></strong></li>
- <li><strong><a href="/en-US/docs/Mozilla/JavaScript_code_modules">JavaScript code modules</a></strong></li>
- <li class="toggle">
- <details open><summary>General topics</summary>
- <ol>
- <li><a href="/en-US/docs/JavaScript_code_modules/Using">Using JavaScript code modules</a></li>
- <li><code><a href="/en-US/docs/Components.utils.import">Components.utils.import</a></code></li>
- <li><code><a href="/en-US/docs/Components.utils.unload">Components.utils.unload</a></code></li>
- <li><a href="/en-US/docs/Code_snippets/Modules">Code snippets: Modules</a></li>
- <li><a class="external" href="https://wiki.mozilla.org/Labs/JS_Modules">Mozilla Labs JS Modules</a></li>
- </ol>
- </details>
- </li>
- <li class="toggle">
- <details><summary>Reference</summary>{{ListSubpagesForSidebar("/en-US/docs/Mozilla/JavaScript_code_modules", 1)}}</details>
- </li>
-</ol>
-</section>