From a065e04d529da1d847b5062a12c46d916408bf32 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 21:46:22 -0500 Subject: update based on https://github.com/mdn/yari/issues/2028 --- .../getinstalled/index.html | 49 ------------ .../it/web/api/domapplicationsregistry/index.html | 89 --------------------- files/it/web/api/htmliframeelement/mute/index.html | 93 ---------------------- 3 files changed, 231 deletions(-) delete mode 100644 files/it/web/api/domapplicationsregistry/getinstalled/index.html delete mode 100644 files/it/web/api/domapplicationsregistry/index.html delete mode 100644 files/it/web/api/htmliframeelement/mute/index.html (limited to 'files/it/web/api') 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 ---- -

 

- -

 

- -

{{ ApiRef("Apps") }}

- -

{{ non-standard_header() }}

- -

Summary

- -

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.

- -
-

Note: 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 this FAQ entry for more information). If you still need to support older versions, consider hosting your apps at separate origins; one strategy is to create different subdomains for your apps.

-
- -

Syntax

- -
var request = window.navigator.mozApps.getInstalled();
-
- -

Errors

- -

The string ERROR can be returned in DOMRequest.error.

- -

Example

- -
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;
-};
- -

Callers are expected to set the onsuccess and onerror callback properties of the returned object, as shown in this example. If the call is successful an array of App objects is returned in the result property of the returned object. In the example this is request.result.

- - - - 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 ---- -

{{ ApiRef("Apps") }}

- -

{{ non-standard_header() }}

- -

Provides support for installing, managing, and controlling Open Web apps in a browser. Currently implemented as {{ domxref('window.navigator.mozApps') }}.

- -

Property

- -
-
{{domxref("DOMApplicationsRegistry.mgmt")}}
-
A mgmt object that exposes functions that let dashboards manage and launch apps on a user's behalf.
-
- -

Methods

- -
-
{{ domxref("DOMApplicationsRegistry.checkInstalled()") }}
-
Checks whether an app has already been installed, taking its manifest as parameter.
-
{{ domxref("DOMApplicationsRegistry.install()") }}
-
Triggers the installation of an app. During the installation process, the app is validated and the user is prompted to approve the installation.
-
{{ domxref("DOMApplicationsRegistry.getSelf()") }}
-
Returns an object that contains an {{ domxref('app') }} object for the app.
-
{{ domxref("DOMApplicationsRegistry.getInstalled()") }}
-
Gets a list of all installed apps.
-
- -

Browser compatibility

- -

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{ CompatUnknown() }}16.0{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}16.0{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
- -

 

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 ---- -

{{APIRef("HTML DOM")}}{{non-standard_header}}

- -

Il metodo mute() del {{domxref("HTMLIFrameElement")}} muta qualsiasi audio in riproduzione nel browser {{HTMLElement("iframe")}}.

- -

Sintassi

- -
instanceOfHTMLIframeElement.mute();
- -

Ritorna

- -

Nulla.

- -

Parametri

- -

Nessuno.

- -

Esempio

- -
var browser = document.querySelector('iframe');
-
-browser.mute();
-
- -

Specifica

- -

Non è parte di nessuna specifica.

- -

Compatibilità browser

- -
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaratteristicaChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Supporto base{{CompatNo}}{{CompatGeckoDesktop(47)}}[1]{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - -
CaratteristicaAndroidAndroid WebviewFirefox Mobile (Gecko)IE MobileOpera MobileSafari MobileChrome for Android
Supporto base{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- -

[1] Supportato solo in codice chrome.

- -

Vedi anche

- - -- cgit v1.2.3-54-g00ecf