diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 21:46:22 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 21:46:22 -0500 |
commit | a065e04d529da1d847b5062a12c46d916408bf32 (patch) | |
tree | fe0f8bcec1ff39a3c499a2708222dcf15224ff70 /files/it/web/api | |
parent | 218934fa2ed1c702a6d3923d2aa2cc6b43c48684 (diff) | |
download | translated-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/it/web/api')
3 files changed, 0 insertions, 231 deletions
diff --git a/files/it/web/api/domapplicationsregistry/getinstalled/index.html b/files/it/web/api/domapplicationsregistry/getinstalled/index.html deleted file mode 100644 index 24657e5900..0000000000 --- a/files/it/web/api/domapplicationsregistry/getinstalled/index.html +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: DOMApplicationsRegistry.getInstalled() -slug: Web/API/DOMApplicationsRegistry/getInstalled -translation_of: Archive/Marketplace/API/DOMApplicationsRegistry/getInstalled ---- -<p> </p> - -<p> </p> - -<p>{{ ApiRef("Apps") }}</p> - -<p>{{ non-standard_header() }}</p> - -<h2 id="Summary">Summary</h2> - -<p>Get a list of all installed apps from this origin. For example, if you call this on the Firefox Marketplace, you will get the list of apps installed by the Firefox Marketplace.</p> - -<div class="note"> -<p><strong>Note</strong>: Installable open web apps used to have a "single app per origin" security policy, but this was lifted as of Firefox 34/Firefox OS 2.1 (read <a href="https://developer.mozilla.org/en-US/Apps/Build/installable_apps_for_Firefox_OS/App_manifest_FAQ#Can_I_have_more_than_one_app_at_my_origin.3F">this FAQ entry</a> for more information). If you still need to support older versions, consider hosting your apps at separate origins; one strategy is to <a href="/en-US/Marketplace/Publishing/Adding_a_subdomain">create different subdomains</a> for your apps.</p> -</div> - -<h2 id="Syntax">Syntax</h2> - -<pre><code>var request = window.navigator.mozApps.<code>getInstalled</code>()</code>; -</pre> - -<h3 id="Errors">Errors</h3> - -<p>The string <code>ERROR</code> can be returned in <code>DOMRequest.error</code>.</p> - -<h2 id="Example">Example</h2> - -<pre class="brush: js">var request = window.navigator.mozApps.getInstalled(); -request.onerror = function(e) { - alert("Error calling getInstalled: " + request.error.name); -}; -request.onsuccess = function(e) { - alert("Success, number of apps: " + request.result.length); - var appsRecord = request.result; -};</pre> - -<p>Callers are expected to set the <code>onsuccess</code> and <code>onerror</code> callback properties of the returned object, as shown in this example. If the call is successful an array of <a href="/en-US/docs/Web/API/App"><code>App</code> objects</a> is returned in the <code>result</code> property of the returned object. In the example this is <code>request.result</code>.</p> - -<h2 id="Related_topics">Related topics</h2> - -<ul> - <li><a href="/en-US/docs/Web/API/App"><code>App</code> object</a></li> - <li><a href="/en-US/docs/Web/Apps/JavaScript_API">Apps JavaScript API</a></li> -</ul> diff --git a/files/it/web/api/domapplicationsregistry/index.html b/files/it/web/api/domapplicationsregistry/index.html deleted file mode 100644 index 4effc6546e..0000000000 --- a/files/it/web/api/domapplicationsregistry/index.html +++ /dev/null @@ -1,89 +0,0 @@ ---- -title: DOMApplicationsRegistry -slug: Web/API/DOMApplicationsRegistry -tags: - - API - - Apps - - Apps API - - NeedsTranslation - - Non-standard - - TopicStub -translation_of: Archive/Marketplace/API/DOMApplicationsRegistry ---- -<p>{{ ApiRef("Apps") }}</p> - -<p>{{ non-standard_header() }}</p> - -<p>Provides support for installing, managing, and controlling Open Web apps in a browser. Currently implemented as {{ domxref('window.navigator.mozApps') }}.</p> - -<h2 id="Property">Property</h2> - -<dl> - <dt>{{domxref("DOMApplicationsRegistry.mgmt")}}</dt> - <dd>A <code>mgmt</code> object that exposes functions that let dashboards manage and launch apps on a user's behalf.</dd> -</dl> - -<h2 id="Methods">Methods</h2> - -<dl> - <dt>{{ domxref("DOMApplicationsRegistry.checkInstalled()") }}</dt> - <dd>Checks whether an app has already been installed, taking its manifest as parameter.</dd> - <dt>{{ domxref("DOMApplicationsRegistry.install()") }}</dt> - <dd>Triggers the installation of an app. During the installation process, the app is validated and the user is prompted to approve the installation.</dd> - <dt>{{ domxref("DOMApplicationsRegistry.getSelf()") }}</dt> - <dd>Returns an object that contains an {{ domxref('app') }} object for the app.</dd> - <dt>{{ domxref("DOMApplicationsRegistry.getInstalled()") }}</dt> - <dd>Gets a list of all installed apps.</dd> -</dl> - -<h2 id="Browser_compatibility">Browser compatibility</h2> - -<p>{{ CompatibilityTable() }}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{ CompatUnknown() }}</td> - <td>16.0</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>Feature</th> - <th>Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{ CompatUnknown() }}</td> - <td>16.0</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> -</table> -</div> - -<p> </p> diff --git a/files/it/web/api/htmliframeelement/mute/index.html b/files/it/web/api/htmliframeelement/mute/index.html deleted file mode 100644 index ca7e44107e..0000000000 --- a/files/it/web/api/htmliframeelement/mute/index.html +++ /dev/null @@ -1,93 +0,0 @@ ---- -title: HTMLIFrameElement.mute() -slug: Web/API/HTMLIFrameElement/mute -translation_of: Mozilla/Gecko/Chrome/API/Browser_API/mute ---- -<p>{{APIRef("HTML DOM")}}{{non-standard_header}}</p> - -<p>Il metodo <code>mute()</code> del {{domxref("HTMLIFrameElement")}} muta qualsiasi audio in riproduzione nel browser {{HTMLElement("iframe")}}.</p> - -<h2 id="Sintassi">Sintassi</h2> - -<pre class="syntaxbox"><em>instanceOfHTMLIframeElement</em>.mute();</pre> - -<h3 id="Ritorna">Ritorna</h3> - -<p>Nulla.</p> - -<h3 id="Parametri">Parametri</h3> - -<p>Nessuno.</p> - -<h2 id="Example" name="Example">Esempio</h2> - -<pre class="brush:js">var browser = document.querySelector('iframe'); - -browser.mute(); -</pre> - -<h2 id="Specification" name="Specification">Specifica</h2> - -<p>Non è parte di nessuna specifica.</p> - -<h2 id="Compatibilità_browser">Compatibilità browser</h2> - -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Caratteristica</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Supporto base</td> - <td>{{CompatNo}}</td> - <td>{{CompatGeckoDesktop(47)}}<sup>[1]</sup></td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Caratteristica</th> - <th>Android</th> - <th>Android Webview</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome for Android</th> - </tr> - <tr> - <td>Supporto base</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] Supportato solo in codice chrome.</p> - -<h2 id="Vedi_anche">Vedi anche</h2> - -<ul> - <li><a href="/en-US/docs/WebAPI/Browser">Usando le Browser API</a></li> -</ul> |