repo_id
stringlengths
22
103
file_path
stringlengths
41
147
content
stringlengths
181
193k
__index_level_0__
int64
0
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/browser_specific_settings/index.md
--- title: browser_specific_settings slug: Mozilla/Add-ons/WebExtensions/manifest.json/browser_specific_settings page-type: webextension-manifest-key browser-compat: webextensions.manifest.browser_specific_settings --- {{AddonSidebar}} <table class="fullwidth-table standard-table"> <tbody> <tr> <th scope="row">Type</th> <td><code>Object</code></td> </tr> <tr> <th scope="row">Mandatory</th> <td> Usually, no (but see also <a href="https://extensionworkshop.com/documentation/develop/extensions-and-the-add-on-id/#when-do-you-need-an-add-on-id" >When do you need an Add-on ID?</a >). Mandatory if the extension ID cannot be determined, see <a href="#firefox_gecko_properties" ><code>browser_specific_settings.gecko.id</code></a >. </td> </tr> <tr> <th scope="row">Example</th> <td> <pre class="brush: json;"> "browser_specific_settings": { "gecko": { "id": "addon@example.com", "strict_min_version": "42.0" } } </pre > </td> </tr> </tbody> </table> ## Description The `browser_specific_settings` key contains keys that are specific to a particular host application. ### Firefox (Gecko) properties Firefox stores browser-specific settings in these sub-keys: - `gecko` for the desktop version of Firefox. - `gecko_android` for the Android version of Firefox. The `gecko` subkey supports these properties: - `id` - : The extension ID. When provided, this property must contain 80 characters or less. See [Extensions and the Add-on ID](https://extensionworkshop.com/documentation/develop/extensions-and-the-add-on-id/) to determine when to specify the ID. - `strict_min_version` - : Minimum version of Gecko to support. If the Firefox version on which the extension is being installed or run is below this version, the extension is not installed or not run. If not provided, all versions earlier than `strict_max_version` are supported. "\*" is not valid in this field. - `strict_max_version` - : Maximum version of Gecko to support. If the Firefox version on which the extension is being installed or run is above this version, the extension is not installed or not run. Defaults to "\*", which disables checking for a maximum version. - `update_url` - : A link to an [extension update manifest](https://extensionworkshop.com/documentation/manage/updating-your-extension/). Note that the link must begin with "https". This key is for managing extension updates yourself (i.e., not through AMO). The `gecko_android` subkey supports these properties: - `strict_min_version` - : Minimum version of Gecko to support on Android. If the Firefox for Android version on which the extension is being installed or run is below this version, the extension is not installed or not run. If not provided, defaults to the version determined by `gecko.strict_min_version`. "\*" is not valid in this field. - `strict_max_version` - : Maximum version of Gecko to support on Android. If the Firefox version on which the extension is being installed or run is above this version, the extension is not installed or not run. Defaults to the version determined by `gecko.strict_max_version`. See the list of [valid Gecko versions](https://addons.mozilla.org/api/v5/applications/firefox/). #### Extension ID format The extension ID must be one of the following: - [GUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) - A string formatted like an email address: `extensionname@example.org` The latter format is easier to generate and manipulate. Be aware that using a real email address here may attract spam. For example: ```json "id": "extensionname@example.org" ``` ```json "id": "{daf44bf7-a45e-4450-979c-91cf07434c3d}" ``` ### Safari properties Safari stores its browser-specific settings in the `safari` subkey, which has these properties: - `strict_min_version` - : Minimum version of Safari to support. - `strict_max_version` - : Maximum version of Safari to support. ## Examples Example with all possible keys. Note that most extensions omit `strict_max_version` and `update_url`. ```json "browser_specific_settings": { "gecko": { "id": "addon@example.com", "strict_min_version": "42.0", "strict_max_version": "50.*", "update_url": "https://example.com/updates.json" }, "safari": { "strict_min_version": "14", "strict_max_version": "20" } } ``` ## Browser compatibility {{Compat}}
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/chrome_settings_overrides/index.md
--- title: chrome_settings_overrides slug: Mozilla/Add-ons/WebExtensions/manifest.json/chrome_settings_overrides page-type: webextension-manifest-key browser-compat: webextensions.manifest.chrome_settings_overrides --- {{AddonSidebar}} <table class="fullwidth-table standard-table"> <tbody> <tr> <th scope="row" style="width: 30%">Type</th> <td><code>Object</code></td> </tr> <tr> <th scope="row">Mandatory</th> <td>No</td> </tr> <tr> <th scope="row">Manifest version</th> <td>2 or higher</td> </tr> <tr> <th scope="row">Example</th> <td><pre class="brush:json"> "chrome_settings_overrides" : { "homepage": "https://developer.mozilla.org/" }, </pre></td> </tr> </tbody> </table> Use the `chrome_settings_overrides` key to override the browser's home page and add a new search engine. ## Syntax The `chrome_settings_overrides` key is an object that may have the following properties: <table class="fullwidth-table standard-table"> <thead> <tr> <th scope="col">Name</th> <th scope="col">Type</th> <th scope="col">Description</th> </tr> </thead> <tbody> <tr> <td><code>homepage</code></td> <td><code>String</code></td> <td> <p>Defines the page to be used as the browser's homepage.</p> <p>The replacement is given as a URL. The URL may:</p> <ul> <li> point to a file bundled with the extension, in which case it is given as a URL relative to the manifest.json file </li> <li>be a remote URL, such as "https://developer.mozilla.org/".</li> </ul> <p> If two or more extensions both set this value, then the setting from the most recently installed one will take precedence. </p> <p> To override new tabs, use "<a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/chrome_url_overrides" >chrome_url_overrides</a >" instead. </p> <p> This is a <a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/Internationalization#internationalizing_manifest.json" >localizable property</a >. </p> </td> </tr> <tr> <td><code>search_provider</code></td> <td><code>Object</code></td> <td> <p>Defines a search provider to add to the browser.</p> <p> The search provider has a name and a primary search URL. Alternative URLs may be provided, including URLs for more specialized searches like image search. In the URL you supply, use "<code>{searchTerms}</code>" to interpolate the search term into the URL, like: <code>https://www.discogs.com/search/?q={searchTerms}</code>. You can also provide POST parameters to be sent along with the search. </p> <p> The search provider will be presented to the user alongside the built-in providers. If you include the <code>is_default</code> property and set it to <code>true</code>, the new search provider will be the default option. By supplying the <code>keyword</code> property, you enable the user to select your search provider by typing the keyword into the search/address bar before the search term. </p> <p> This is an object with the properties listed below. All string properties are <a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/Internationalization#internationalizing_manifest.json" >localizable</a >. </p> <dl> <dt><code>name</code></dt> <dd>String: The search engine's name, displayed to the user.</dd> <dt><code>search_url</code></dt> <dd> String: URL used by the search engine. This must be an HTTPS URL. </dd> <dt><code>is_default {{optional_inline}}</code></dt> <dd> Boolean: True if the search engine should be the default choice. On Firefox, this is opt-in and the user will only be asked the first time the extension is installed. They will not be asked again if a search engine is added later. </dd> <dt><code>alternate_urls {{optional_inline}}</code></dt> <dd> Array of String: An array of alternative URLs that can be used instead of <code>search_url</code>. </dd> <dt><code>encoding {{optional_inline}}</code></dt> <dd> String: Encoding of the search term, specified as a <a href="https://www.iana.org/assignments/character-sets/character-sets.xhtml" >standard character encoding name</a >, such as "UTF-8". </dd> <dt><code>favicon_url {{optional_inline}}</code></dt> <dd> String: URL pointing to an icon for the search engine. In Manifest V2, this must be an absolute HTTP or HTTPS URL. In Manifest V3, this must reference an icon provided in the extension as a path relative to the extension's root. </dd> <dt><code>image_url {{optional_inline}}</code></dt> <dd>String: URL used for image search.</dd> <dt><code>image_url_post_params {{optional_inline}}</code></dt> <dd>String: POST parameters to send to <code>image_url</code>.</dd> <dt><code>instant_url {{optional_inline}}</code></dt> <dd>String: URL used for instant search.</dd> <dt><code>instant_url_post_params {{optional_inline}}</code></dt> <dd>String: POST parameters to send to <code>instant_url</code>.</dd> <dt><code>keyword {{optional_inline}}</code></dt> <dd>String: Address bar keyword for the search engine.</dd> <dt><code>prepopulated_id {{optional_inline}}</code></dt> <dd>The ID of a built-in search engine to use.</dd> <dt><code>search_url_post_params {{optional_inline}}</code></dt> <dd>String: POST parameters to send to <code>search_url</code>.</dd> <dt><code>suggest_url {{optional_inline}}</code></dt> <dd> String: URL used for search suggestions. This must be an HTTPS URL. </dd> <dt><code>suggest_url_post_params {{optional_inline}}</code></dt> <dd>String: POST parameters to send to <code>suggest_url</code>.</dd> </dl> </td> </tr> </tbody> </table> ## Example This example shows how to set a search provider. ```json "chrome_settings_overrides": { "search_provider": { "name": "Discogs", "search_url": "https://www.discogs.com/search/?q={searchTerms}", "keyword": "disc", "favicon_url": "https://www.discogs.com/favicon.ico" } } ``` ## Browser compatibility {{Compat}}
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/default_locale/index.md
--- title: default_locale slug: Mozilla/Add-ons/WebExtensions/manifest.json/default_locale page-type: webextension-manifest-key browser-compat: webextensions.manifest.default_locale --- {{AddonSidebar}} <table class="fullwidth-table standard-table"> <tbody> <tr> <th scope="row">Type</th> <td><code>String</code></td> </tr> <tr> <th scope="row">Mandatory</th> <td> Contingent: must be present if the _locales subdirectory is present, must be absent otherwise. </td> </tr> <tr> <th scope="row">Example</th> <td><pre class="brush: json">"default_locale": "en"</pre></td> </tr> </tbody> </table> This key must be present if the extension contains the \_locales directory, and must be absent otherwise. It identifies a subdirectory of \_locales, and this subdirectory will be used to find the default strings for your extension. See [Internationalization](/en-US/docs/Mozilla/Add-ons/WebExtensions/Internationalization). ## Example ```json "default_locale": "en" ``` ## Browser compatibility {{Compat}}
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/options_page/index.md
--- title: options_page slug: Mozilla/Add-ons/WebExtensions/manifest.json/options_page page-type: webextension-manifest-key status: - deprecated browser-compat: webextensions.manifest.options_page --- {{AddonSidebar}} <table class="fullwidth-table standard-table"> <tbody> <tr> <th scope="row">Type</th> <td><code>String</code></td> </tr> <tr> <th scope="row">Mandatory</th> <td>No</td> </tr> <tr> <th scope="row">Manifest version</th> <td>2 or higher</td> </tr> <tr> <th scope="row">Example</th> <td> <pre class="brush: json;">"options_page": "options/options.html"</pre> </td> </tr> </tbody> </table> {{Deprecated_Header}} > **Warning:** This manifest key has been deprecated. Use [`options_ui`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/options_ui) instead. Use the `options_page` key to define an [options page](/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Options_pages) for your extension. The options page contains settings for the extension. The user can access it from the browser's add-ons manager, and you can open it from within your extension using {{WebExtAPIRef("runtime.openOptionsPage()")}}. Unlike options pages specified using the newer `options_ui` key, options pages specified using the deprecated `options_page` key don't receive browser styles and always open in a normal browser tab. ## Example ```json "options_page": "options/options.html" ``` ## Browser compatibility {{Compat}} ## See also - [`options_ui`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/options_ui) - [Options pages](/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Options_pages)
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/devtools_page/index.md
--- title: devtools_page slug: Mozilla/Add-ons/WebExtensions/manifest.json/devtools_page page-type: webextension-manifest-key browser-compat: webextensions.manifest.devtools_page --- {{AddonSidebar}} <table class="fullwidth-table standard-table"> <tbody> <tr> <th scope="row">Type</th> <td><code>String</code></td> </tr> <tr> <th scope="row">Mandatory</th> <td>No</td> </tr> <tr> <th scope="row">Manifest version</th> <td>2 or higher</td> </tr> <tr> <th scope="row">Example</th> <td> <pre class="brush: json">"devtools_page": "devtools/my-page.html"</pre> </td> </tr> </tbody> </table> Use this key to enable your extension to extend the browser's built-in devtools. This key is defined as a URL to an HTML file. The HTML file must be bundled with the extension, and the URL is relative to the extension's root. The use of this manifest key triggers [an install-time permission warning about devtools](https://support.mozilla.org/en-US/kb/permission-request-messages-firefox-extensions#w_extend-developer-tools-to-access-your-data-in-open-tabs). To avoid an install-time permission warning, mark the feature as optional by listing the `"devtools"` permission in the [`optional_permissions`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/optional_permissions) manifest key. See [Extending the developer tools](/en-US/docs/Mozilla/Add-ons/WebExtensions/Extending_the_developer_tools) to learn more. ## Example ```json "devtools_page": "devtools/my-page.html" ``` ## Browser compatibility {{Compat}}
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/content_scripts/index.md
--- title: content_scripts slug: Mozilla/Add-ons/WebExtensions/manifest.json/content_scripts page-type: webextension-manifest-key browser-compat: webextensions.manifest.content_scripts --- {{AddonSidebar}} <table class="fullwidth-table standard-table"> <tbody> <tr> <th scope="row">Type</th> <td><code>Array</code></td> </tr> <tr> <th scope="row">Mandatory</th> <td>No</td> </tr> <tr> <th scope="row">Manifest version</th> <td>2 or higher</td> </tr> <tr> <th scope="row">Example</th> <td> <pre class="brush: json"> "content_scripts": [ { "matches": ["*://*.mozilla.org/*"], "js": ["borderify.js"] } ]</pre > </td> </tr> </tbody> </table> Instructs the browser to load [content scripts](/en-US/docs/Mozilla/Add-ons/WebExtensions/Content_scripts) into web pages whose URL matches a given pattern. This key is an array. Each item is an object which: - **must** contain a key named **`matches`**, which specifies the URL patterns to be matched in order for the scripts to be loaded; - **may** contain keys named **`js`** and **`css`**, which list scripts and/or stylesheets to be loaded into matching pages; and - **may** contain a number of other properties that control finer aspects of how and when content scripts are loaded. Details of all the keys you can include are given in the table below. <table class="fullwidth-table standard-table"> <thead> <tr> <th scope="col">Name</th> <th scope="col">Type</th> <th scope="col">Description</th> </tr> </thead> <tbody> <tr> <td> <a id="all_frames"><code>all_frames</code></a> </td> <td><code>Boolean</code></td> <td> <dl> <dt><code>true</code></dt> <dd> <p> Inject the scripts specified in <code><a href="#js">js</a></code> and <code><a href="#css">css</a></code> into all frames matching the specified URL requirements, even if the frame is not the topmost frame in a tab. This does not inject into child frames where only their parent matches the URL requirements and the child frame does not match the URL requirements. The URL requirements are checked for each frame independently. </p> <div class="notecard note"> <p> <strong>Note:</strong> This also applies to any tracker or ad that uses iframes, which means that enabling this could make your content script get called dozens of times on some pages. </p> </div> </dd> <dt><code>false</code></dt> <dd> Inject only into frames matching the URL requirements which are the topmost frame in a tab. </dd> </dl> <p>Defaults to <code>false</code>.</p> </td> </tr> <tr> <td> <a id="css"><code>css</code></a> </td> <td><code>Array</code></td> <td> <p> An array of paths, relative to <code>manifest.json</code>, referencing CSS files that will be injected into matching pages. </p> <p> Files are injected in the order given, and at the time specified by <code><a href="#run_at">run_at</a></code >. </p> <div class="notecard note"> <p> <strong>Note:</strong> Firefox resolves URLs in injected CSS files relative to the CSS file itself, rather than to the page it's injected into. </p> </div> </td> </tr> <tr> <td> <a id="exclude_globs"><code>exclude_globs</code></a> </td> <td><code>Array</code></td> <td> An array of strings containing wildcards. See <a href="#matching_url_patterns">Matching URL patterns</a> below. </td> </tr> <tr> <td> <a id="exclude_matches"><code>exclude_matches</code></a> </td> <td><code>Array</code></td> <td> An array of <a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns" >match patterns</a >. See <a href="#matching_url_patterns">Matching URL patterns</a> below. </td> </tr> <tr> <td> <a id="include_globs"><code>include_globs</code></a> </td> <td><code>Array</code></td> <td> An array of strings containing wildcards. See <a href="#matching_url_patterns">Matching URL patterns</a> below. </td> </tr> <tr> <td> <a id="js"><code>js</code></a> </td> <td><code>Array</code></td> <td> <p> An array of paths, relative to <code>manifest.json</code>, referencing JavaScript files that will be injected into matching pages. </p> <p> Files are injected in the order given. This means that, for example, if you include jQuery here followed by another content script, like this: </p> <pre class="brush: json"> "js": ["jquery.js", "my-content-script.js"]</pre > <p>Then, <code>"my-content-script.js"</code> can use jQuery.</p> <p> The files are injected after any files in <code><a href="#css">css</a></code >, and at the time specified by <code><a href="#run_at">run_at</a></code >. </p> </td> </tr> <tr> <td> <code><a id="match_about_blank">match_about_blank</a></code> </td> <td><code>Boolean</code></td> <td> <p> Insert the content scripts into pages whose URL is <code>"about:blank"</code> or <code>"about:srcdoc"</code>, if the URL of the page that opened or created this page <a href="#matching_url_patterns">matches the patterns</a> specified in the rest of the <code>content_scripts</code> key. </p> <p> This is especially useful to run scripts in empty iframes, whose URL is <code>"about:blank"</code>. To do this you should also set the <code>all_frames</code> key. </p> <p> For example, suppose you have a <code>content_scripts</code> key like this: </p> <pre class="brush: json"> "content_scripts": [ { "js": ["my-script.js"], "matches": ["https://example.org/"], "match_about_blank": true, "all_frames": true } ]</pre > <p> If the user loads <code>https://example.org/</code>, and this page embeds an empty iframe, then <code>"my-script.js"</code> will be loaded into the iframe. </p> <div class="notecard note"> <p> <strong>Note:</strong> <code>match_about_blank</code> is supported in Firefox from version 52. </p> <p> Note that in Firefox, content scripts won't be injected into empty iframes at <code>"document_start"</code>, even if you specify that value in <code><a href="#run_at">run_at</a></code> . </p> </div> </td> </tr> <tr> <td> <a id="matches"><code>matches</code></a> </td> <td><code>Array</code></td> <td> <p> An array of <a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns" >match patterns</a >. See <a href="#matching_url_patterns">Matching URL patterns</a> below. </p> <p>This is the only mandatory key.</p> </td> </tr> <tr> <td> <a id="run_at"><code>run_at</code></a> </td> <td><code>String</code></td> <td> <p> This option determines when the files specified in <code><a href="#css">css</a></code> and <code><a href="#js">js</a></code> are injected. You can supply one of three strings here, each of which identifies a state in the process of loading a document. The states directly correspond to {{domxref("Document/readyState", "Document.readyState")}}: </p> <dl> <dt><code>"document_start"</code></dt> <dd> Corresponds to <code>loading</code>. The DOM is still loading. </dd> <dt><code>"document_end"</code></dt> <dd> Corresponds to <code>interactive</code>. The DOM has finished loading, but resources such as scripts and images may still be loading. </dd> <dt><code>"document_idle"</code></dt> <dd> Corresponds to <code>complete</code>. The document and all its resources have finished loading. </dd> </dl> <p>The default value is <code>"document_idle"</code>.</p> <p> In all cases, files in <code><a href="#js">js</a></code> are injected after files in <code><a href="#css">css</a></code >. </p> </td> </tr> </tbody> </table> ## Matching URL patterns The `"content_scripts"` key attaches content scripts to documents based on URL matching: if the document's URL matches the specification in the key, then the script will be attached. There are four properties inside `"content_scripts"` that you can use for this specification: - `matches` - : an array of [match patterns](/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns) - `exclude_matches` - : an array of [match patterns](/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns) - `include_globs` - : an array of [globs](#globs) - `exclude_globs` - : an array of [globs](#globs) To match one of these properties, a URL must match at least one of the items in its array. For example, given a property like: ```json "matches": ["*://*.example.org/*", "*://*.example.com/*"] ``` Both `http://example.org/` and `http://example.com/` will match. Since `matches` is the only mandatory key, the other three keys are used to limit further the URLs that match. To match the key as a whole, a URL must: - match the `matches` property - AND match the `include_globs` property, if present - AND NOT match the `exclude_matches` property, if present - AND NOT match the `exclude_globs` property, if present ### globs A _glob_ is just a string that may contain wildcards. There are two types of wildcard, and you can combine them in the same glob: 1. `*` matches zero or more characters 2. `?` matches exactly one character. For example: `"*na?i"` would match `"illuminati"` and `"annunaki"`, but not `"sagnarelli"`. ## Example ```json "content_scripts": [ { "matches": ["*://*.mozilla.org/*"], "js": ["borderify.js"] } ] ``` This injects a single content script `borderify.js` into all pages under `mozilla.org` or any of its subdomains, whether served over HTTP or HTTPS. ```json "content_scripts": [ { "exclude_matches": ["*://developer.mozilla.org/*"], "matches": ["*://*.mozilla.org/*"], "js": ["jquery.js", "borderify.js"] } ] ``` This injects two content scripts into all pages under `mozilla.org` or any of its subdomains except `developer.mozilla.org`, whether served over HTTP or HTTPS. The content scripts see the same view of the DOM and are injected in the order they appear in the array, so `borderify.js` can see global variables added by `jquery.js`. ## Browser compatibility {{Compat}}
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/offline_enabled/index.md
--- title: offline_enabled slug: Mozilla/Add-ons/WebExtensions/manifest.json/offline_enabled page-type: webextension-manifest-key status: - deprecated browser-compat: webextensions.manifest.offline_enabled --- {{AddonSidebar}} <table class="fullwidth-table standard-table"> <tbody> <tr> <th scope="row">Type</th> <td><code>Boolean</code></td> </tr> <tr> <th scope="row">Mandatory</th> <td>No</td> </tr> <tr> <th scope="row">Manifest version</th> <td>2</td> </tr> <tr> <th scope="row">Example</th> <td><pre class="brush: json">"offline_enabled": true</pre></td> </tr> </tbody> </table> {{Non-standard_Header}} Whether the app or extension is expected to work offline. When Chrome detects that it is offline, apps with this field set to true will be highlighted on the New Tab page. As of Chrome 35, apps (ChromeOS only from 2018) are assumed to be offline enabled and the default value of `"offline_enabled"` is `true` unless `"webview"` permission is requested. In this case, network connectivity is assumed to be required and `"offline_enabled"` defaults to `false`. The `"offline_enabled"` value is also used to determine whether a network connectivity check will be performed when launching an app in [ChromeOS kiosk mode](https://developer.chrome.com/docs/apps/manifest/kiosk_enabled/). A network connectivity check will be performed when apps are not offline enabled, and app launching put on hold until the device obtains connectivity to the Internet. ## Browser compatibility {{Compat}}
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/browser_action/index.md
--- title: browser_action slug: Mozilla/Add-ons/WebExtensions/manifest.json/browser_action page-type: webextension-manifest-key browser-compat: webextensions.manifest.browser_action --- {{AddonSidebar}} <table class="fullwidth-table standard-table"> <tbody> <tr> <th scope="row">Type</th> <td><code>Object</code></td> </tr> <tr> <th scope="row">Mandatory</th> <td>No</td> </tr> <tr> <th scope="row">Manifest version</th> <td>2</td> </tr> <tr> <th scope="row">Example</th> <td> <pre class="brush: json"> "browser_action": { "default_icon": { "16": "button/geo-16.png", "32": "button/geo-32.png" }, "default_title": "Whereami?", "default_popup": "popup/geo.html", "theme_icons": [{ "light": "icons/geo-16-light.png", "dark": "icons/geo-16.png", "size": 16 }, { "light": "icons/geo-32-light.png", "dark": "icons/geo-32.png", "size": 32 }] }</pre > </td> </tr> </tbody> </table> A browser action is a button that your extension adds to the browser's toolbar. The button has an icon, and may optionally have a popup whose content is specified using HTML, CSS, and JavaScript. This key is replaced by [`action`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/action) in Manifest V3 extensions. If you supply a popup, then the popup is opened when the user clicks the button, and your JavaScript running in the popup can handle the user's interaction with it. If you don't supply a popup, then a click event is dispatched to your extension's [background scripts](/en-US/docs/Mozilla/Add-ons/WebExtensions/Anatomy_of_a_WebExtension#background_scripts) when the user clicks the button. You can also create and manipulate browser actions programmatically using the [browserAction API](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/browserAction). ## Syntax The `browser_action` key is an object that may have any of the following properties, all optional: <table class="fullwidth-table standard-table"> <thead> <tr> <th scope="col">Name</th> <th scope="col">Type</th> <th scope="col">Description</th> </tr> </thead> <tbody> <tr> <td> <code> <a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Browser_styles"> browser_style </a> </code> <br />{{optional_inline}} </td> <td><code>Boolean</code></td> <td> <p>Optional, defaulting to <code>false</code>.</p> <div class="notecard warning"> <p> Do not set <code>browser_style</code> to true: it isn't supported in Manifest V3, starting with Firefox 118. See <a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Browser_styles#manifest_v3_migration">Manifest V3 migration for <code>browser_style</code></a>. </p> </div> <p> In Firefox, the stylesheet can be seen at chrome://browser/content/extension.css or chrome://browser/content/extension-mac.css on macOS. When setting dimensions, be aware that this stylesheet sets <code>box-sizing: border-box</code> (see <a href="/en-US/docs/Web/CSS/box-sizing">box-sizing</a>). </p> <p> <a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Browser_styles" >Browser styles</a > describes the classes you can apply to elements in the popup to get particular styles. </p> <p> The <a href="https://github.com/mdn/webextensions-examples/tree/main/latest-download" >latest-download</a > example extension uses <code>browser_style</code> in its popup. </p> <div class="notecard note"> <p> <strong>Note:</strong> Setting <code>browser_style</code> to <code>true</code> prevents users from selecting text in an extension's popup or sidebar content. This is normal behavior. You can't select parts of the UI in the browser. However, you can work around this limitation to allow your users to select text in two ways: </p> <ol> <li>Set <code>browser_style</code> to <code>false</code>.</li> <li> Use CSS styling on the body of your sidebar or popup's HTML to allow text selection by adding the rule <code>-moz-user-select</code> with a value of <code>all</code> or <code>text</code>. </li> </ol> </div> </td> </tr> <tr> <td><code>default_area</code> <br />{{optional_inline}}</td> <td><code>String</code></td> <td> <p> Defines the part of the browser in which the button is initially placed. This is a string that may take one of four values: </p> <ul> <li> "navbar": the button is placed in the main browser toolbar, alongside the URL bar. </li> <li>"menupanel": the button is placed in a popup panel.</li> <li> "tabstrip": the button is placed in the toolbar that contains browser tabs. </li> <li> "personaltoolbar": the button is placed in the bookmarks toolbar. </li> </ul> <p>This property is only supported in Firefox.</p> <p>This property is optional, and defaults to "menupanel".</p> <p> Firefox remembers the <code>default_area</code> setting for an extension, even if that extension is uninstalled and subsequently reinstalled. To force the browser to acknowledge a new value for <code>default_area</code>, the id of the extension must be changed. </p> <p> An extension can't change the location of the button after it has been installed, but the user may be able to move the button using the browser's built-in UI customization mechanism. </p> </td> </tr> <tr> <td><code>default_icon</code> <br />{{optional_inline}}</td> <td><code>Object</code> or <code>String</code></td> <td> <p> Use this to specify one or more icons for the browser action. The icon is shown in the browser toolbar by default. </p> <p> Icons are specified as URLs relative to the manifest.json file itself. </p> <p>You can specify a single icon file by supplying a string here:</p> <pre class="brush: json">"default_icon": "path/to/geo.svg"</pre> <p> To specify multiple icons in different sizes, specify an object here. The name of each property is the icon's height in pixels, and must be convertible to an integer. The value is the URL. For example: </p> <pre class="brush: json"> "default_icon": { "16": "path/to/geo-16.png", "32": "path/to/geo-32.png" }</pre > <p> You cannot specify multiple icons of the same sizes.<br /><br />See <a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_action#choosing_icon_sizes" >Choosing icon sizes</a > for more guidance on this. </p> </td> </tr> <tr> <td><code>default_popup</code> <br />{{optional_inline}}</td> <td><code>String</code></td> <td> <p> The path to an HTML file containing the specification of the popup. </p> <p> The HTML file may include CSS and JavaScript files using <code ><a href="/en-US/docs/Web/HTML/Element/link">&#x3C;link></a></code > and <code ><a href="/en-US/docs/Web/HTML/Element/script" >&#x3C;script></a ></code > elements, just like a normal web page. However, <code ><a href="/en-US/docs/Web/HTML/Element/script" >&#x3C;script> </a></code >must have <code><a href="/en-US/docs/Web/HTML/Element/script">src</a></code> attribute to load a file. Don't use <code ><a href="/en-US/docs/Web/HTML/Element/script" >&#x3C;script></a ></code > with embedded code, because you'll get a confusing Content Violation Policy error. </p> <p> Unlike a normal web page, JavaScript running in the popup can access all the <a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/API" >WebExtension APIs</a > (subject, of course, to the extension having the appropriate <a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions" >permissions</a >). </p> <p> This is a <a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/Internationalization#internationalizing_manifest.json" >localizable property</a >. </p> </td> </tr> <tr> <td><code>default_title</code> <br />{{optional_inline}}</td> <td><code>String</code></td> <td> <p> Tooltip for the button, displayed when the user moves their mouse over it. If the button is added to the browser's menu panel, this is also shown under the app icon. </p> <p> This is a <a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/Internationalization#internationalizing_manifest.json" >localizable property</a >. </p> </td> </tr> <tr> <td><code>theme_icons</code> <br />{{optional_inline}}</td> <td><code>Array</code></td> <td> <p> This property enables you to specify different icons for themes depending on whether Firefox detects that the theme uses dark or light text. </p> <p> If this property is present, it's an array containing at least one <code>ThemeIcons</code> object. A <code>ThemeIcons</code> object contains three mandatory properties: </p> <dl> <dt><code>"dark"</code></dt> <dd> A URL pointing to an icon. This icon displays when a theme using dark text is active (such as the Firefox Light theme, and the Default theme if no default_icon is specified). </dd> <dt><code>"light"</code></dt> <dd> A URL pointing to an icon. This icon displays when a theme using light text is active (such as the Firefox Dark theme). </dd> <dt><code>"size"</code></dt> <dd>The size of the two icons in pixels.</dd> </dl> <p>Icons are specified as URLs relative to the manifest.json file.</p> <p> You should supply 16x16 and 32x32 (for retina display) <code>ThemeIcons</code>. </p> </td> </tr> </tbody> </table> ## Choosing icon sizes The browser action's icon may need to be displayed in different sizes in different contexts: - The icon is displayed in the browser toolbar. Older versions of Firefox supported the option of placing the icon in the browser's menu panel (the panel that opens when the user clicks the "hamburger" icon). In those versions of Firefox the icon in the menu panel was larger than the icon in the toolbar. - On a high-density display like a Retina screen, icons needs to be twice as big. If the browser can't find an icon of the right size in a given situation, it will pick the best match and scale it. Scaling may make the icon appear blurry, so it's important to choose icon sizes carefully. There are two main approaches to this. You can supply a single icon as an SVG file, and it will be scaled correctly: ```json "default_icon": "path/to/geo.svg" ``` Alternatively, you can supply several icons in different sizes, and the browser will pick the best match. In Firefox: - The default height and width for icons in the toolbar is 16 \* [`window.devicePixelRatio`](/en-US/docs/Web/API/Window/devicePixelRatio). - The default height and width for icons in the menu panel is 32 \* [`window.devicePixelRatio`](/en-US/docs/Web/API/Window/devicePixelRatio). So you can specify icons that match exactly, on both normal and Retina displays, by supplying three icon files, and specifying them like this: ```json "default_icon": { "16": "path/to/geo-16.png", "32": "path/to/geo-32.png", "64": "path/to/geo-64.png" } ``` If Firefox can't find an exact match for the size it wants, then it will pick the smallest icon specified that's bigger than the ideal size. If all icons are smaller than the ideal size, it will pick the biggest icon specified. ## Example ```json "browser_action": { "default_icon": { "16": "button/geo-16.png", "32": "button/geo-32.png" } } ``` A browser action with just an icon, specified in 2 different sizes. The extension's background scripts can receive click events when the user clicks the icon using code like this: ```js browser.browserAction.onClicked.addListener(handleClick); ``` ```json "browser_action": { "default_icon": { "16": "button/geo-16.png", "32": "button/geo-32.png" }, "default_title": "Whereami?", "default_popup": "popup/geo.html" } ``` A browser action with an icon, a title, and a popup. The popup will be shown when the user clicks the button. For a simple, but complete, extension that uses a browser action, see the [walkthrough tutorial](/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_second_WebExtension). ## Browser compatibility {{Compat}} ## See also - [`page_action`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/page_action) - [`sidebar_action`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/sidebar_action) - [Browser styles](/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Browser_styles)
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/homepage_url/index.md
--- title: homepage_url slug: Mozilla/Add-ons/WebExtensions/manifest.json/homepage_url page-type: webextension-manifest-key browser-compat: webextensions.manifest.homepage_url --- {{AddonSidebar}} <table class="fullwidth-table standard-table"> <tbody> <tr> <th scope="row">Type</th> <td><code>String</code></td> </tr> <tr> <th scope="row">Mandatory</th> <td>No</td> </tr> <tr> <th scope="row">Manifest version</th> <td>2 or higher</td> </tr> <tr> <th scope="row">Example</th> <td> <pre class="brush: json"> "homepage_url": "https://example.org/my-addon"</pre > </td> </tr> </tbody> </table> URL for the extension's home page. If a [developer](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/developer) key containing the "url" property and "homepage_url" are defined, Firefox uses "developer.url" while Opera uses "homepage_url". Chrome and Safari do not support the "developer" key. This is a [localizable property](/en-US/docs/Mozilla/Add-ons/WebExtensions/Internationalization#internationalizing_manifest.json). ## Example ```json "homepage_url": "https://github.com/mdn/webextensions-examples/tree/main/beastify" ``` ## Browser compatibility {{Compat}}
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/version/index.md
--- title: version slug: Mozilla/Add-ons/WebExtensions/manifest.json/version page-type: webextension-manifest-key browser-compat: webextensions.manifest.version --- {{AddonSidebar}} <table class="fullwidth-table standard-table"> <tbody> <tr> <th scope="row">Type</th> <td><code>String</code></td> </tr> <tr> <th scope="row">Mandatory</th> <td>Yes</td> </tr> <tr> <th scope="row">Example</th> <td><pre class="brush: json">"version": "0.1"</pre></td> </tr> </tbody> </table> The **version string** for the extension. ## Version format The version string consists of 1 to 4 numbers separated by dots, for example, `1.2.3.4`. Non-zero numbers must not include a leading zero. For example, `2.01` is not allowed; however, `0.2`, `2.0.1`, and `2.10` are allowed. Extension stores and browsers may enforce or warn if the version string doesn't comply with this format. They may also apply restrictions to the range of numbers available. For example: - [addons.mozilla.org](https://addons.mozilla.org/) (AMO) allows version strings using numbers of up to nine digits, complying with this regular expression `^(0|[1-9][0-9]{0,8})([.](0|[1-9][0-9]{0,8})){0,3}$`. Also, from Firefox 108, a warning is provided if an extension is installed with a version number that doesn't match this format. - The Chrome Web Store requires [numbers between 0 and 65535](https://developer.chrome.com/docs/extensions/mv3/manifest/version/) and does not permit all-zero extension strings. For example, 0.0 or 0.0.0.0 are not permitted. It may be possible to create an extension that appears to have a valid version number when run in a browser but doesn't comply with store requirements. Particular care should be taken when developing cross-browser extensions that use large number elements. Some browsers and web stores may recognize the [version_name](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/version_name) key. This key enables you to provide a descriptive version string that may be displayed instead of the version number. For example, `1.0 beta`. ### Comparing versions To determine which of two extension versions is the most recent, the version string numbers are compared left to right. A missing version string element is equivalent to `0`. For example, 1.0 is equivalent to 1.0.0.0. The first version string with a number greater than the corresponding number in the other version string is the most recent. For example, 1.10 is a more recent version than 1.9. ## Legacy version formats See [Legacy version formats](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/version/format) for details of previously supported version strings. ## Access the version number in code You obtain the extension version in your JavaScript code using: ```js console.log(browser.runtime.getManifest().version); ``` If the manifest contains: ```json "version": "0.1" ``` You see this in the console log: ```text "0.1" ``` ## Browser compatibility {{Compat}}
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/version
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/version/format/index.md
--- title: Legacy Version Formats slug: Mozilla/Add-ons/WebExtensions/manifest.json/version/format page-type: guide --- {{AddonSidebar}} This page describes legacy web extension version string formats. See the manifest [version key](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/version) documentation for information on the current version string format. ## Firefox legacy version number A **version string** consists of one or more _version parts_, separated by dots. Each **version part** is parsed as a sequence of four parts: `<number-a><string-b><number-c><string-d>`. Each of the parts is optional. Numbers are integers base 10 (may be negative), and strings are non-numeric {{Glossary("ASCII")}} characters. Here are a few examples of valid version parts: - `0` (as in `1.0`): `<number-a>=0` - `5a` (as in `1.5a`): `<number-a>=5`, `<string-b>=a` - `5pre4` (as in `3.5pre4`): `<number-a>=5`, `<string-b>=pre`, `<number-c>=4` - `*` (as in `1.0.*`): `<string-b>=*` A few special parsing rules are applied for backward compatibility and readability: - if the version part is a single asterisk, it is interpreted as an infinitely-large number: `1.5.0.*` is the same as `1.5.0.(infinity)` - if string-b is a plus sign, number-a is incremented to be compatible with the Firefox 1.0.x version format: `1.0+` is the same as `1.1pre` The rationale behind splitting a version part into a sequence of strings and numbers is that when comparing version parts, the numeric parts are compared as numbers, for example, '1.0pre1' < '1.0pre10', while the strings are compared byte-wise. See the next section for details on how versions are compared. From Firefox 108, web extensions using this version string trigger a warning on installation. ## Comparing versions When two version strings are compared, their version parts are compared left to right. An empty or missing version part is equivalent to `0`. If at some point, a version part of one version string is greater than the corresponding version part of another version string, then the first version string is greater than the other one. Otherwise, the version strings are equal. As missing version parts are treated as if they were `0`, these version strings are equal: `1`, `1.0`, `1.0.`, `1.0.0`, and even `1.0..`. ### Comparing version parts Version parts are also compared left to right; parts A and C are compared as numbers, while parts B and D are compared byte-wise. A string part that exists is always less than a string part that doesn't exist (`1.6a` is less than `1.6`). ## Examples ```plain 1.-1 < 1 == 1. == 1.0 == 1.0.0 < 1.1a < 1.1aa < 1.1ab < 1.1b < 1.1c < 1.1pre == 1.1pre0 == 1.0+ < 1.1pre1a < 1.1pre1aa < 1.1pre1b < 1.1pre1 < 1.1pre2 < 1.1pre10 < 1.1.-1 < 1.1 == 1.1.0 == 1.1.00 < 1.10 < 1.* < 1.*.1 < 2.0 ```
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/add_a_button_to_the_toolbar/index.md
--- title: Add a button to the toolbar slug: Mozilla/Add-ons/WebExtensions/Add_a_button_to_the_toolbar page-type: guide --- {{AddonSidebar}} Toolbar buttons are one of the main UI components available to extensions. Toolbar buttons live in the main browser toolbar and contain an icon. When the user clicks the icon, one of two things can happen: - If you have specified a popup for the icon, the popup is shown. Popups are transient dialogs specified using HTML, CSS, and JavaScript. - If you have not specified a popup, a click event is generated, which you can listen for in your code and perform some other kind of action in response to. With WebExtension APIs, these kinds of buttons are called "browser actions", and are set up like so: - The manifest.json key [`browser_action`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_action) is used to define the button. - The JavaScript API [`browserAction`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/browserAction) is used to listen for clicks and change the button or perform actions via your code. ## A simple button In this section we'll create an extension that adds a button to the toolbar. When the user clicks the button, we'll open <https://developer.mozilla.org> in a new tab. First, create a new directory, "button", and create a file called "manifest.json" inside it with the following contents: ```json { "description": "Demonstrating toolbar buttons", "manifest_version": 2, "name": "button-demo", "version": "1.0", "background": { "scripts": ["background.js"] }, "browser_action": { "default_icon": { "16": "icons/page-16.png", "32": "icons/page-32.png" } } } ``` This specifies that we'll have a [background script](/en-US/docs/Mozilla/Add-ons/WebExtensions/Anatomy_of_a_WebExtension#background_scripts) named "background.js", and a browser action (button) whose icons will live in the "icons" directory. Next, create the "icons" directory inside the "buttons" directory, and save the two icons shown below inside it: **"page-16.png":** !["16 pixel icon of a lined sheet of paper"](page-16.png) **"page-32.png":** !["32 pixel icon of a lined sheet of paper"](page-32.png) > **Note:** These icons are from the [bitsies!](https://www.iconfinder.com/iconsets/bitsies) iconset created by Recep Kütük. We have two icons so we can use the bigger one in high-density displays. The browser will take care of selecting the best icon for the current display. Next, create "background.js" in the extension's root directory, and give it the following contents: ```js function openPage() { browser.tabs.create({ url: "https://developer.mozilla.org", }); } browser.browserAction.onClicked.addListener(openPage); ``` This listens for the browser action's click event; when the event fires, the `openPage()` function is run, which opens the specified page using the [`tabs`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs) API. At this point the complete extension should look like this: ```plain button/ icons/ page-16.png page-32.png background.js manifest.json ``` Now [install the extension](https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/) and click the button: ![The toolbar button added by the extension](toolbar_button.png) ## Adding a popup Let's try adding a popup to the button. Replace manifest.json with this: ```json { "description": "Demonstrating toolbar buttons", "manifest_version": 2, "name": "button-demo", "version": "1.0", "browser_action": { "default_popup": "popup/choose_page.html", "default_icon": { "16": "icons/page-16.png", "32": "icons/page-32.png" } } } ``` We've made two changes from the original: - removed the reference to "background.js", because now we're going to handle the extension's logic in the popup's script (you are allowed background.js as well as a popup, it's just that we don't need it in this case). - added `"default_popup": "popup/choose_page.html"`, which is telling the browser that this browser action is now going to display a popup when clicked, the document for which can be found at "popup/choose_page.html". So now we need to create that popup. Create a directory called "popup" then create a file called "choose_page.html" inside it. Give it the following contents: ```html <!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <link rel="stylesheet" href="choose_page.css" /> </head> <body> <div class="page-choice">developer.mozilla.org</div> <div class="page-choice">support.mozilla.org</div> <div class="page-choice">addons.mozilla.org</div> <script src="choose_page.js"></script> </body> </html> ``` You can see that this is a normal HTML page containing three {{htmlelement("div")}} elements, each with the name of a Mozilla site inside. It also includes a CSS file and a JavaScript file, which we'll add next. Create a file called "choose_page.css" inside the "popup" directory, and give it these contents: ```css html, body { width: 300px; } .page-choice { width: 100%; padding: 4px; font-size: 1.5em; text-align: center; cursor: pointer; } .page-choice:hover { background-color: #cff2f2; } ``` This is just a bit of styling for our popup. Next, create a "choose_page.js" file inside the "popup" directory, and give it these contents: ```js document.addEventListener("click", (event) => { if (!event.target.classList.contains("page-choice")) { return; } const chosenPage = `https://${event.target.textContent}`; browser.tabs.create({ url: chosenPage, }); }); ``` In our JavaScript, we listen for clicks on the popup choices. We first check to see if the click landed on one of the page-choices; if not, we don't do anything else. If the click did land on a page-choice, we construct a URL from it, and open a new tab containing the corresponding page. Note that we can use WebExtension APIs in popup scripts, just as we can in background scripts. The extension's final structure should look like this: ```plain button/ icons/ page-16.png page-32.png popup/ choose_page.css choose_page.html choose_page.js manifest.json ``` Now [reload the extension](https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/#reloading-a-temporary-extension), click the button again, and try clicking on the choices in the popup: ![The toolbar button added by the extension with a popup](toolbar_button_with_popup.png) ## Page actions [Page actions](/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Page_actions) are just like browser actions, except that they are for actions which are relevant only for particular pages, rather than the browser as a whole. While browser actions are always shown, page actions are only shown in tabs where they are relevant. Page action buttons are displayed in the URL bar, rather than the browser toolbar. ## Learn more - [`browser_action`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_action) manifest key - [`browserAction`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/browserAction) API - Browser action examples: - [beastify](https://github.com/mdn/webextensions-examples/tree/main/beastify) - [Bookmark it!](https://github.com/mdn/webextensions-examples/tree/main/bookmark-it) - [favourite-colour](https://github.com/mdn/webextensions-examples/tree/main/favourite-colour) - [open-my-page-button](https://github.com/mdn/webextensions-examples/tree/main/open-my-page-button) - [`page_action`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/page_action) manifest key - [`pageAction`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/pageAction) API - Page action examples: - [chill-out](https://github.com/mdn/webextensions-examples/tree/main/chill-out)
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/browser_compatibility_for_manifest.json/index.md
--- title: Browser compatibility for manifest.json slug: Mozilla/Add-ons/WebExtensions/Browser_compatibility_for_manifest.json page-type: guide browser-compat: webextensions.manifest --- {{AddonSidebar}}{{Compat}} ## See also - [Browser support for JavaScript APIs](/en-US/docs/Mozilla/Add-ons/WebExtensions/Browser_support_for_JavaScript_APIs)
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/browser_support_for_javascript_apis/index.md
--- title: Browser support for JavaScript APIs slug: Mozilla/Add-ons/WebExtensions/Browser_support_for_JavaScript_APIs page-type: guide --- {{AddonSidebar}} {{WebExtAllCompatTables}} > **Note:** Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License. ## See also - [Browser compatibility for manifest.json](/en-US/docs/Mozilla/Add-ons/WebExtensions/Browser_compatibility_for_manifest.json)
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/implement_a_settings_page/index.md
--- title: Implement a settings page slug: Mozilla/Add-ons/WebExtensions/Implement_a_settings_page page-type: guide --- {{AddonSidebar}} A settings page gives users a way to see and change settings (sometimes also called "preferences" or "options") for the extension. With WebExtension APIs, settings are generally stored using the [`storage`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage) API. Implementing a settings page is a three-step process: - Write an HTML file that displays settings and lets the user change them. - Write a script, included from the HTML file, that populates the settings page from storage and updates stored settings when the user changes them. - Set the path to the HTML file as the [`options_ui`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/options_ui) key in `manifest.json`. By doing this, the HTML document will be shown in the browser's add-on manager, alongside the extension's name and description. > **Note:** You can also open this page programmatically using the [`runtime.openOptionsPage()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/openOptionsPage) function. ## A simple extension First, we'll write an extension that adds a blue border to every page the user visits. Create a new directory called `settings`, then create a file called `manifest.json` inside it with the following contents: ```json { "manifest_version": 2, "name": "Settings example", "version": "1.0", "content_scripts": [ { "matches": ["<all_urls>"], "js": ["borderify.js"] } ] } ``` This extension instructs the browser to load a content script called "borderify.js" into all web pages the user visits. Next, create a file called `borderify.js` inside the `settings` directory, and give it these contents: ```js document.body.style.border = "10px solid blue"; ``` This just adds a blue border to the page. Now [install](https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/) and test the extension. ## Adding settings Now let's create a settings page to allow the user to set the color of the border. First, update `manifest.json` so it has these contents: ```json { "manifest_version": 2, "name": "Settings example", "version": "1.0", "content_scripts": [ { "matches": ["<all_urls>"], "js": ["borderify.js"] } ], "options_ui": { "page": "options.html" }, "permissions": ["storage"], "browser_specific_settings": { "gecko": { "id": "addon@example.com" } } } ``` We've added three new manifest keys: - [`options_ui`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/options_ui) - : This sets an HTML document to be the settings page (also called options page) for this extension. - [`permissions`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions) - : We'll use the [`storage`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage) API to store the settings, and we need to ask permission to use this API. - [`browser_specific_settings`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_specific_settings) - : You have to include an extension id in order to save and retrieve settings from synchronized storage. Next, because we've promised to provide `options.html`, let's create it. Create a file with that name inside the `settings` directory, and give it the following contents: ```html <!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> </head> <body> <form> <label>Border color <input type="text" id="color" name="color" /></label> <button type="submit">Save</button> </form> <script src="options.js"></script> </body> </html> ``` This defines a {{htmlelement("form")}} with a labeled text {{htmlelement("input")}} and a submit {{htmlelement("button")}}. It also includes a script called `options.js`. Create `options.js`, again in the `settings` directory, and give it the following contents: ```js function saveOptions(e) { e.preventDefault(); browser.storage.sync.set({ color: document.querySelector("#color").value, }); } function restoreOptions() { function setCurrentChoice(result) { document.querySelector("#color").value = result.color || "blue"; } function onError(error) { console.log(`Error: ${error}`); } let getting = browser.storage.sync.get("color"); getting.then(setCurrentChoice, onError); } document.addEventListener("DOMContentLoaded", restoreOptions); document.querySelector("form").addEventListener("submit", saveOptions); ``` This does two things: - When the document has loaded, it fetches the value of `"color"` from storage using [`storage.sync.get()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/StorageArea/get). If the value isn't set, it uses the default `"blue"`. This retrieves the values from the `sync` storage area. - When the user submits the form by clicking Save, it stores the value of the textbox using [`storage.sync.set()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/StorageArea/set). This saves the value to the `sync` storage area. > **Note:** Specifying a separate `.js` file is required. You cannot use inline JavaScript. You could store the settings values in local storage instead if you feel that local storage is preferable for your extension. > **Note:** The implementation of `storage.sync` in Firefox relies on the Add-on ID. If you use `storage.sync`, you must set an ID for your extension using the [`browser_specific_settings`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_specific_settings) key in `manifest.json`, as shown in the example manifest above. See [Firefox bug 1323228](https://bugzil.la/1323228) for related information. Finally, update `borderify.js` to read the border color from storage: ```js function onError(error) { console.log(`Error: ${error}`); } function onGot(item) { let color = "blue"; if (item.color) { color = item.color; } document.body.style.border = `10px solid ${color}`; } const getting = browser.storage.sync.get("color"); getting.then(onGot, onError); ``` At this point, the complete extension should look like this: ```plain settings/ borderify.js manifest.json options.html options.js ``` Now: - [reload the extension](https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/#reloading_a_temporary_add-on) - load a web page - visit "`about:addons`" to open the settings and click the Preferences button next to the extension's entry and change the border color. - reload the web page to see the difference. ## Learn more - [`options_ui`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/options_ui) key of `manifest.json` reference documentation - [`storage`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage) API reference documentation - open the settings page directly from your extension using the [`runtime.openOptionsPage()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/openOptionsPage) API - Settings page example: - [favourite-colour](https://github.com/mdn/webextensions-examples/tree/main/favourite-colour)
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/content_scripts/index.md
--- title: Content scripts slug: Mozilla/Add-ons/WebExtensions/Content_scripts page-type: guide --- {{AddonSidebar}} A content script is a part of your extension that runs in the context of a particular web page (as opposed to background scripts which are part of the extension, or scripts which are part of the website itself, such as those loaded using the {{HTMLElement("script")}} element). [Background scripts](/en-US/docs/Mozilla/Add-ons/WebExtensions/Background_scripts) can access all the [WebExtension JavaScript APIs](/en-US/docs/Mozilla/Add-ons/WebExtensions/API), but they can't directly access the content of web pages. So if your extension needs to do that, you need content scripts. Just like the scripts loaded by normal web pages, content scripts can read and modify the content of their pages using the standard DOM APIs. However, they can only do this when [host permissions to the web page's origin have been granted](#permissions). Content scripts can only access [a small subset of the WebExtension APIs](#webextension_apis), but they can [communicate with background scripts](#communicating_with_background_scripts) using a messaging system, and thereby indirectly access the WebExtension APIs. ## Loading content scripts You can load a content script into a web page: 1. At install time, into pages that match URL patterns. - Using the [`content_scripts`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/content_scripts) key in your `manifest.json`, you can ask the browser to load a content script whenever the browser loads a page whose URL [matches a given pattern](/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns). 2. At runtime, into pages that match URL patterns. - Using {{WebExtAPIRef("scripting.registerContentScripts()")}} or (only in Manifest V2 in Firefox) {{WebExtAPIRef("contentScripts")}}, you can ask the browser to load a content script whenever the browser loads a page whose URL [matches a given pattern](/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns). (This is similar to method 1, _except_ that you can add and remove content scripts at runtime.) 3. At runtime, into specific tabs. - Using {{WebExtAPIRef("scripting.executeScript()")}} or (in Manifest V2 only) {{WebExtAPIRef("tabs.executeScript()")}}, you can load a content script into a specific tab whenever you want. (For example, in response to the user clicking on a [browser action](/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Toolbar_button).) There is only one global scope _per frame, per extension_. This means that variables from one content script can directly be accessed by another content script, regardless of how the content script was loaded. Using methods (1) and (2), you can only load scripts into pages whose URLs can be represented using a [match pattern](/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns). Using method (3), you can also load scripts into pages packaged with your extension, but you can't load scripts into privileged browser pages (like "`about:debugging`" or "`about:addons`"). > **Note:** [Dynamic JS module imports](/en-US/docs/Web/JavaScript/Guide/Modules#dynamic_module_loading) are now working in content scripts. For more details, see [Firefox bug 1536094](https://bugzil.la/1536094). > Only URLs with the _moz-extension_ scheme are allowed, which excludes data URLs ([Firefox bug 1587336](https://bugzil.la/1587336)). ## Permissions, restrictions, and limitations ### Permissions Registered content scripts are only executed if the extension is granted [host permissions](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions#host_permissions) for the domain. To inject scripts programmatically, the extension needs either the [`activeTab` permission](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions#activetab_permission) or [host permissions](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions#host_permissions). The `scripting` permission is required to use methods from the {{WebExtAPIRef("scripting")}} API. Starting with Manifest V3, host permissions are not automatically granted at install time. Users may opt in or out of host permissions after installing the extension. ### Restricted domains Both [host permissions](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions#host_permissions) and the [`activeTab` permission](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions#activetab_permission) have exceptions for some domains. Content scripts are blocked from executing on these domains, for example, to protect the user from an extension escalating privileges through special pages. In Firefox, this includes the following domains: - accounts-static.cdn.mozilla.net - accounts.firefox.com - addons.cdn.mozilla.net - addons.mozilla.org - api.accounts.firefox.com - content.cdn.mozilla.net - discovery.addons.mozilla.org - install.mozilla.org - oauth.accounts.firefox.com - profile.accounts.firefox.com - support.mozilla.org - sync.services.mozilla.com Other browsers have similar restrictions over the websites extensions can be installed from. For example, access to chrome.google.com is restricted in Chrome. > **Note:** Because these restrictions include addons.mozilla.org, users who try to use your extension immediately after installation may find that it doesn't work. To avoid this, you should add an appropriate warning or an [onboarding page](https://extensionworkshop.com/documentation/develop/onboard-upboard-offboard-users/) to move users away from `addons.mozilla.org`. The set of domains can be restricted further through enterprise policies: Firefox recognizes the `restricted_domains` policy as documented at [ExtensionSettings in mozilla/policy-templates](https://github.com/mozilla/policy-templates/blob/master/README.md#extensionsettings). Chrome's `runtime_blocked_hosts` policy is documented at [Configure ExtensionSettings policy](https://support.google.com/chrome/a/answer/9867568). ### Limitations Whole tabs or frames may be loaded using [`data:` URI](/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs), {{DOMxRef("URL.createObjectURL_static", "Blob")}} objects, and other similar techniques. Support of content scripts injection into such special documents varies across browsers, see the Firefox [bug #1411641 comment 41](https://bugzil.la/1411641#c41) for some details. ## Content script environment ### DOM access Content scripts can access and modify the page's DOM, just like normal page scripts can. They can also see any changes that were made to the DOM by page scripts. However, content scripts get a "clean" view of the DOM. This means: - Content scripts cannot see JavaScript variables defined by page scripts. - If a page script redefines a built-in DOM property, the content script sees the original version of the property, not the redefined version. As noted at ["Content script environment" at Chrome incompatibilities](/en-US/docs/Mozilla/Add-ons/WebExtensions/Chrome_incompatibilities#content_script_environment), the behavior differs across browsers: - In Firefox, this behavior is called [Xray vision](/en-US/docs/Mozilla/Add-ons/WebExtensions/Sharing_objects_with_page_scripts#xray_vision_in_firefox). Content scripts may encounter JavaScript objects from its own global scope or Xray-wrapped versions from the web page. - In Chrome this behavior is enforced through an [isolated world](https://chromium.googlesource.com/chromium/src/+/master/third_party/blink/renderer/bindings/core/v8/V8BindingDesign.md#world), which uses a fundamentally different approach. Consider a web page like this: ```html <!doctype html> <html lang="en-US"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> </head> <body> <script src="page-scripts/page-script.js"></script> </body> </html> ``` The script `page-script.js` does this: ```js // page-script.js // add a new element to the DOM let p = document.createElement("p"); p.textContent = "This paragraph was added by a page script."; p.setAttribute("id", "page-script-para"); document.body.appendChild(p); // define a new property on the window window.foo = "This global variable was added by a page script"; // redefine the built-in window.confirm() function window.confirm = () => { alert("The page script has also redefined 'confirm'"); }; ``` Now an extension injects a content script into the page: ```js // content-script.js // can access and modify the DOM let pageScriptPara = document.getElementById("page-script-para"); pageScriptPara.style.backgroundColor = "blue"; // can't see properties added by page-script.js console.log(window.foo); // undefined // sees the original form of redefined properties window.confirm("Are you sure?"); // calls the original window.confirm() ``` The same is true in reverse; page scripts cannot see JavaScript properties added by content scripts. This means that content scripts can rely on DOM properties behaving predictably, without worrying about its variables clashing with variables from the page script. One practical consequence of this behavior is that a content script doesn't have access to any JavaScript libraries loaded by the page. So, for example, if the page includes jQuery, the content script can't see it. If a content script needs to use a JavaScript library, then the library itself should be injected as a content script _alongside_ the content script that wants to use it: ```json "content_scripts": [ { "matches": ["*://*.mozilla.org/*"], "js": ["jquery.js", "content-script.js"] } ] ``` > **Note:** Firefox _does_ provide some APIs that enable content scripts to access JavaScript objects created by page scripts, and to expose their own JavaScript objects to page scripts. > > See [Sharing objects with page scripts](/en-US/docs/Mozilla/Add-ons/WebExtensions/Sharing_objects_with_page_scripts) for more details. ### WebExtension APIs In addition to the standard DOM APIs, content scripts can use the following WebExtension APIs: **From [`extension`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/extension):** - [`getURL()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/extension/getURL) - [`inIncognitoContext`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/extension/inIncognitoContext) **From [`runtime`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime):** - [`connect()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/connect) - [`getManifest()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/getManifest) - [`getURL()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/getURL) - [`onConnect`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onConnect) - [`onMessage`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage) - [`sendMessage()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/sendMessage) **From [`i18n`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/i18n):** - [`getMessage()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/i18n/getMessage) - [`getAcceptLanguages()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/i18n/getAcceptLanguages) - [`getUILanguage()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/i18n/getUILanguage) - [`detectLanguage()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/i18n/detectLanguage) **From [`menus`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/menus):** - [`getTargetElement`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/menus/getTargetElement) **Everything from:** - [`storage`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage) ### XHR and Fetch Content scripts can make requests using the normal [`window.XMLHttpRequest`](/en-US/docs/Web/API/XMLHttpRequest) and [`window.fetch()`](/en-US/docs/Web/API/Fetch_API) APIs. > **Note:** In Firefox in Manifest V2, content script requests (for example, using [`fetch()`](/en-US/docs/Web/API/Fetch_API/Using_Fetch)) happen in the context of an extension, so you must provide an absolute URL to reference page content. > > In Chrome and Firefox in Manifest V3, these requests happen in context of the page, so they are made to a relative URL. For example, `/api` is sent to `https://«current page URL»/api`. Content scripts get the same cross-domain privileges as the rest of the extension: so if the extension has requested cross-domain access for a domain using the [`permissions`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions) key in `manifest.json`, then its content scripts get access that domain as well. > **Note:** When using Manifest V3, content scripts can perform cross-origin requests when the destination server opts in using [CORS](/en-US/docs/Web/HTTP/CORS); however, host permissions don't work in content scripts, but they still do in regular extension pages. This is accomplished by exposing more privileged XHR and fetch instances in the content script, which has the side effect of not setting the [`Origin`](/en-US/docs/Web/HTTP/Headers/Origin) and [`Referer`](/en-US/docs/Web/HTTP/Headers/Referer) headers like a request from the page itself would; this is often preferable to prevent the request from revealing its cross-origin nature. > **Note:** In Firefox in Manifest V2, extensions that need to perform requests that behave as if they were sent by the content itself can use `content.XMLHttpRequest` and `content.fetch()` instead. > > For cross-browser extensions, the presence of these methods must be feature-detected. > > This is not possible in Manifest V3, as `content.XMLHttpRequest` and `content.fetch()` are not available. > **Note:** In Chrome, starting with version 73, and Firefox, starting with version 101 when using Manifest V3, content scripts are subject to the same [CORS](/en-US/docs/Web/HTTP/CORS) policy as the page they are running within. Only backend scripts have elevated cross-domain privileges. See [Changes to Cross-Origin Requests in Chrome Extension Content Scripts](https://www.chromium.org/Home/chromium-security/extension-content-script-fetches). ## Communicating with background scripts Although content scripts can't directly use most of the WebExtension APIs, they can communicate with the extension's background scripts using the messaging APIs, and can therefore indirectly access all the same APIs that the background scripts can. There are two basic patterns for communicating between the background scripts and content scripts: - You can send **one-off messages** (with an optional response). - You can set up a **longer-lived connection between the two sides**, and use that connection to exchange messages. ### One-off messages To send one-off messages, with an optional response, you can use the following APIs: <table class="fullwidth-table standard-table"> <thead> <tr> <th scope="row"></th> <th scope="col">In content script</th> <th scope="col">In background script</th> </tr> </thead> <tbody> <tr> <th scope="row">Send a message</th> <td> <code ><a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/sendMessage" >browser.runtime.sendMessage()</a ></code > </td> <td> <code ><a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/sendMessage" >browser.tabs.sendMessage()</a ></code > </td> </tr> <tr> <th scope="row">Receive a message</th> <td> <code ><a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage" >browser.runtime.onMessage</a ></code > </td> <td> <code ><a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage" >browser.runtime.onMessage</a ></code > </td> </tr> </tbody> </table> For example, here's a content script that listens for click events in the web page. If the click was on a link, it sends a message to the background page with the target URL: ```js // content-script.js window.addEventListener("click", notifyExtension); function notifyExtension(e) { if (e.target.tagName !== "A") { return; } browser.runtime.sendMessage({ url: e.target.href }); } ``` The background script listens for these messages and displays a notification using the [`notifications`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/notifications) API: ```js // background-script.js browser.runtime.onMessage.addListener(notify); function notify(message) { browser.notifications.create({ type: "basic", iconUrl: browser.extension.getURL("link.png"), title: "You clicked a link!", message: message.url, }); } ``` (This example code is lightly adapted from the [notify-link-clicks-i18n](https://github.com/mdn/webextensions-examples/tree/main/notify-link-clicks-i18n) example on GitHub.) ### Connection-based messaging Sending one-off messages can get cumbersome if you are exchanging a lot of messages between a background script and a content script. So an alternative pattern is to establish a longer-lived connection between the two contexts, and use this connection to exchange messages. Both sides have a [`runtime.Port`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/Port) object, which they can use to exchange messages. To create the connection: - One side listens for connections using [`runtime.onConnect`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onConnect) - The other side calls: - [`tabs.connect()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/connect) (if connecting to a content script) - [`runtime.connect()`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/connect) (if connecting to a background script) This returns a [`runtime.Port`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/Port) object. - The [`runtime.onConnect`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onConnect) listener gets passed its own [`runtime.Port`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/Port) object. Once each side has a port, the two sides can: - Send messages using `runtime.Port.postMessage()` - Receive messages using `runtime.Port.onMessage()` For example, as soon as it loads, the following content script: - Connects to the background script - Stores the `Port` in a variable `myPort` - Listens for messages on `myPort` (and logs them) - Uses `myPort` to sends messages to the background script when the user clicks the document ```js // content-script.js let myPort = browser.runtime.connect({ name: "port-from-cs" }); myPort.postMessage({ greeting: "hello from content script" }); myPort.onMessage.addListener((m) => { console.log("In content script, received message from background script: "); console.log(m.greeting); }); document.body.addEventListener("click", () => { myPort.postMessage({ greeting: "they clicked the page!" }); }); ``` The corresponding background script: - Listens for connection attempts from the content script - When receiving a connection attempt: - Stores the port in a variable named `portFromCS` - Sends the content script a message using the port - Starts listening to messages received on the port, and logs them - Sends messages to the content script, using `portFromCS`, when the user clicks the extension's browser action ```js // background-script.js let portFromCS; function connected(p) { portFromCS = p; portFromCS.postMessage({ greeting: "hi there content script!" }); portFromCS.onMessage.addListener((m) => { portFromCS.postMessage({ greeting: `In background script, received message from content script: ${m.greeting}`, }); }); } browser.runtime.onConnect.addListener(connected); browser.browserAction.onClicked.addListener(() => { portFromCS.postMessage({ greeting: "they clicked the button!" }); }); ``` #### Multiple content scripts If you have multiple content scripts communicating at the same time, you might want to store connections to them in an array. ```js // background-script.js let ports = []; function connected(p) { ports[p.sender.tab.id] = p; // … } browser.runtime.onConnect.addListener(connected); browser.browserAction.onClicked.addListener(() => { ports.forEach((p) => { p.postMessage({ greeting: "they clicked the button!" }); }); }); ``` ### Choosing between one-off messages and connection-based messaging The choice between one-off and connection-based messaging depends on how your extension expects to make use of messaging. The recommended best practices are: - **Use one-off messages when…** - Only one response is expected to a message. - A small number of scripts listen to receive messages ({{WebExtAPIRef("runtime.onMessage")}} calls). - **Use connection-based messaging when…** - Scripts engage in sessions where multiple messages are exchanged. - The extension needs to know about task progress or if a task is interrupted, or wants to interrupt a task initiated using messaging. ## Communicating with the web page By default, content scripts don't get access to the objects created by page scripts. However, they can communicate with page scripts using the DOM [`window.postMessage`](/en-US/docs/Web/API/Window/postMessage) and [`window.addEventListener`](/en-US/docs/Web/API/EventTarget/addEventListener) APIs. For example: ```js // page-script.js let messenger = document.getElementById("from-page-script"); messenger.addEventListener("click", messageContentScript); function messageContentScript() { window.postMessage( { direction: "from-page-script", message: "Message from the page", }, "*", ); } ``` ```js // content-script.js window.addEventListener("message", (event) => { if ( event.source === window && event?.data?.direction === "from-page-script" ) { alert(`Content script received message: "${event.data.message}"`); } }); ``` For a complete working example of this, [visit the demo page on GitHub](https://mdn.github.io/webextensions-examples/content-script-page-script-messaging.html) and follow the instructions. > **Warning:** Be very careful when interacting with untrusted web content in this manner! Extensions are privileged code which can have powerful capabilities and hostile web pages can easily trick them into accessing those capabilities. > > To give a trivial example, suppose the content script code that receives the message does something like this: > > ```js example-bad > // content-script.js > > window.addEventListener("message", (event) => { > if ( > event.source === window && > event?.data?.direction === "from-page-script" > ) { > eval(event.data.message); > } > }); > ``` > > Now the page script can run any code with all the privileges of the content script. ## Using `eval()` in content scripts > **Note:** `eval()` not available in Manifest V3. - In Chrome - : {{jsxref("Global_Objects/eval", "eval")}} always runs code in the context of the **content script**, not in the context of the page. - In Firefox - : If you call `eval()`, it runs code in the context of the **content script**. If you call `window.eval()`, it runs code in the context of the **page**. For example, consider a content script like this: ```js // content-script.js window.eval("window.x = 1;"); eval("window.y = 2"); console.log(`In content script, window.x: ${window.x}`); console.log(`In content script, window.y: ${window.y}`); window.postMessage( { message: "check", }, "*", ); ``` This code just creates some variables `x` and `y` using `window.eval()` and `eval()`, logs their values, and then messages the page. On receiving the message, the page script logs the same variables: ```js window.addEventListener("message", (event) => { if (event.source === window && event.data && event.data.message === "check") { console.log(`In page script, window.x: ${window.x}`); console.log(`In page script, window.y: ${window.y}`); } }); ``` In Chrome, this produces output like this: ```plain In content script, window.x: 1 In content script, window.y: 2 In page script, window.x: undefined In page script, window.y: undefined ``` In Firefox, this produces output like this: ```plain In content script, window.x: undefined In content script, window.y: 2 In page script, window.x: 1 In page script, window.y: undefined ``` The same applies to [`setTimeout()`](/en-US/docs/Web/API/setTimeout), [`setInterval()`](/en-US/docs/Web/API/setInterval), and [`Function()`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function). > **Warning:** Be very careful when running code in the context of the page! > > The page's environment is controlled by potentially malicious web pages, which can redefine objects you interact with to behave in unexpected ways: > > ```js example-bad > // page.js redefines console.log > > let original = console.log; > > console.log = () => { > original(true); > }; > ``` > > ```js example-bad > // content-script.js calls the redefined version > > window.eval("console.log(false)"); > ```
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/internationalization/index.md
--- title: Internationalization slug: Mozilla/Add-ons/WebExtensions/Internationalization page-type: guide --- {{AddonSidebar}} The [WebExtensions](/en-US/docs/Mozilla/Add-ons/WebExtensions) API has a rather handy module available for internationalizing extensions — [i18n](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/i18n). In this article we'll explore its features and provide a practical example of how it works. The i18n system for extensions built using WebExtension APIs is similar to common JavaScript libraries for i18n such as [i18n.js](http://i18njs.com/). > **Note:** The example extension featured in this article — [notify-link-clicks-i18n](https://github.com/mdn/webextensions-examples/tree/main/notify-link-clicks-i18n) — is available on GitHub. Follow along with the source code as you go through the sections below. ## Anatomy of an internationalized extension An internationalized extension can contain the same features as any other extension — [background scripts](/en-US/docs/Mozilla/Add-ons/WebExtensions/Anatomy_of_a_WebExtension#background_scripts), [content scripts](/en-US/docs/Mozilla/Add-ons/WebExtensions/Content_scripts), etc. — but it also has some extra parts to allow it to switch between different locales. These are summarized in the following directory tree: - extension-root-directory/ - \_locales - en - messages.json - English messages (strings) - de - messages.json - German messages (strings) - etc. - manifest.json - locale-dependent metadata - myJavascript.js - JavaScript for retrieving browser locale, locale-specific messages, etc. - myStyles.css - locale-dependent CSS Let's explore each of the new features in turn — each of the below sections represents a step to follow when internationalizing your extension. ## Providing localized strings in \_locales > **Note:** You can look up language subtags using the _Find_ tool on the [Language subtag lookup page](https://r12a.github.io/app-subtags/). Note that you need to search for the English name of the language. Every i18n system requires the provision of strings translated into all the different locales you want to support. In extensions, these are contained within a directory called `_locales`, placed inside the extension root. Each individual locale has its strings (referred to as messages) contained within a file called `messages.json`, which is placed inside a subdirectory of `_locales`, named using the language subtag for that locale's language. Note that if the subtag includes a basic language plus a regional variant, then the language and variant are conventionally separated using a hyphen: for example, "en-US". However, in the directories under `_locales`, **the separator must be an underscore**: "en_US". So [for example, in our sample app](https://github.com/mdn/webextensions-examples/tree/main/notify-link-clicks-i18n/_locales) we have directories for "en" (English), "de" (German), "nl" (Dutch), and "ja" (Japanese). Each one of these has a `messages.json` file inside it. Let's now look at the structure of one of these files ([\_locales/en/messages.json](https://github.com/mdn/webextensions-examples/blob/main/notify-link-clicks-i18n/_locales/en/messages.json)): ```json { "extensionName": { "message": "Notify link clicks i18n", "description": "Name of the extension." }, "extensionDescription": { "message": "Shows a notification when the user clicks on links.", "description": "Description of the extension." }, "notificationTitle": { "message": "Click notification", "description": "Title of the click notification." }, "notificationContent": { "message": "You clicked $URL$.", "description": "Tells the user which link they clicked.", "placeholders": { "url": { "content": "$1", "example": "https://developer.mozilla.org" } } } } ``` This file is standard JSON — each one of its members is an object with a name, which contains a `message` and a `description`. All of these items are strings; `$URL$` is a placeholder, which is replaced with a substring at the time the `notificationContent` member is called by the extension. You'll learn how to do this in the [Retrieving message strings from JavaScript](#retrieving_message_strings_from_javascript) section. > **Note:** You can find much more information about the contents of `messages.json` files in our [Locale-Specific Message reference](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/i18n/Locale-Specific_Message_reference). ## Internationalizing manifest.json There are a couple of different tasks to carry out to internationalize your manifest.json. ### Retrieving localized strings in manifests Your [manifest.json](https://github.com/mdn/webextensions-examples/blob/main/notify-link-clicks-i18n/manifest.json) includes strings that are displayed to the user, such as the extension's name and description. If you internationalize these strings and put the appropriate translations of them in messages.json, then the correct translation of the string will be displayed to the user, based on the current locale, like so. To internationalize strings, specify them like this: ```json "name": "__MSG_extensionName__", "description": "__MSG_extensionDescription__", ``` Here, we are retrieving message strings dependent on the browser's locale, rather than just including static strings. To call a message string like this, you need to specify it like this: 1. Two underscores, followed by 2. The string "MSG", followed by 3. One underscore, followed by 4. The name of the message you want to call as defined in `messages.json`, followed by 5. Two underscores ```plain __MSG_ + messageName + __ ``` ### Specifying a default locale Another field you should specify in your manifest.json is [default_locale](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/default_locale): ```json "default_locale": "en" ``` This specifies a default locale to use if the extension doesn't include a localized string for the browser's current locale. Any message strings that are not available in the browser locale are taken from the default locale instead. There are some more details to be aware of in terms of how the browser selects strings — see [Localized string selection](#localized_string_selection). ## Locale-dependent CSS Note that you can also retrieve localized strings from CSS files in the extension. For example, you might want to construct a locale-dependent CSS rule, like this: ```css header { background-image: url(../images/__MSG_extensionName__/header.png); } ``` This is useful, although you might be better off handling such a situation using [Predefined messages](#predefined_messages). ## Retrieving message strings from JavaScript So, you've got your message strings set up, and your manifest. Now you just need to start calling your message strings from JavaScript so your extension can talk the right language as much as possible. The actual [i18n API](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/i18n) is pretty simple, containing just four main methods: - You'll probably use {{WebExtAPIRef("i18n.getMessage()")}} most often — this is the method you use to retrieve a specific language string, as mentioned above. We'll see specific usage examples of this below. - The {{WebExtAPIRef("i18n.getAcceptLanguages()")}} and {{WebExtAPIRef("i18n.getUILanguage()")}} methods could be used if you needed to customize the UI depending on the locale — perhaps you might want to show preferences specific to the users' preferred languages higher up in a prefs list, or display cultural information relevant only to a certain language, or format displayed dates appropriately according to the browser locale. - The {{WebExtAPIRef("i18n.detectLanguage()")}} method could be used to detect the language of user-submitted content, and format it appropriately. In our [notify-link-clicks-i18n](https://github.com/mdn/webextensions-examples/tree/main/notify-link-clicks-i18n) example, the [background script](https://github.com/mdn/webextensions-examples/blob/main/notify-link-clicks-i18n/background-script.js) contains the following lines: ```js let title = browser.i18n.getMessage("notificationTitle"); let content = browser.i18n.getMessage("notificationContent", message.url); ``` The first one just retrieves the `notificationTitle message` field from the available `messages.json` file most appropriate for the browser's current locale. The second one is similar, but it is being passed a URL as a second parameter. What gives? This is how you specify the content to replace the `$URL$` placeholder we see in the `notificationContent message` field: ```json "notificationContent": { "message": "You clicked $URL$.", "description": "Tells the user which link they clicked.", "placeholders": { "url" : { "content" : "$1", "example" : "https://developer.mozilla.org" } } } ``` The `"placeholders"` member defines all the placeholders, and where they are retrieved from. The `"url"` placeholder specifies that its content is taken from `$1`, which is the first value given inside the second parameter of `getMessage()`. Since the placeholder is called `"url"`, we use `$URL$` to call it inside the actual message string (so for `"name"` you'd use `$NAME$`, etc.) If you have multiple placeholders, you can provide them inside an array that is given to {{WebExtAPIRef("i18n.getMessage()")}} as the second parameter — `[a, b, c]` will be available as `$1`, `$2`, and `$3`, and so on, inside `messages.json`. Let's run through an example: the original `notificationContent` message string in the `en/messages.json` file is ```plain You clicked $URL$. ``` Let's say the link clicked on points to `https://developer.mozilla.org`. After the {{WebExtAPIRef("i18n.getMessage()")}} call, the contents of the second parameter are made available in messages.json as `$1`, which replaces the `$URL$` placeholder as defined in the `"url"` placeholder. So the final message string is ```plain You clicked https://developer.mozilla.org. ``` ### Direct placeholder usage It is possible to insert your variables (`$1`, `$2`, `$3`, etc.) directly into the message strings, for example we could rewrite the above `"notificationContent"` member like this: ```json "notificationContent": { "message": "You clicked $1.", "description": "Tells the user which link they clicked." } ``` This may seem quicker and less complex, but the other way (using `"placeholders"`) is seen as best practice. This is because having the placeholder name (e.g. `"url"`) and example helps you to remember what the placeholder is for — a week after you write your code, you'll probably forget what `$1` – `$8` refer to, but you'll be more likely to know what your placeholder names refer to. ### Hardcoded substitution It is also possible to include hardcoded strings in placeholders, so that the same value is used every time, instead of getting the value from a variable in your code. For example: ```json "mdn_banner": { "message": "For more information on web technologies, go to $MDN$.", "description": "Tell the user about MDN", "placeholders": { "mdn": { "content": "https://developer.mozilla.org/" } } } ``` In this case we are just hardcoding the placeholder content, rather than getting it from a variable value like `$1`. This can sometimes be useful when your message file is very complex, and you want to split up different values to make the strings more readable in the file, plus then these values could be accessed programmatically. In addition, you can use such substitutions to specify parts of the string that you don't want to be translated, such as person or business names. ## Localized string selection Locales can be specified using only a language code, like `fr` or `en`, or they may be further qualified with a region code, like `en_US` or `en_GB`, which describes a regional variant of the same basic language. When you ask the i18n system for a string, it will select a string using the following algorithm: 1. if there is a `messages.json` file for the exact current locale, and it contains the string, return it. 2. Otherwise, if the current locale is qualified with a region (e.g. `en_US`) and there is a `messages.json` file for the regionless version of that locale (e.g. `en`), and that file contains the string, return it. 3. Otherwise, if there is a `messages.json` file for the `default_locale` defined in the `manifest.json`, and it contains the string, return it. 4. Otherwise return an empty string. Take the following example: - extension-root-directory/ - \_locales - en_GB - messages.json - `{ "colorLocalized": { "message": "colour", "description": "Color." }, /* … */ }` en - messages.json - `{ "colorLocalized": { "message": "color", "description": "Color." }, /* … */ }` - fr - messages.json - `{ "colorLocalized": { "message": "couleur", "description": "Color." }, /* … */}` Suppose the `default_locale` is set to `fr`, and the browser's current locale is `en_GB`: - If the extension calls `getMessage("colorLocalized")`, it will return "colour". - If "colorLocalized" were not present in `en_GB`, then `getMessage("colorLocalized")`, would return "color", not "couleur". ## Predefined messages The i18n module provides us with some predefined messages, which we can call in the same way as we saw earlier in [Retrieving localized strings in manifests](#retrieving_localized_strings_in_manifests) and [Locale-dependent CSS](#locale-dependent_css). For example: ```plain __MSG_extensionName__ ``` Predefined messages use exactly the same syntax, except with `@@` before the message name, for example ```plain __MSG_@@ui_locale__ ``` The following table shows the different available predefined messages: <table> <thead> <tr> <th scope="col">Message name</th> <th scope="col">Description</th> </tr> </thead> <tbody> <tr> <td><code>@@extension_id</code></td> <td> <p> The extension's internally-generated UUID. You might use this string to construct URLs for resources inside the extension. Even unlocalized extensions can use this message. </p> <p>You can't use this message in a manifest file.</p> <p> Also note that this ID is <em>not</em> the add-on ID returned by {{WebExtAPIRef("runtime.id")}}, and that can be set using the <a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_specific_settings" >browser_specific_settings</a > key in manifest.json. It's the generated UUID that appears in the add-on's URL. This means that you can't use this value as the <code>extensionId</code> parameter to {{WebExtAPIRef("runtime.sendMessage()")}}, and can't use it to check against the <code>id</code> property of a {{WebExtAPIRef("runtime.MessageSender")}} object. </p> </td> </tr> <tr> <td><code>@@ui_locale</code></td> <td> The current locale; you might use this string to construct locale-specific URLs. </td> </tr> <tr> <td><code>@@bidi_dir</code></td> <td> The text direction for the current locale, either "ltr" for left-to-right languages such as English or "rtl" for right-to-left languages such as Arabic. </td> </tr> <tr> <td><code>@@bidi_reversed_dir</code></td> <td> If the <code>@@bidi_dir</code> is "ltr", then this is "rtl"; otherwise, it's "ltr". </td> </tr> <tr> <td><code>@@bidi_start_edge</code></td> <td> If the <code>@@bidi_dir</code> is "ltr", then this is "left"; otherwise, it's "right". </td> </tr> <tr> <td><code>@@bidi_end_edge</code></td> <td> If the <code>@@bidi_dir</code> is "ltr", then this is "right"; otherwise, it's "left". </td> </tr> </tbody> </table> Going back to our earlier example, it would make more sense to write it like this: ```css header { background-image: url(../images/__MSG_@@ui_locale__/header.png); } ``` Now we can just store our local specific images in directories that match the different locales we are supporting — en, de, etc. — which makes a lot more sense. Let's look at an example of using `@@bidi_*` messages in a CSS file: ```css body { direction: __MSG_@@bidi_dir__; } div#header { margin-bottom: 1.05em; overflow: hidden; padding-bottom: 1.5em; padding-__MSG_@@bidi_start_edge__: 0; padding-__MSG_@@bidi_end_edge__: 1.5em; position: relative; } ``` For left-to-right languages such as English, the CSS declarations involving the predefined messages above would translate to the following final code lines: ```css direction: ltr; padding-left: 0; padding-right: 1.5em; ``` For a right-to-left language like Arabic, you'd get: ```css direction: rtl; padding-right: 0; padding-left: 1.5em; ``` ## Testing out your extension To test your extension's localization, you use [Firefox](https://www.mozilla.org/en-US/firefox/new/) or [Firefox Beta](https://www.mozilla.org/en-US/firefox/channel/desktop/), the Firefox builds in which you can install language packs. Then, for each locale supported in the extension you want to test, follow the instructions to [Use Firefox in another language](https://support.mozilla.org/en-US/kb/use-firefox-another-language) to switch the Firefox UI language. (If you know your way around Settings, under Language, use Set Alternatives.) Once Firefox is running in your test language, [install the extension temporarily](https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/). After installing your extension, in `about:debugging`, if you've set up your extension correctly, you see the extension listed with its icon, name, and description in the chosen language. You can also see the localized extension details in `about:addons`. Now exercise the extension's features to ensure the translations you need are in place. If you'd like to try this process out, you can use the [notify-link-clicks-i18n](https://github.com/mdn/webextensions-examples/tree/main/notify-link-clicks-i18n) extension. Set up Firefox to display one of the languages supported in this example (German, Dutch, or Japanese). Load the extension and go to a website. Click a link to see the translated version of the notification reporting the link's URL.
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/work_with_the_bookmarks_api/index.md
--- title: Work with the Bookmarks API slug: Mozilla/Add-ons/WebExtensions/Work_with_the_Bookmarks_API page-type: guide --- {{AddonSidebar}} Bookmarks enable users to collect and organize lists of web pages, so they can easily get back to their favorites. Using the Bookmarks API, your extensions can manipulate bookmarks in much the same way users can. ## Permissions To make use of the Bookmarks API, you need to ask for the `"bookmarks"` permission in your extension's manifest.json file: ```json "permissions": [ "bookmarks" ], ``` ## Features The Bookmarks API lets your extension do the things users can do with bookmarks and includes functions for: - Basic bookmark item manipulation, offering: - add ({{WebExtAPIRef("bookmarks.create")}}). - retrieve ({{WebExtAPIRef("bookmarks.get")}}). - update ({{WebExtAPIRef("bookmarks.update")}}). - move ({{WebExtAPIRef("bookmarks.move")}}). - delete ({{WebExtAPIRef("bookmarks.remove")}}). - search ({{WebExtAPIRef("bookmarks.search")}}). - Obtaining a list of recently added bookmarks ({{WebExtAPIRef("bookmarks.getRecent")}}). - Bookmark folder tree manipulation to: - get tree information ({{WebExtAPIRef("bookmarks.getTree")}}, {{WebExtAPIRef("bookmarks.getChildren")}}, and {{WebExtAPIRef("bookmarks.getSubTree")}}). - add branches ({{WebExtAPIRef("bookmarks.create")}}). - delete nodes ({{WebExtAPIRef("bookmarks.removeTree")}}). - move nodes ({{WebExtAPIRef("bookmarks.move")}}). - Listening for bookmarks (or bookmark tree folders) events that: - add ({{WebExtAPIRef("bookmarks.onCreated")}}). - change ({{WebExtAPIRef("bookmarks.onChanged")}}). - move ({{WebExtAPIRef("bookmarks.onMoved")}}). - reorder ({{WebExtAPIRef("bookmarks.onChildrenReordered")}}). - remove ({{WebExtAPIRef("bookmarks.onRemoved")}}). - Listening for bookmark imports, which can be used to suspend other bookmark processing while an import is in progress: - import started ({{WebExtAPIRef("bookmarks.onImportBegan")}}). - import finished ({{WebExtAPIRef("bookmarks.onImportEnded")}}). ## Example walkthrough To gain an understanding of how to work with the Bookmarks API let's take a look at the [bookmark-it](https://github.com/mdn/webextensions-examples/tree/main/bookmark-it) example. This example adds a toolbar icon ({{WebExtAPIRef("browserAction")}}) which, when clicked, adds or removes the current page from bookmarks. If the page is bookmarked (or removed from bookmarks) in some other way, the icon is updated to show the state of the page's bookmarking. This video shows the extension in action: {{EmbedYouTube("hCDN0FotiFw")}} ### manifest.json The [manifest.json](https://github.com/mdn/webextensions-examples/blob/main/bookmark-it/manifest.json) describes the extension: ```json { "manifest_version": 2, "name": "Bookmark it!", "version": "1.1", "description": "A simple bookmark button", "homepage_url": "https://github.com/mdn/webextensions-examples/tree/main/bookmark-it", ``` Defines the icons that'll be used to represent the extension, in places such as the add-on manager. ```json "icons": { "48": "icons/bookmark-it.png", "96": "icons/bookmark-it@2x.png" }, ``` Requests permissions. `"bookmarks"` is requested to enable use of the Bookmarks API. `"tabs"` is requested so that the active tab's URL and title can be read and used to create or find the page's bookmark. The need for the Tabs API to access these details means that you're unlikely to use the Bookmark API without the Tabs API. ```json "permissions": [ "bookmarks", "tabs" ], ``` Sets up the basic toolbar button details. Most of the button's features will be set up in code after the page's bookmark status is known. ```json "browser_action": { "default_icon": "icons/star-empty-38.png", "default_title": "Bookmark it!" }, ``` Defines the background script that'll add and remove the page's bookmark and set the characteristics of the toolbar button. ```json "background": { "scripts": ["background.js"] } } ``` ### background.js As with any background script, [background.js](https://github.com/mdn/webextensions-examples/blob/main/bookmark-it/background.js) is run as soon as the extension is started. Initially the script calls `updateActiveTab()` that starts by obtaining the `Tabs` object for the current tab, using {{WebExtAPIRef("tabs.query")}}, and passing the object to `updateTab()` with this code: ```js let gettingActiveTab = browser.tabs.query({ active: true, currentWindow: true, }); gettingActiveTab.then(updateTab); ``` `updateTab()` first passes the active tab's URL to `isSupportedProtocol()`: ```js function updateTab(tabs) { if (tabs[0]) { currentTab = tabs[0]; if (isSupportedProtocol(currentTab.url)) { ``` `isSupportedProtocol()` determines if the URL displayed in the active tab is one that can be bookmarked. To extract the protocol from the tab's URL, the extension takes advantage of the [HTMLAnchorElement](/en-US/docs/Web/API/HTMLAnchorElement) by adding the tab's URL to an `<a>` element and then getting the protocol using the `protocol` property. ```js function isSupportedProtocol(urlString) { let supportedProtocols = ["https:", "http:", "file:"]; let url = document.createElement("a"); url.href = urlString; return supportedProtocols.includes(url.protocol); } ``` If the protocol is one supported by bookmarks, the extension determines if the tab's URL is already bookmarked and if it is, calls `updateIcon()`: ```js let searching = browser.bookmarks.search({url: currentTab.url}); searching.then((bookmarks) => { currentBookmark = bookmarks[0]; updateIcon(); ``` `updateIcon()` sets the toolbar button's icon and title, depending on whether the URL is bookmarked or not. ```js function updateIcon() { browser.browserAction.setIcon({ path: currentBookmark ? { 19: "icons/star-filled-19.png", 38: "icons/star-filled-38.png", } : { 19: "icons/star-empty-19.png", 38: "icons/star-empty-38.png", }, tabId: currentTab.id, }); browser.browserAction.setTitle({ // Screen readers can see the title title: currentBookmark ? "Unbookmark it!" : "Bookmark it!", tabId: currentTab.id, }); } ``` With the toolbar button initialized, the extension starts listening for a click on the toolbar button, calling `toggleBookmark()` when that happens. ```js browser.browserAction.onClicked.addListener(toggleBookmark); ``` `toggleBookmark()` uses the result from the search made by `updateTabs()`, which looks for the presence of the URL in a bookmark, to determine whether to remove or add a bookmark for the current URL. ```js function toggleBookmark() { if (currentBookmark) { browser.bookmarks.remove(currentBookmark.id); } else { browser.bookmarks.create({ title: currentTab.title, url: currentTab.url }); } } ``` To update the toolbar icon, the extension listens for the creation or removal of bookmarks. This approach has the benefit of capturing both the bookmark update made by the extension and any update made by the user outside the extension. ```js // listen for bookmarks being created browser.bookmarks.onCreated.addListener(updateActiveTab); // listen for bookmarks being removed browser.bookmarks.onRemoved.addListener(updateActiveTab); ``` Finally, the extension listens for a change to the active tab's URL, or the user switching to another tab or window. These actions could change the viewed URL and therefore the status of the extension's toolbar icon. ```js // listen to tab URL changes browser.tabs.onUpdated.addListener(updateActiveTab); // listen to tab switching browser.tabs.onActivated.addListener(updateActiveTab); // listen for window switching browser.windows.onFocusChanged.addListener(updateActiveTab); ``` ## Learn more If you want to learn more, check out the [Bookmarks API reference](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/bookmarks).
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/build_a_cross_browser_extension/index.md
--- title: Build a cross-browser extension slug: Mozilla/Add-ons/WebExtensions/Build_a_cross_browser_extension page-type: guide --- {{AddonSidebar}} The introduction of the browser extensions API created a uniform landscape for the development of browser extensions. However, there are differences in the API implementations and the scope of coverage among the browsers that use the extensions API (the major ones being Chrome, Edge, Firefox, Opera, and Safari). Maximizing the reach of your browser extension means developing it for at least two browsers, possibly more. This article looks at the main challenges faced when creating a cross-browser extension and suggests how to address these challenges. > **Note:** The main browsers have adopted Manifest V3. This manifest version provides better compatibility between the browser extension environments, such as promises for handling asynchronous events. In addition to the information in this guide, refer to the Manifest V3 migration guides for [Firefox](https://extensionworkshop.com/documentation/develop/manifest-v3-migration-guide/) and [Chrome](https://developer.chrome.com/docs/extensions/migrating/). ## Cross-platform extension coding hurdles You need to address the following areas when tackling a cross-platform extension: - [API namespace](#api_namespace) - [API asynchronous event handling](#api_asynchronous_event_handling) - [API function coverage](#api_function_coverage) - [Content script execution contexts](#content_script_execution_contexts) - [Background page versus extension service worker (in Manifest V3)](#background_page_and_extension_service_worker) - [Manifest keys](#manifest_keys) - [Extension packaging](#extension_packaging) - [Extension publishing](#extension_publishing) ### API namespace There are two API namespaces in use among the main browsers: - `browser.*`, the proposed standard for the extensions API used by Firefox and Safari. - `chrome.*` used by Chrome, Opera, and Edge. Firefox also supports the `chrome.*` namespace for APIs that are compatible with Chrome, primarily to assist with [porting](https://extensionworkshop.com/documentation/develop/porting-a-google-chrome-extension/). However, using the `browser.*` namespace is preferred. In addition to being the proposed standard, `browser.*` uses promises—a modern and convenient mechanism for handling asynchronous events. Only in the most trivial extensions is namespace likely to be the only cross-platform issue to be addressed. Therefore, it's rarely, if ever, helpful to address this issue alone. The best approach is to address this with asynchronous event handling. ### API asynchronous event handling With the introduction of Manifest V3, all the main browsers adopted the standard of returning _Promises_ from asynchronous methods. Firefox and Safari have full support for Promises on all asynchronous APIs. Starting from Chrome 121, all asynchronous extension APIs support promises unless documented otherwise. The `devtools` API is the only API namespace without Promise support ([Chromium bug 1510416](https://crbug.com/1510416)). In Manifest V2, Firefox and Safari support Promises for asynchronous methods. At the same time, Chrome methods invoke _callbacks_. For compatibility, all the main browsers support callbacks across all manifest versions. See [Callbacks and Promises](/en-US/docs/Mozilla/Add-ons/WebExtensions/Chrome_incompatibilities#callbacks_and_promises) for details. Some handlers of extension API events are expected to respond asynchronously through a `Promise` or callback function. For example, a handler of the `runtime.onMessage` event can [send an asynchronous response using a `Promise`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage#sending_an_asynchronous_response_using_a_promise) or using [a callback](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage#sending_an_asynchronous_response_using_sendresponse). A `Promise` as the return value from an event handler is supported in Firefox and Safari, but not yet in Chrome. Firefox also supports callbacks for the APIs that support the `chrome.*` namespace. However, using promises is recommended. Promises greatly simplifies asynchronous event handling, particularly where you need to chain events together. This means using a polyfill or similar so your extension uses the `browser.*` namespace in Firefox and Safari and `chrome.*` in Chrome, Opera, and Edge. > **Note:** If you're unfamiliar with the differences between these two methods, look at [Getting to know asynchronous JavaScript: Callbacks, Promises and Async/Await](https://medium.com/codebuddies/getting-to-know-asynchronous-javascript-callbacks-promises-and-async-await-17e0673281ee) or the MDN [Using promises](/en-US/docs/Web/JavaScript/Guide/Using_promises) page. #### The WebExtension browser API Polyfill So, how do you take advantage of promises easily? The solution is to code for Firefox using promises and use the [WebExtension browser API Polyfill](https://github.com/mozilla/webextension-polyfill/) to address Chrome, Opera, and Edge. This polyfill addresses the API namespace and asynchronous event handling across Firefox, Chrome, Opera, and Edge. To use the polyfill, install it into your development environment using npm or download it directly from [GitHub releases](https://github.com/mozilla/webextension-polyfill/releases). Then, reference `browser-polyfill.js` in: - `manifest.json` to make it available to background and content scripts. - HTML documents, such as `browserAction` popups or tab pages. - The `executeScript` call in dynamically-injected content scripts loaded by `tabs.executeScript`, where it hasn't been loaded using a `content_scripts` declaration in `manifest.json`. So, for example, this `manifest.json` code makes the polyfill available to background scripts: ```json { // … "background": { "scripts": ["browser-polyfill.js", "background.js"] } } ``` Your goal is to ensure that the polyfill executes in your extension before any other scripts that expect the `browser.*` API namespace execute. > **Note:** For more details and information on using the polyfill with a module bundler, see the [project's readme on GitHub.](https://github.com/mozilla/webextension-polyfill/blob/master/README.md) There are other polyfill options. However, at the time of writing, none of the other options provide the coverage of the WebExtension browser API Polyfill. So, where you haven't targeted Firefox as your first choice, your options are to accept the limitations of alternative polyfills, port to Firefox and add cross-browser support, or develop your own polyfill. ### API function coverage The differences in the API functions offered in each of the main browsers fall into three broad categories: 1. **Lack of support for an entire function.** For example, at the time of writing, Edge didn't support the {{WebExtAPIRef("browserSettings")}} function. 2. **Variations in the support for features within a function.** For example, at the time of writing, Firefox doesn't support the notification function method {{WebExtAPIRef("notifications.onButtonClicked")}}, while Firefox is the only browser that supports {{WebExtAPIRef("notifications.onShown")}}. 3. **Proprietary functions, supporting browser-specific features.** For example, at the time of writing, containers was a Firefox-specific feature supported by the {{WebExtAPIRef("contextualIdentities")}} function. Details about the support for the extension APIs among the main browsers and Firefox for Android and Safari on iOS can be found on the Mozilla Developer Network [Browser support for JavaScript APIs](/en-US/docs/Mozilla/Add-ons/WebExtensions/Browser_support_for_JavaScript_APIs) page. Browser compatibility information is also included with each function and its methods, types, and events in the Mozilla Developer Network [JavaScript APIs](/en-US/docs/Mozilla/Add-ons/WebExtensions/API) reference pages. #### Handling API differences A simple approach to addressing API differences is to limit the functions used in your extension to functions that offer the same functionality across your range of targeted browsers. In practice, this approach is likely to be too restrictive for most extensions. Instead, where there are differences among the APIs, you should either offer alternative implementations or fallback functionality. (Remember: you may also need to do this to allow for differences in API support between versions of the _same_ browser.) Using runtime checks on the availability of a function's features is the recommended approach to implementing alternative or fallback functionality. The benefit of performing a runtime check is that you don't need to update and redistribute the extension to take advantage of a function when it becomes available. The following code enables you to perform a runtime check: ```js if (typeof fn === "function") { // safe to use the function } ``` ### Content script execution contexts Content scripts can access and modify the page's DOM, just as page scripts can. They can also see any changes made to the DOM by page scripts. However, content scripts get a "clean" view of the DOM. Firefox and Chrome use fundamentally different approaches to handle this behavior: in Firefox it's called Xray vision, while Chrome uses isolated worlds. For more details, see [Content script environment](/en-US/docs/Mozilla/Add-ons/WebExtensions/Content_scripts#content_script_environment) section of the Content scripts concept article. However, Firefox provides some APIs that enable content scripts to access JavaScript objects created by page scripts and to expose their JavaScript objects to page scripts. See [Sharing objects with page scripts](/en-US/docs/Mozilla/Add-ons/WebExtensions/Sharing_objects_with_page_scripts) for details. There are also differences between the [Content Security Policy (CSP) for content scripts](/en-US/docs/Mozilla/Add-ons/WebExtensions/Content_Security_Policy#csp_for_content_scripts). ### Background page and extension service worker As part of its implementation of Manifest V3, Chrome replaced background pages with extension service workers. Firefox retains the use of background pages, while Safari supports background pages and service workers. For more information, see the [browser support](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/background#browser_support) section on the `"background"` manifest key page. This includes a simple example of how to implement a cross-browser script. ### Manifest keys The differences in the [`manifest.json`](/en-US/docs/Mozilla/Add-ons/WebExtensions/Browser_compatibility_for_manifest.json) file keys supported by the main browsers fall broadly into three categories: 1. **Extension information attributes.** For example, at the time of writing, Firefox and Opera include the [`developer`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/developer#browser_compatibility) key for details about the developer of the extension. 2. **Extension features.** For example, at the time of writing, Chrome did not support the [`browser_specific_settings`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_specific_settings#browser_compatibility) key. 3. **Key optionality.** At the time of writing, generally, only `"manifest_version"`, `"version"`, and `"name"` are mandatory keys. Browser compatibility information is included with each key in the Mozilla Developer Network [`manifest.json` key reference pages](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json). As `manifest.json` files tend to change little—except for release numbers, which may differ between the various browsers—creating and editing a static version for each browser is usually the simplest approach. ### Extension packaging Packaging an extension for distribution through the browser extension stores is relatively straightforward. Firefox, Chrome, Edge, and Opera all use a simple zip format that requires the `manifest.json` file to be at the root of the zip package. Safari requires extensions to be packaged in a similar way to apps. For details on packaging, refer to the guidance on the respective extension's developer portals. ### Extension publishing Each of the major browsers maintains browser extension stores. Each store also reviews your extension to check for security vulnerabilities. As a consequence, you need to approach adding and updating your extension for each store separately. In some cases, you can upload your extension using a utility. This table summarizes the approach and features of each store: <table> <thead> <tr> <th>Browser</th> <th>Registration fee</th> <th>Upload utility</th> <th>Pre-publication review process</th> <th>Account two-factor authentication</th> </tr> </thead> <tbody> <tr> <th><p>Chrome</p></th> <td><p>Yes</p></td> <td><p>Yes</p></td> <td><p>Automatic, less than an hour</p></td> <td><p>Yes</p></td> </tr> <tr> <th><p>Edge</p></th> <td><p>No</p></td> <td><p>No</p></td> <td><p>No SLA provided</p></td> <td><p>Yes</p></td> </tr> <tr> <th><p>Firefox</p></th> <td><p>No</p></td> <td> <p> <a href="https://extensionworkshop.com/documentation/develop/web-ext-command-reference/" >web-ext</a > </p> </td> <td> <p>Automatic, a few seconds.</p> <p> A manual review of the extension takes place after publication, which may result in the extension being suspended where issues that need fixing are found. </p> </td> <td><p>Yes</p></td> </tr> <tr> <th><p>Opera</p></th> <td><p>No</p></td> <td><p>No</p></td> <td><p>Manual, no SLA provided</p></td> <td><p>No</p></td> </tr> <tr> <th><p>Safari</p></th> <td><p>Yes</p></td> <td><p>No</p></td> <td><p>Yes with, according to Apple, on average, 50% of apps reviewed in 24 hours and over 90% reviewed in 48 hours.</p></td> <td><p>Yes</p></td> </tr> </tbody> </table> ### Other considerations #### Version numbering The Firefox, Chrome, and Edge stores require that each uploaded version has a different version number. This means you cannot revert to an earlier version number if you come across issues in a release. ## Conclusion When approaching a cross-platform extension development, the differences between extension API implementations can be addressed by targeting Firefox and using the [WebExtension browser API Polyfill](https://github.com/mozilla/webextension-polyfill/). The bulk of your cross-platform work is likely to focus on handling variations among the API features supported by the main browsers. You may also need to account for differences between the content script and background script implementations. Creating your `manifest.json` files should be relatively straightforward and something you can do manually. You then need to account for the variations in the processes for submitting to each extension store. Following the advice in this article, you should be able to create an extension that works well on all of the four main browsers, enabling you to deliver your extension features to more people.
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/background_scripts/index.md
--- title: Background scripts slug: Mozilla/Add-ons/WebExtensions/Background_scripts page-type: guide --- {{AddonSidebar}} Background scripts or a background page enable you to monitor and react to events in the browser, such as navigating to a new page, removing a bookmark, or closing a tab. Background scripts or a page are: - Persistent – loaded when the extension starts and unloaded when the extension is disabled or uninstalled. - Non-persistent (which are also known as event pages) – loaded only when needed to respond to an event and unloaded when they become idle. However, a background page does not unload until all visible views and message ports are closed. Opening a view does not cause the background page to load but does prevent it from closing. > **Note:** In Firefox, if the extension process crashes: > > - persistent background scripts running at the time of the crash are reloaded automatically. > - non-persistent background scripts (also known as "Event Pages") running at the time of the crash are not reloaded. However, they are restarted automatically when Firefox calls one of their WebExtensions API events listeners. > - extension pages loaded in tabs at the time of the crash are not automatically restored. A warning message in each tab informs the user the page has crashed and enables the user to close or restore the tab. > ![Browser window displaying the user message indicating that a page has crashed with the options to close or restart the tab](your-tab-crashed-screenshot.png) > You can test this condition by opening a new tab and navigating to `about:crashextensions`, which silently triggers a crash of the extension process. In Manifest V2, background scripts or a page can be persistent or non-persistent. Non-persistent background scripts are recommended as they reduce the resource cost of your extension. In Manifest V3, only non-persistent background scripts or a page are supported. If you have persistent background scripts or a page in Manifest V2 and want to prepare your extension for migration to Manifest V3, [Convert to non-persistent](#convert_to_non-persistent) provides advice on transitioning the scripts or page to the non-persistent model. ## Background script environment ### DOM APIs Background scripts run in the context of a special page called a background page. This gives them a [`window`](/en-US/docs/Web/API/Window) global, along with all the standard DOM APIs provided by that object. > **Warning:** In Firefox, background pages do not support the use of [`alert()`](/en-US/docs/Web/API/Window/alert), [`confirm()`](/en-US/docs/Web/API/Window/confirm), or [`prompt()`](/en-US/docs/Web/API/Window/prompt). ### WebExtension APIs Background scripts can use any [WebExtension APIs](/en-US/docs/Mozilla/Add-ons/WebExtensions/API), as long as their extension has the necessary [permissions](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions). ### Cross-origin access Background scripts can make XHR requests to hosts they have [host permissions](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions) for. ### Web content Background scripts do not get direct access to web pages. However, they can load [content scripts](/en-US/docs/Mozilla/Add-ons/WebExtensions/Content_scripts) into web pages and [communicate with these content scripts using a message-passing API](/en-US/docs/Mozilla/Add-ons/WebExtensions/Content_scripts#communicating_with_background_scripts). ### Content security policy Background scripts are restricted from certain potentially dangerous operations, such as the use of [`eval()`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval), through a Content Security Policy. See [Content Security Policy](/en-US/docs/Mozilla/Add-ons/WebExtensions/Content_Security_Policy) for more details. ## Implementing background scripts This section describes how to implement a non-persistent background script. ### Specify the background scripts In your extension, you include a background script or scripts, if you need them, using the [`"background"`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/background) key in `manifest.json`. For Manifest V2 extensions, the `persistent` property must be `false` to create a non-persistent script. It can be omitted for Manifest V3 extensions or must be set to `false`, as script are always non-persistent in Manifest V3. Including `"type": "module"` loads the background scripts as ES modules. ```json "background": { "scripts": ["background-script.js"], "persistent": false, "type": "module" } ``` These scripts execute in the extension's background page, so they run in the same context, like scripts loaded into a web page. However, if you need certain content in the background page, you can specify one. You then specify your script from the page rather than using the `"scripts"` property. Before the introduction of the `"type"` property to the `"background"` key, this was the only option to include ES modules. You specify a background page like this: - manifest.json ```json "background": { "page": "background-page.html", "persistent": false } ``` - background-page.html ```html <!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <script type="module" src="background-script.js"></script> </head> </html> ``` You cannot specify background scripts and a background page. ### Initialize the extension Listen to {{WebExtAPIRef("runtime.onInstalled")}} to initialize an extension on installation. Use this event to set a state or for one-time initialization. For extensions with event pages, this is where stateful APIs, such as a context menu created using {{WebExtAPIRef("menus.create")}}, should be used. This is because stateful APIs don't need to be run each time the event page reloads; they only need to run when the extension is installed. ```js browser.runtime.onInstalled.addListener(() => { browser.contextMenus.create({ id: "sampleContextMenu", title: "Sample Context Menu", contexts: ["selection"], }); }); ``` ### Add listeners Structure background scripts around events the extension depends on. Defining relevant events enables background scripts to lie dormant until those events are fired and prevents the extension from missing essential triggers. Listeners must be registered synchronously from the start of the page. ```js browser.runtime.onInstalled.addListener(() => { browser.contextMenus.create({ id: "sampleContextMenu", title: "Sample Context Menu", contexts: ["selection"], }); }); // This will run when a bookmark is created. browser.bookmarks.onCreated.addListener(() => { // do something }); ``` Do not register listeners asynchronously, as they will not be properly triggered. So, rather than: ```js example-bad window.onload = () => { // WARNING! This event is not persisted, and will not restart the event page. browser.bookmarks.onCreated.addListener(() => { // do something }); }; ``` Do this: ```js browser.tabs.onUpdated.addListener(() => { // This event is run in the top level scope of the event page, and will persist, allowing // it to restart the event page if necessary. }); ``` Extensions can remove listeners from their background scripts by calling `removeListener`, such as with {{WebExtAPIRef("runtime.onMessage")}} `removeListener`. If all listeners for an event are removed, the browser no longer loads the extension's background script for that event. ```js browser.runtime.onMessage.addListener( function messageListener(message, sender, sendResponse) { browser.runtime.onMessage.removeListener(messageListener); }, ); ``` ### Filter events Use APIs that support event filters to restrict listeners to the cases the extension cares about. If an extension is listening for {{WebExtAPIRef("tabs.onUpdated")}}, use the {{WebExtAPIRef("webNavigation.onCompleted")}} event with filters instead, as the tabs API does not support filters. ```js browser.webNavigation.onCompleted.addListener( () => { console.log("This is my favorite website!"); }, { url: [{ urlMatches: "https://www.mozilla.org/" }] }, ); ``` ### React to listeners Listeners exist to trigger functionality once an event has fired. To react to an event, structure the desired reaction inside the listener event. When responding to events in the context of a specific tab or frame, use the `tabId` and `frameId` from the event details instead of relying on the "current tab". Specifying the target ensures your extension does not invoke an extension API on the wrong target when the "current tab" changes while waking the event page. For example, {{WebExtAPIRef("runtime.onMessage")}} can respond to {{WebExtAPIRef("runtime.sendMessage")}} calls as follows: ```js browser.runtime.onMessage.addListener((message, sender, sendResponse) => { if (message.data === "setAlarm") { browser.alarms.create({ delayInMinutes: 5 }); } else if (message.data === "runLogic") { browser.scripting.executeScript({ target: { tabId: sender.tab.id, frameIds: [sender.frameId], }, files: ["logic.js"], }); } else if (message.data === "changeColor") { browser.scripting.executeScript({ target: { tabId: sender.tab.id, frameIds: [sender.frameId], }, func: () => { document.body.style.backgroundColor = "orange"; }, }); } }); ``` ### Unload background scripts Data should be persisted periodically to not lose important information if an extension crashes without receiving {{WebExtAPIRef("runtime.onSuspend")}}. Use the storage API to assist with this. ```js // Or storage.session if the variable does not need to persist pass browser shutdown. browser.storage.local.set({ variable: variableInformation }); ``` Message ports cannot prevent an event page from shutting down. If an extension uses message passing, the ports are closed when the event page idles. Listening to the {{WebExtAPIRef("runtime.Port")}} `onDisconnect` lets you discover when open ports are closing, however the listener is under the same time constraints as {{WebExtAPIRef("runtime.onSuspend")}}. ```js browser.runtime.onConnect.addListener((port) => { port.onMessage.addListener((message) => { if (message === "hello") { let response = { greeting: "welcome!" }; port.postMessage(response); } else if (message === "goodbye") { console.log("Disconnecting port from this end"); port.disconnect(); } }); port.onDisconnect.addListener(() => { console.log("Port was disconnected from the other end"); }); }); ``` Background scripts unload after a few seconds of inactivity. However, if during the suspension of a background script another event wakes the background script, {{WebExtAPIRef("runtime.onSuspendCanceled")}} is called and the background script continues running. If any cleanup is required, listen to {{WebExtAPIRef("runtime.onSuspend")}}. ```js browser.runtime.onSuspend.addListener(() => { console.log("Unloading."); browser.browserAction.setBadgeText({ text: "" }); }); ``` However, persisting data should be preferred rather than relying on {{WebExtAPIRef("runtime.onSuspend")}}. It doesn't allow for as much cleanup as may be needed and does not help in case of a crash. ## Convert to non-persistent If you've a persistent background script, this section provides instructions on converting it to the non-persistent model. ### Update your manifest.json file In your extension's `manifest.json` file, change the persistent property of [`"background"`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/background) key to `false` for your script or page. ```json "background": { …, "persistent": false } ``` ### Move event listeners Listeners must be at the top-level to activate the background script if an event is triggered. Registered listeners may need to be restructured to the synchronous pattern and moved to the top-level. ```js browser.runtime.onStartup.addListener(() => { // run startup function }); ``` ### Record state changes Scripts now open and close as needed. So, do not rely on global variables. ```js example-bad var count = 101; browser.runtime.onMessage.addListener((message, sender, sendResponse) => { if (message === "count") { ++count; sendResponse(count); } }); ``` Instead, use the storage API to set and return states and values: - Use {{WebExtAPIRef("storage.session")}} for in-memory storage that is cleared when the extension or browser shuts down. By default, `storage.session` is only available to extension contexts and not to content scripts. - Use {{WebExtAPIRef("storage.local")}} for a larger storage area that persists across browser and extension restarts. ```js browser.runtime.onMessage.addListener(async (message, sender) => { if (message === "count") { let items = await browser.storage.session.get({ myStoredCount: 101 }); let count = items.myStoredCount; ++count; await browser.storage.session.set({ myStoredCount: count }); return count; } }); ``` The preceding example [sends an asynchronous response using a promise](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage#sending_an_asynchronous_response_using_a_promise), which is not supported in Chrome until [Chrome bug 1185241](https://crbug.com/1185241) is resolved. A cross-browser alternative is to [return true and use `sendResponse`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage#sending_an_asynchronous_response_using_sendresponse). ```js browser.runtime.onMessage.addListener((message, sender, sendResponse) => { if (message === "count") { browser.storage.session.get({ myStoredCount: 101 }).then(async (items) => { let count = items.myStoredCount; ++count; await browser.storage.session.set({ myStoredCount: count }); sendResponse(count); }); return true; } }); ``` ### Change timers into alarms DOM-based timers, such as {{domxref("setTimeout()")}}, do not remain active after an event page has idled. Instead, use the {{WebExtAPIRef("alarms")}} API if you need a timer to wake an event page. ```js browser.alarms.create({ delayInMinutes: 3.0 }); ``` Then add a listener. ```js browser.alarms.onAlarm.addListener(() => { alert("Hello, world!"); }); ``` ### Update calls for background script functions Extensions commonly host their primary functionality in the background script. Some extensions access functions and variables defined in the background page through the `window` returned by {{WebExtAPIRef("extension.getBackgroundPage")}}. The method returns `null` when: - extension pages are isolated, such as extension pages in Private Browsing mode or container tabs. - the background page is not running. This is uncommon with persistent background pages but very likely when using an Event Page, as an Event Page can be suspended. > **Note:** The recommended way to invoke functionality in the background script is to communicate with it through {{WebExtAPIRef("runtime.sendMessage","runtime.sendMessage()")}} or {{WebExtAPIRef("runtime.connect","runtime.connect()")}}. > The `getBackgroundPage()` methods discussed in this section cannot be used in a cross-browser extension, because Manifest Version 3 extensions in Chrome cannot use background or event pages. If your extension requires a reference to the `window` of the background page, use {{WebExtAPIRef("runtime.getBackgroundPage")}} to ensure the event page is running. If the call is optional (that is, only needed if the event page is alive) then use {{WebExtAPIRef("extension.getBackgroundPage")}}. ```js example-bad document.getElementById("target").addEventListener("click", async () => { let backgroundPage = browser.extension.getBackgroundPage(); // Warning: backgroundPage is likely null. backgroundPage.backgroundFunction(); }); ``` ```js document.getElementById("target").addEventListener("click", async () => { // runtime.getBackgroundPage() wakes up the event page if it was not running. let backgroundPage = await browser.runtime.getBackgroundPage(); backgroundPage.backgroundFunction(); }); ```
0
data/mdn-content/files/en-us/mozilla/add-ons/webextensions
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/user_actions/index.md
--- title: User actions slug: Mozilla/Add-ons/WebExtensions/User_actions page-type: guide --- {{AddonSidebar}} Some WebExtension APIs perform functions that are generally performed as a result of a user action. For example: - a browser action with a popup will display the popup when the user clicks it, but there's also a {{WebExtAPIRef("browserAction.openPopup")}} API enabling an extension to open the popup programmatically. - if an extension adds a sidebar, it is typically opened by the user via some part of the browser's built-in user interface, such as the View/Sidebar menu. But there's also a {{WebExtAPIRef("sidebarAction.open")}} API enabling an extension to open their sidebar programmatically. To follow the principle of "no surprises", APIs like this can only be called from inside the handler for a user action. User actions include the following: - Clicking the extension's browser action or page action. - Selecting a context menu item defined by the extension. - Activating a keyboard shortcut defined by the extension (this only treated as a user action from Firefox 63 onwards). - Clicking a button in a page bundled with the extension. For example: ```js function handleClick() { browser.sidebarAction.open(); } browser.browserAction.onClicked.addListener(handleClick); ``` Note that user actions in normal web pages are not treated as user actions for this purpose. For example, if a user clicks a button in a normal web page, and a content script has added a click handler for that button and in that handler sends a message to the extension's background page, then the background page message handler is not considered to be handling a user action. Also, if a user input handler waits on a [promise](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise), then its status as a user input handler is lost. For example: ```js async function handleClick() { let result = await someAsyncFunction(); // this will fail, because the handler lost its "user action handler" status browser.sidebarAction.open(); } browser.browserAction.onClicked.addListener(handleClick); ```
0
data/mdn-content/files
data/mdn-content/files/jsondata/GroupData.json
[ { "Audio Output Devices API": { "overview": ["Audio Output Devices API"], "methods": [ "MediaDevices.selectAudioOutput", "HTMLMediaElement.setSinkId" ], "properties": ["HTMLMediaElement.sinkId"], "events": [] }, "Background Fetch API": { "overview": ["Background Fetch API"], "interfaces": [ "BackgroundFetchManager", "BackgroundFetchRegistration", "BackgroundFetchRecord", "BackgroundFetchEvent", "BackgroundFetchUpdateUIEvent" ], "methods": [], "properties": ["ServiceWorkerRegistration.backgroundFetch"], "events": [ "ServiceWorkerGlobalScope: backgroundfetchsuccess", "ServiceWorkerGlobalScope: backgroundfetchfail", "ServiceWorkerGlobalScope: backgroundfetchabort", "ServiceWorkerGlobalScope: backgroundfetchclick" ] }, "Background Sync": { "overview": ["Background Synchronization API"], "interfaces": ["SyncManager", "SyncEvent"], "methods": [], "properties": ["ServiceWorkerRegistration.sync"], "events": ["ServiceWorkerGlobalScope: sync"] }, "Background Tasks": { "overview": ["Background Tasks API"], "interfaces": ["IdleDeadline"], "methods": [ "Window.cancelIdleCallback()", "Window.requestIdleCallback()" ], "properties": [], "events": [] }, "Badging API": { "overview": ["Badging API"], "interfaces": [], "methods": [ "Navigator.clearAppBadge()", "Navigator.setAppBadge()", "WorkerNavigator.clearAppBadge()", "WorkerNavigator.setAppBadge()" ], "properties": [], "events": [] }, "Battery API": { "overview": ["Battery Status API"], "guides": [], "interfaces": ["BatteryManager"], "methods": ["Navigator.getBattery()"], "properties": [], "events": [] }, "Barcode Detection API": { "overview": ["Barcode Detection API"], "guides": [], "interfaces": ["BarcodeDetector"], "methods": [], "properties": [], "events": [] }, "Beacon": { "overview": ["Beacon API"], "guides": [], "interfaces": [], "methods": ["Navigator.sendBeacon()"], "properties": [], "events": [] }, "Broadcast Channel API": { "overview": ["Broadcast Channel API"], "interfaces": ["BroadcastChannel"], "methods": [], "properties": [], "events": [] }, "Bluetooth API": { "overview": ["Web Bluetooth API"], "interfaces": [ "Bluetooth", "BluetoothCharacteristicProperties", "BluetoothDevice", "BluetoothRemoteGATTCharacteristic", "BluetoothRemoteGATTDescriptor", "BluetoothRemoteGATTServer", "BluetoothRemoteGATTService", "BluetoothUUID" ], "methods": [], "properties": ["Navigator.bluetooth"], "events": [] }, "Canvas API": { "overview": ["Canvas API"], "guides": ["/docs/Web/API/Canvas_API/Manipulating_video_using_canvas"], "tutorial": [ "/docs/Web/API/Canvas_API/Tutorial", "/docs/Web/API/Canvas_API/Tutorial/Basic_usage", "/docs/Web/API/Canvas_API/Tutorial/Drawing_shapes", "/docs/Web/API/Canvas_API/Tutorial/Applying_styles_and_colors", "/docs/Web/API/Canvas_API/Tutorial/Drawing_text", "/docs/Web/API/Canvas_API/Tutorial/Using_images", "/docs/Web/API/Canvas_API/Tutorial/Transformations", "/docs/Web/API/Canvas_API/Tutorial/Compositing", "/docs/Web/API/Canvas_API/Tutorial/Basic_animations", "/docs/Web/API/Canvas_API/Tutorial/Advanced_animations", "/docs/Web/API/Canvas_API/Tutorial/Pixel_manipulation_with_canvas", "/docs/Web/API/Canvas_API/Tutorial/Optimizing_canvas", "/docs/Web/API/Canvas_API/Tutorial/Finale" ], "interfaces": [ "CanvasGradient", "CanvasPattern", "CanvasRenderingContext2D", "HTMLCanvasElement", "ImageBitmap", "ImageBitmapRenderingContext", "ImageData", "OffscreenCanvas", "Path2D", "TextMetrics" ], "methods": ["createImageBitmap()"], "properties": [], "events": [] }, "Channel Messaging API": { "overview": ["Channel Messaging API"], "guides": ["/docs/Web/API/Channel_Messaging_API/Using_channel_messaging"], "interfaces": ["MessageChannel", "MessagePort"], "methods": [], "properties": [], "events": [] }, "Clipboard API": { "overview": ["Clipboard API"], "interfaces": ["Clipboard", "ClipboardEvent", "ClipboardItem"], "methods": [], "properties": ["Navigator.clipboard"], "events": ["Element: copy", "Element: cut", "Element: paste"] }, "Compression Streams API": { "overview": ["Compression Streams API"], "interfaces": ["CompressionStream", "DecompressionStream"], "methods": [], "properties": [], "events": [] }, "Contact Picker API": { "overview": ["Contact Picker API"], "interfaces": ["ContactAddress", "ContactsManager"], "methods": [], "properties": ["Navigator.contacts"], "events": [] }, "Content Index API": { "overview": ["Content Index API"], "interfaces": ["ContentIndex", "ContentIndexEvent"], "methods": [], "properties": ["ServiceWorkerRegistration.index"], "events": ["ServiceWorkerGlobalScope: contentdelete"] }, "CSS Containment": { "interfaces": ["ContentVisibilityAutoStateChangeEvent"], "methods": [], "properties": [], "events": ["Element: contentvisibilityautostatechange"] }, "CSS Custom Highlight API": { "overview": ["CSS Custom Highlight API"], "interfaces": ["Highlight", "HighlightRegistry"], "methods": [], "properties": ["CSS.highlights"], "events": [] }, "Console API": { "overview": ["Console API"], "interfaces": ["console"], "methods": [], "properties": ["Window.console"], "events": [] }, "Cookie Store API": { "overview": ["Cookie Store API"], "interfaces": [ "CookieStore", "CookieStoreManager", "CookieChangeEvent", "ExtendableCookieChangeEvent" ], "methods": [], "properties": [ "Window.cookieStore", "ServiceWorkerGlobalScope.cookieStore", "ServiceWorkerRegistration.cookies" ], "events": ["ServiceWorkerGlobalScope: cookiechange"] }, "Credential Management API": { "overview": ["Credential Management API"], "interfaces": [ "Credential", "CredentialsContainer", "FederatedCredential", "PasswordCredential" ], "methods": [], "properties": ["Navigator.credentials"], "events": [] }, "CSS Counter Styles": { "overview": ["CSS Counter Styles"], "interfaces": ["CSSCounterStyleRule"], "methods": [], "properties": [], "events": [] }, "CSS Font Loading API": { "overview": ["CSS Font Loading API"], "interfaces": ["FontFace", "FontFaceSet", "FontFaceSetLoadEvent"], "methods": [], "properties": ["Document.fonts", "WorkerGlobalScope.fonts"], "events": [ "FontFaceSet: loading", "FontFaceSet: loadingdone", "FontFaceSet: loadingerror" ] }, "CSS Painting API": { "overview": ["CSS Painting API"], "guides": ["/docs/Web/API/CSS_Painting_API/Guide"], "interfaces": [ "PaintWorkletGlobalScope", "PaintRenderingContext2D", "PaintSize" ], "methods": ["CSS.paintWorklet"], "properties": [], "events": [] }, "CSS Properties and Values API": { "overview": ["CSS Properties and Values API"], "guides": ["/docs/Web/API/CSS_Properties_and_Values_API/guide"], "interfaces": ["CSSPropertyRule"], "methods": ["CSS.registerProperty"], "properties": [], "events": [] }, "CSS Typed Object Model API": { "overview": ["CSS Typed OM API"], "guides": ["/docs/Web/API/CSS_Typed_OM_API/Guide"], "interfaces": [ "CSSKeywordValue", "CSSImageValue", "CSSNumericValue", "CSSStyleValue", "CSSPositionValue", "CSSTransformValue", "CSSUnparsedValue", "StylePropertyMap" ], "methods": [], "properties": [], "events": [] }, "CSSOM": { "overview": ["CSS Object Model"], "guides": [ "/docs/Web/API/CSS_Object_Model/Determining_the_dimensions_of_elements", "/docs/Web/API/CSS_Object_Model/Managing_screen_orientation", "/docs/Web/API/CSS_Object_Model/Using_dynamic_styling_information" ], "interfaces": [ "CaretPosition", "CSS", "CSSConditionRule", "CSSGroupingRule", "CSSImportRule", "CSSKeyframeRule", "CSSKeyframesRule", "CSSLayerBlockRule", "CSSLayerStatementRule", "CSSMediaRule", "CSSNamespaceRule", "CSSPageRule", "CSSFontFeatureValuesRule", "CSSFontPaletteValuesRule", "CSSPropertyRule", "CSSRule", "CSSRuleList", "CSSStyleDeclaration", "CSSStartingStyleRule", "CSSStyleRule", "CSSStyleSheet", "CSSSupportsRule", "MediaList", "MediaQueryList", "Screen", "StyleSheet", "StyleSheetList" ], "methods": [], "properties": [], "events": [ "Document: scroll", "Element: animationstart", "Element: animationend", "Element: animationiteration", "Element: scroll", "Element: transitionend", "Window: resize" ] }, "Device Memory API": { "overview": ["Device Memory API"], "guides": [], "interfaces": [], "methods": [], "properties": ["Navigator.deviceMemory", "WorkerNavigator.deviceMemory"], "events": [] }, "Device Orientation Events": { "overview": ["Device orientation events"], "guides": [ "/docs/Web/API/Device_orientation_events/Detecting_device_orientation", "/docs/Web/API/Device_orientation_events/Orientation_and_motion_data_explained", "/docs/Web/API/Device_orientation_events/Using_device_orientation_with_3D_transforms" ], "interfaces": [ "DeviceMotionEvent", "DeviceMotionEventAcceleration", "DeviceMotionEventRotationRate", "DeviceOrientationEvent" ], "methods": [], "properties": [], "events": [ "Window: deviceorientation", "Window: deviceorientationabsolute", "Window: devicemotion" ] }, "Document Picture-in-Picture API": { "overview": ["Document Picture-in-Picture API"], "guides": ["/docs/Web/API/Document_Picture-in-Picture_API/Using"], "interfaces": [ "DocumentPictureInPicture", "DocumentPictureInPictureEvent" ], "methods": [], "properties": ["Window.documentPictureInPicture"], "events": ["DocumentPictureInPicture: enter"] }, "DOM": { "overview": ["Document Object Model"], "guides": [ "/docs/Web/API/Document_Object_Model/Introduction", "/docs/Web/API/Document_object_model/Using_the_W3C_DOM_Level_1_Core", "/docs/Web/API/Document_Object_Model/Traversing_an_HTML_table_with_JavaScript_and_DOM_Interfaces", "/docs/Web/API/Document_object_model/Locating_DOM_elements_using_selectors", "/docs/Web/API/Document_object_model/How_to_create_a_DOM_tree", "/docs/Web/API/Document_Object_Model/Events", "/docs/Web/API/Document_Object_Model/Whitespace_in_the_DOM", "/docs/Web/API/Document_Object_Model/Examples" ], "interfaces": [ "AbortController", "AbortSignal", "AbstractRange", "Attr", "CDATASection", "CharacterData", "Comment", "CustomEvent", "Document", "DocumentFragment", "DocumentType", "DOMError", "DOMException", "DOMImplementation", "DOMParser", "DOMPoint", "DOMPointReadOnly", "DOMRect", "DOMTokenList", "Element", "Event", "EventTarget", "HTMLCollection", "MutationObserver", "MutationRecord", "NamedNodeMap", "Node", "NodeIterator", "NodeList", "ProcessingInstruction", "Range", "StaticRange", "Text", "TextDecoder", "TextEncoder", "TimeRanges", "TreeWalker", "XMLDocument" ], "methods": [], "properties": [], "events": [] }, "EditContext API": { "overview": ["EditContext API"], "interfaces": [ "EditContext", "TextFormat", "TextUpdateEvent", "TextFormatUpdateEvent", "CharacterBoundsUpdateEvent" ], "methods": [], "properties": [], "events": [] }, "Encoding API": { "overview": ["Encoding API"], "guides": ["/docs/Web/API/Encoding_API/Encodings"], "interfaces": [ "TextDecoder", "TextEncoder", "TextDecoderStream", "TextEncoderStream" ], "methods": [], "properties": [], "events": [] }, "Encrypted Media Extensions": { "overview": ["Encrypted Media Extensions API"], "interfaces": [ "MediaEncryptedEvent", "MediaKeyMessageEvent", "MediaKeys", "MediaKeySession", "MediaKeyStatusMap", "MediaKeySystemAccess" ], "methods": [ "Navigator.requestMediaKeySystemAccess()", "HTMLMediaElement.setMediaKeys()" ], "properties": ["HTMLMediaElement.mediaKeys"], "events": ["HTMLMediaElement: encrypted"] }, "EyeDropper API": { "overview": ["EyeDropper API"], "interfaces": ["EyeDropper"], "methods": [], "properties": [], "events": [] }, "FedCM API": { "overview": ["FedCM API"], "guides": [ "/docs/Web/API/FedCM_API/IDP_integration", "/docs/Web/API/FedCM_API/RP_sign-in" ], "interfaces": [ "IdentityCredential", "IdentityProvider", "NavigatorLogin" ], "methods": ["CredentialsContainer.get()"], "properties": ["Navigator.login"], "events": [] }, "Fetch API": { "overview": ["Fetch API"], "guides": [ "/docs/Web/API/Fetch_API/Using_Fetch", "/docs/Web/API/Fetch_API/Basic_concepts", "/docs/Web/API/Fetch_API/Cross-global_fetch_usage" ], "interfaces": ["Headers", "Request", "Response"], "methods": ["fetch()"], "properties": [], "events": [] }, "File API": { "overview": ["File API"], "guides": ["/docs/Web/API/File_API/Using_files_from_web_applications"], "interfaces": [ "Blob", "File", "FileList", "FileReader", "FileReaderSync" ], "methods": [], "properties": [], "events": [] }, "File and Directory Entries API": { "overview": ["File and Directory Entries API"], "guides": [ "/docs/Web/API/File_and_Directory_Entries_API/Introduction", "/docs/Web/API/File_and_Directory_Entries_API/Firefox_support" ], "interfaces": [ "FileSystemDirectoryEntry", "FileSystemDirectoryReader", "FileSystemEntry", "FileSystemFileEntry", "FileSystem" ], "methods": [], "properties": [], "events": [] }, "File System API": { "overview": ["File System API"], "guides": ["/docs/Web/API/File_System_API/Origin_private_file_system"], "interfaces": [ "FileSystemHandle", "FileSystemFileHandle", "FileSystemDirectoryHandle", "FileSystemSyncAccessHandle", "FileSystemWritableFileStream" ], "methods": [ "window.showOpenFilePicker()", "window.showSaveFilePicker()", "window.showDirectoryPicker()", "DataTransferItem.getAsFileSystemHandle()", "StorageManager.getDirectory()" ], "properties": [], "events": [] }, "Force Touch Events": { "overview": ["Force Touch Events"], "guides": [], "interfaces": [], "methods": [], "properties": [ "MouseEvent.webkitForce", "MouseEvent.WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN", "MouseEvent.WEBKIT_FORCE_AT_MOUSE_DOWN" ], "events": [ "Element: webkitmouseforcewillbegin", "Element: webkitmouseforcedown", "Element: webkitmouseforceup", "Element: webkitmouseforcechanged" ] }, "Fullscreen API": { "overview": ["Fullscreen API"], "guides": ["/docs/Web/API/Fullscreen_API/Guide"], "interfaces": [], "methods": ["Document.exitFullscreen()", "Element.requestFullscreen()"], "properties": ["Document.fullscreen", "Document.fullscreenElement"], "events": [ "Document: fullscreenchange", "Document: fullscreenerror", "Element: fullscreenchange", "Element: fullscreenerror" ] }, "Gamepad API": { "overview": ["Gamepad API"], "guides": [ "/docs/Web/API/Gamepad_API/Using_the_Gamepad_API", "/docs/Games/Techniques/Controls_Gamepad_API" ], "interfaces": ["Gamepad", "GamepadButton", "GamepadEvent"], "methods": ["Navigator.getGamepads()"], "properties": [], "events": ["Window: gamepadconnected", "Window: gamepaddisconnected"] }, "Geolocation API": { "overview": ["Geolocation API"], "guides": ["/docs/Web/API/Geolocation_API/Using_the_Geolocation_API"], "interfaces": [ "Geolocation", "GeolocationCoordinates", "GeolocationPosition", "GeolocationPositionError" ], "methods": [], "properties": ["Navigator.geolocation"], "events": [] }, "Geometry Interfaces": { "overview": ["Geometry interfaces"], "interfaces": [ "DOMMatrix", "DOMMatrixReadOnly", "DOMPoint", "DOMPointReadOnly", "DOMQuad", "DOMRect", "DOMRectReadOnly" ], "methods": [], "properties": [], "events": [] }, "History API": { "overview": ["History API"], "guides": ["/docs/Web/API/History_API/Working_with_the_History_API"], "interfaces": ["History", "PopStateEvent"], "methods": [], "properties": ["Window.history"], "events": ["Window: popstate"] }, "Houdini API": { "overview": ["Houdini APIs"], "guides": [ "/docs/Web/API/CSS_Properties_and_Values_API/guide", "/docs/Web/API/CSS_Typed_OM_API/Guide", "/docs/Web/API/CSS_Painting_API/Guide" ], "interfaces": [ "CSSImageValue", "CSSKeywordValue", "CSSMathValue", "CSSNumericValue", "CSSPositionValue", "CSSStyleValue", "CSSTransformValue", "CSSUnitValue", "CSSUnparsedValue", "PaintWorkletGlobalScope", "StylePropertyMap", "Worklet" ], "methods": ["CSS.registerProperty", "Worklet.addModule"], "properties": [], "events": [] }, "HTML DOM": { "overview": ["HTML DOM API"], "interfaces": [ "BeforeUnloadEvent", "DOMStringMap", "ErrorEvent", "HashChangeEvent", "ImageData", "HTMLAnchorElement", "HTMLAreaElement", "HTMLAudioElement", "HTMLBaseElement", "HTMLBodyElement", "HTMLBRElement", "HTMLButtonElement", "HTMLCanvasElement", "HTMLDataElement", "HTMLDataListElement", "HTMLDialogElement", "HTMLDivElement", "HTMLDListElement", "HTMLDocument", "HTMLElement", "HTMLEmbedElement", "HTMLFieldSetElement", "HTMLFormControlsCollection", "HTMLFormElement", "HTMLFrameSetElement", "HTMLHeadElement", "HTMLHeadingElement", "HTMLHRElement", "HTMLHtmlElement", "HTMLIFrameElement", "HTMLImageElement", "HTMLInputElement", "HTMLLabelElement", "HTMLLegendElement", "HTMLLIElement", "HTMLLinkElement", "HTMLMapElement", "HTMLMediaElement", "HTMLMenuElement", "HTMLMetaElement", "HTMLMeterElement", "HTMLModElement", "HTMLObjectElement", "HTMLOListElement", "HTMLOptGroupElement", "HTMLOptionElement", "HTMLOptionsCollection", "HTMLOutputElement", "HTMLParagraphElement", "HTMLPictureElement", "HTMLPreElement", "HTMLProgressElement", "HTMLQuoteElement", "HTMLScriptElement", "HTMLSelectElement", "HTMLSourceElement", "HTMLSpanElement", "HTMLStyleElement", "HTMLTableCaptionElement", "HTMLTableCellElement", "HTMLTableColElement", "HTMLTableElement", "HTMLTableRowElement", "HTMLTableSectionElement", "HTMLTextAreaElement", "HTMLTemplateElement", "HTMLTimeElement", "HTMLTitleElement", "HTMLTrackElement", "HTMLUListElement", "HTMLUnknownElement", "HTMLVideoElement", "History", "Location", "MessageChannel", "MessageEvent", "MessagePort", "Navigator", "PageTransitionEvent", "Plugin", "PluginArray", "PromiseRejectionEvent", "RadioNodeList", "UserActivation", "ValidityState", "Window", "WorkletGlobalScope" ], "methods": [], "properties": [], "events": [ "Document: DOMContentLoaded", "Document: readystatechange", "Element: afterscriptexecute", "Element: auxclick", "Element: beforescriptexecute", "Element: blur", "Element: click", "Element: contextmenu", "Element: DOMActivate", "Element: focus", "Element: select", "Element: show", "HTMLDetailsElement: toggle", "HTMLDialogElement: cancel", "HTMLDialogElement: close", "HTMLElement: input", "HTMLFormElement: reset", "HTMLFormElement: submit", "HTMLInputElement: change", "HTMLInputElement: invalid", "HTMLMediaElement: abort", "HTMLMediaElement: canplay", "HTMLMediaElement: canplaythrough", "HTMLMediaElement: durationchange", "HTMLMediaElement: emptied", "HTMLMediaElement: error", "HTMLMediaElement: loadeddata", "HTMLMediaElement: loadedmetadata", "HTMLMediaElement: loadstart", "HTMLMediaElement: play", "HTMLMediaElement: playing", "HTMLMediaElement: progress", "HTMLMediaElement: seeked", "HTMLMediaElement: seeking", "HTMLMediaElement: stalled", "HTMLMediaElement: suspend", "HTMLMediaElement: timeupdate", "HTMLMediaElement: volumechange", "HTMLMediaElement: waiting", "Window: afterprint", "Window: beforeprint", "Window: beforeunload", "Window: hashchange", "Window: languagechange", "Window: load", "Window: message", "Window: offline", "Window: online", "Window: pagehide", "Window: pageshow", "Window: rejectionhandled", "Window: storage", "Window: unload", "Window: unhandledrejection" ] }, "HTML Drag and Drop API": { "overview": ["HTML Drag and Drop API"], "guides": [ "/docs/Web/API/HTML_Drag_and_Drop_API/File_drag_and_drop", "/docs/Web/API/HTML_Drag_and_Drop_API/Drag_operations", "/docs/Web/API/HTML_Drag_and_Drop_API/Recommended_drag_types" ], "interfaces": [ "DataTransfer", "DataTransferItem", "DataTransferItemList", "DragEvent" ], "methods": [], "properties": [], "events": [ "HTMLElement: drag", "HTMLElement: dragend", "HTMLElement: dragenter", "HTMLElement: dragleave", "HTMLElement: dragover", "HTMLElement: dragstart", "HTMLElement: drop" ] }, "HTML Sanitizer API": { "overview": ["HTML Sanitizer API"], "interfaces": ["Sanitizer"], "methods": [], "properties": [], "events": [] }, "Idle Detection API": { "overview": ["Idle Detection API"], "interfaces": ["IdleDetector"], "methods": [], "properties": [], "events": [] }, "Image Capture API": { "overview": ["MediaStream Image Capture API"], "interfaces": ["ImageCapture"], "methods": [], "properties": [], "events": [] }, "IndexedDB": { "overview": ["IndexedDB API"], "guides": [ "/docs/Web/API/IndexedDB_API/Using_IndexedDB", "/docs/Web/API/IndexedDB_API/Basic_Concepts_Behind_IndexedDB", "/docs/Web/API/IndexedDB_API/Browser_storage_limits_and_eviction_criteria", "/docs/Web/API/IndexedDB_API/Checking_when_a_deadline_is_due" ], "interfaces": [ "IDBCursor", "IDBCursorWithValue", "IDBDatabase", "IDBFactory", "IDBIndex", "IDBKeyRange", "IDBObjectStore", "IDBOpenDBRequest", "IDBRequest", "IDBTransaction", "IDBVersionChangeEvent" ], "methods": [], "properties": ["indexedDB"], "events": [] }, "Ink API": { "overview": ["Ink API"], "interfaces": ["Ink", "InkPresenter"], "methods": [], "properties": ["Navigator.ink"], "events": [] }, "Input Device Capabilities API": { "overview": ["InputDeviceCapabilities API"], "guides": [], "interfaces": ["InputDeviceCapabilities"], "methods": [], "properties": ["UIEvent.sourceCapabilities"], "events": [] }, "Insertable Streams for MediaStreamTrack API": { "overview": ["Insertable Streams for MediaStreamTrack API"], "guides": [], "interfaces": ["MediaStreamTrackGenerator", "MediaStreamTrackProcessor"], "methods": [], "properties": [], "events": [] }, "Intersection Observer API": { "overview": ["Intersection Observer API"], "guides": [ "/docs/Web/API/Intersection_Observer_API/Timing_element_visibility" ], "interfaces": ["IntersectionObserver", "IntersectionObserverEntry"], "methods": [], "properties": [], "events": [] }, "Keyboard API": { "overview": ["Keyboard API"], "interfaces": ["Keyboard", "KeyboardLayoutMap"], "methods": ["Navigator.keyboard"] }, "Launch Handler API": { "overview": ["Launch Handler API"], "interfaces": ["LaunchParams", "LaunchQueue"], "methods": [], "properties": ["Window.launchQueue"], "events": [] }, "Local Font Access API": { "overview": ["Local Font Access API"], "interfaces": ["FontData"], "methods": ["Window.queryLocalFonts()"], "properties": [], "events": [] }, "Media Capabilities API": { "overview": ["Media Capabilities API"], "guides": [ "/docs/Web/API/Media_Capabilities_API/Using_the_Media_Capabilities_API" ], "interfaces": ["MediaCapabilities", "Screen"], "methods": [ "MediaCapabilities.decodingInfo()", "MediaCapabilities.encodingInfo()" ], "properties": ["Navigator.mediaCapabilities"], "events": [] }, "Media Capture and Streams": { "overview": ["Media Capture and Streams API"], "guides": [ "/docs/Web/API/Media_Capture_and_Streams_API/Constraints", "/docs/Web/API/Media_Capture_and_Streams_API/Taking_still_photos" ], "interfaces": [ "CanvasCaptureMediaStreamTrack", "InputDeviceInfo", "MediaDeviceInfo", "MediaDevices", "MediaStream", "MediaStreamTrack", "MediaStreamTrackEvent", "MediaTrackConstraints", "MediaTrackSettings", "MediaTrackSupportedConstraints", "OverconstrainedError" ], "methods": [ "HTMLCanvasElement.captureStream()", "HTMLMediaElement.captureStream()" ], "properties": ["Navigator.mediaDevices"], "events": [] }, "Media Session API": { "overview": ["Media Session API"], "guides": [], "interfaces": ["MediaMetadata", "MediaSession"], "methods": [], "properties": ["Navigator.mediaSession"], "events": [] }, "Media Source Extensions": { "overview": ["Media Source Extensions API"], "interfaces": [ "MediaSource", "MediaSourceHandle", "SourceBuffer", "SourceBufferList", "VideoPlaybackQuality" ], "methods": ["HTMLVideoElement.getVideoPlaybackQuality()"], "properties": ["VideoTrack.sourceBuffer", "TextTrack.sourceBuffer"], "events": [] }, "MediaStream Recording": { "overview": ["MediaStream Recording API"], "guides": [ "/docs/Web/API/MediaStream_Recording_API/Using_the_MediaStream_Recording_API", "/docs/Web/API/MediaStream_Recording_API/Recording_a_media_element" ], "interfaces": ["MediaRecorder", "MediaRecorderErrorEvent", "BlobEvent"], "methods": [], "properties": [], "events": [] }, "Navigation API": { "overview": ["Navigation API"], "guides": [], "interfaces": [ "NavigateEvent", "Navigation", "NavigationCurrentEntryChangeEvent", "NavigationDestination", "NavigationHistoryEntry", "NavigationTransition" ], "methods": [], "properties": ["Window.navigation"], "events": [] }, "Network Information API": { "overview": ["Network Information API"], "interfaces": ["NetworkInformation"], "methods": [], "properties": ["Navigator.connection"], "events": [] }, "Page Visibility API": { "overview": ["Page Visibility API"], "interfaces": [], "methods": [], "properties": ["Document.hidden", "Document.visibilityState"], "events": ["Document: visibilitychange"] }, "Payment Handler API": { "overview": ["Payment Handler API"], "interfaces": [ "CanMakePaymentEvent", "PaymentManager", "PaymentRequestEvent" ], "methods": [], "properties": ["ServiceWorkerRegistration.paymentManager"], "events": [ "ServiceWorkerGlobalScope: canmakepayment", "ServiceWorkerGlobalScope: paymentrequest" ] }, "Payment Request API": { "overview": ["Payment Request API"], "guides": [ "/docs/Web/API/Payment_Request_API/Using_the_Payment_Request_API", "/docs/Web/API/Payment_Request_API/Concepts", "/docs/Web/API/Payment_Request_API/Using_secure_payment_confirmation" ], "interfaces": [ "MerchantValidationEvent", "PaymentAddress", "PaymentMethodChangeEvent", "PaymentRequest", "PaymentRequestUpdateEvent", "PaymentResponse", "SecurePaymentConfirmationRequest" ], "methods": [], "properties": ["HTMLIFrameElement.allowPaymentRequest"], "events": [] }, "Performance API": { "overview": ["Performance API"], "guides": [ "/docs/Web/API/Performance_API/Performance_data", "/docs/Web/API/Performance_API/High_precision_timing", "/docs/Web/API/Performance_API/Resource_timing", "/docs/Web/API/Performance_API/Navigation_timing", "/docs/Web/API/Performance_API/User_timing", "/docs/Web/API/Performance_API/Server_timing" ], "interfaces": [ "EventCounts", "LargestContentfulPaint", "LayoutShift", "LayoutShiftAttribution", "Performance", "PerformanceEntry", "PerformanceElementTiming", "PerformanceEventTiming", "PerformanceLongTaskTiming", "PerformanceMark", "PerformanceMeasure", "PerformanceNavigation", "PerformanceNavigationTiming", "PerformanceObserver", "PerformanceObserverEntryList", "PerformancePaintTiming", "PerformanceResourceTiming", "PerformanceServerTiming", "PerformanceTiming", "TaskAttributionTiming", "VisibilityStateEntry" ], "methods": [], "properties": ["performance_property"], "events": [] }, "Periodic Background Sync": { "overview": ["Web Periodic Background Synchronization API"], "interfaces": ["PeriodicSyncEvent", "PeriodicSyncManager"], "methods": [], "properties": ["ServiceWorkerRegistration.periodicSync"], "events": ["ServiceWorkerGlobalScope: periodicsync"] }, "Permissions API": { "overview": ["Permissions API"], "guides": ["/docs/Web/API/Permissions_API/Using_the_Permissions_API"], "interfaces": ["Permissions", "PermissionStatus"], "methods": [], "properties": ["Navigator.permissions", "WorkerNavigator.permissions"], "events": [] }, "Picture-in-Picture API": { "overview": ["Picture-in-Picture API"], "guides": ["/docs/Web/API/Picture-in-Picture_API/Guide"], "interfaces": ["PictureInPictureWindow"], "methods": [ "HTMLVideoElement.requestPictureInPicture()", "Document.exitPictureInPicture()" ], "properties": [ "HTMLVideoElement.disablePictureInPicture", "Document.pictureInPictureEnabled", "Document.pictureInPictureElement" ], "events": [ "HTMLVideoElement: enterpictureinpicture", "HTMLVideoElement: leavepictureinpicture", "PictureInPictureWindow: resize" ] }, "Pointer Events": { "overview": ["Pointer events"], "guides": [ "/docs/Web/API/Pointer_events/Using_Pointer_Events", "/docs/Web/API/Pointer_events/Multi-touch_interaction", "/docs/Web/API/Pointer_events/Pinch_zoom_gestures" ], "interfaces": ["PointerEvent"], "methods": [ "Element.hasPointerCapture()", "Element.releasePointerCapture()", "Element.setPointerCapture()" ], "properties": ["Navigator.maxTouchPoints"], "events": [ "Element: gotpointercapture", "Element: lostpointercapture", "Element: pointercancel", "Element: pointerdown", "Element: pointerenter", "Element: pointerleave", "Element: pointermove", "Element: pointerout", "Element: pointerover", "Element: pointerrawupdate", "Element: pointerup" ] }, "Pointer Lock API": { "overview": ["Pointer Lock API"], "interfaces": [], "methods": ["Element.requestPointerLock()", "Document.exitPointerLock()"], "properties": [ "Document.pointerLockElement", "MouseEvent.movementX", "MouseEvent.movementY", "ShadowRoot.pointerLockElement" ], "events": ["Document: pointerlockchange", "Document: pointerlockerror"] }, "Popover API": { "overview": ["Popover API"], "guides": ["/docs/Web/API/Popover_API/Using"], "interfaces": ["ToggleEvent"], "methods": [ "HTMLElement.hidePopover()", "HTMLElement.showPopover()", "HTMLElement.togglePopover()" ], "properties": [ "HTMLButtonElement.popoverTargetAction", "HTMLButtonElement.popoverTargetElement", "HTMLElement.popover", "HTMLInputElement.popoverTargetAction", "HTMLInputElement.popoverTargetElement" ], "events": ["HTMLElement: beforetoggle", "HTMLElement: toggle"] }, "Presentation API": { "overview": ["Presentation API"], "interfaces": [ "Presentation", "PresentationAvailability", "PresentationDeviceInfoManager", "PresentationRequest", "PresentationSession", "PresentationSessionConnectEvent" ], "methods": [], "properties": [ "Navigator.presentation", "Navigator.mozPresentationDeviceInfo" ], "events": [] }, "Prioritized Task Scheduling API": { "overview": ["Prioritized Task Scheduling API"], "guides": [], "interfaces": [ "Scheduler", "Scheduling", "TaskController", "TaskSignal", "TaskPriorityChangeEvent" ], "methods": [], "properties": ["Navigator.scheduling", "scheduler_property"], "events": [] }, "Push API": { "overview": ["Push API"], "guides": ["/docs/Web/API/Push_API/Best_Practices"], "interfaces": [ "PushManager", "PushSubscription", "PushEvent", "PushMessageData" ], "methods": [], "properties": ["ServiceWorkerRegistration.pushManager"], "events": [ "ServiceWorkerGlobalScope: push", "ServiceWorkerGlobalScope: pushsubscriptionchange" ] }, "Remote Playback API": { "overview": ["Remote Playback API"], "guides": [], "interfaces": ["RemotePlayback"], "methods": [], "properties": [ "HTMLMediaElement.disableRemotePlayback", "HTMLMediaElement.remote" ], "events": [] }, "Reporting API": { "overview": ["Reporting API"], "guides": [], "interfaces": [ "CSPViolationReportBody", "DeprecationReportBody", "InterventionReportBody", "Report", "ReportBody", "ReportError", "ReportingObserver" ], "methods": [], "properties": [], "events": [] }, "Resize Observer API": { "overview": ["Resize Observer API"], "interfaces": ["ResizeObserver", "ResizeObserverEntry"], "methods": [], "properties": [], "events": [] }, "Screen Capture API": { "overview": ["Screen Capture API"], "guides": ["/docs/Web/API/Screen_Capture_API/Using_Screen_Capture"], "interfaces": ["CaptureController"], "methods": ["MediaDevices.getDisplayMedia()"], "properties": [ "MediaTrackConstraints.displaySurface", "MediaTrackConstraints.logicalSurface", "MediaTrackConstraints.suppressLocalAudioPlayback", "MediaTrackSettings.cursor", "MediaTrackSettings.displaySurface", "MediaTrackSettings.logicalSurface", "MediaTrackSettings.suppressLocalAudioPlayback", "MediaTrackSupportedConstraints.displaySurface", "MediaTrackSupportedConstraints.logicalSurface", "MediaTrackSupportedConstraints.suppressLocalAudioPlayback" ], "events": [] }, "Screen Orientation API": { "overview": ["Screen Orientation API"], "guides": ["/docs/Web/API/CSS_Object_Model/Managing_screen_orientation"], "interfaces": ["ScreenOrientation"], "methods": [], "properties": ["Screen.orientation"], "events": [] }, "Screen Wake Lock API": { "overview": ["Screen Wake Lock API"], "interfaces": ["WakeLock", "WakeLockSentinel"], "methods": [], "properties": ["Navigator.wakeLock"], "events": [] }, "Selection API": { "overview": ["Selection API"], "interfaces": ["Selection"], "properties": [], "methods": ["Document.getSelection()", "Window.getSelection()"], "events": ["Document: selectionchange", "Document: selectstart"] }, "Sensor API": { "overview": ["Sensor APIs"], "interfaces": [ "AbsoluteOrientationSensor", "Accelerometer", "AmbientLightSensor", "GravitySensor", "Gyroscope", "LinearAccelerationSensor", "Magnetometer", "OrientationSensor", "RelativeOrientationSensor", "Sensor", "SensorErrorEvent" ], "properties": [], "methods": [], "events": [] }, "Server Sent Events": { "overview": ["Server-sent events"], "guides": ["/docs/Web/API/Server-sent_events/Using_server-sent_events"], "interfaces": ["EventSource"], "methods": [], "properties": [], "events": [] }, "Service Workers API": { "overview": ["Service Worker API"], "guides": ["/docs/Web/API/Service_Worker_API/Using_Service_Workers"], "interfaces": [ "Cache", "CacheStorage", "Client", "Clients", "ExtendableEvent", "ExtendableMessageEvent", "FetchEvent", "InstallEvent", "NavigationPreloadManager", "ServiceWorker", "ServiceWorkerContainer", "ServiceWorkerGlobalScope", "ServiceWorkerRegistration", "WindowClient" ], "methods": [], "properties": [ "caches", "Navigator.serviceWorker", "WorkerNavigator.serviceWorker" ], "events": [] }, "Shared Storage API": { "overview": ["Shared Storage API"], "interfaces": [ "SharedStorage", "SharedStorageOperation", "SharedStorageRunOperation", "SharedStorageSelectURLOperation", "SharedStorageWorklet", "SharedStorageWorkletGlobalScope", "WindowSharedStorage", "WorkletSharedStorage" ], "methods": [], "properties": ["Window.sharedStorage"], "events": [] }, "Speculation Rules API": { "overview": ["Speculation Rules API"], "interfaces": [], "properties": [ "Document.prerendering", "PerformanceNavigationTiming.activationStart", "PerformanceResourceTiming.deliveryType" ], "methods": [], "events": ["Document: prerenderingchange"] }, "Storage": { "overview": ["Storage API"], "guides": [ "/docs/Web/API/Storage_API/Storage_quotas_and_eviction_criteria" ], "interfaces": ["StorageManager"], "methods": [], "properties": ["Navigator.storage", "WorkerNavigator.storage"], "events": [] }, "Storage Access API": { "overview": ["Storage Access API"], "guides": [ "/docs/Web/API/Storage_Access_API/Using", "/docs/Web/API/Storage_Access_API/Related_website_sets" ], "interfaces": [], "methods": [ "Document.hasStorageAccess()", "Document.requestStorageAccess()", "Document.requestStorageAccessFor()" ], "properties": [], "events": [] }, "Streams": { "overview": ["Streams API"], "guides": [ "/docs/Web/API/Streams_API/Concepts", "/docs/Web/API/Streams_API/Using_readable_streams", "/docs/Web/API/Streams_API/Using_readable_byte_streams", "/docs/Web/API/Streams_API/Using_writable_streams" ], "interfaces": [ "ByteLengthQueuingStrategy", "CountQueuingStrategy", "ReadableByteStreamController", "ReadableStream", "ReadableStreamBYOBReader", "ReadableStreamBYOBRequest", "ReadableStreamDefaultController", "ReadableStreamDefaultReader", "TransformStream", "TransformStreamDefaultController", "WritableStream", "WritableStreamDefaultController", "WritableStreamDefaultWriter" ], "methods": ["fetch()"], "properties": ["Response.body"], "events": [] }, "SVG": { "overview": ["SVG API"], "guides": ["/docs/Web/SVG"], "interfaces": [ "SVGAElement", "SVGAngle", "SVGAnimateColorElement", "SVGAnimatedAngle", "SVGAnimatedBoolean", "SVGAnimatedEnumeration", "SVGAnimatedInteger", "SVGAnimatedLength", "SVGAnimatedLengthList", "SVGAnimatedNumber", "SVGAnimatedNumberList", "SVGAnimatedPreserveAspectRatio", "SVGAnimatedRect", "SVGAnimatedString", "SVGAnimatedTransformList", "SVGAnimateElement", "SVGAnimateMotionElement", "SVGAnimateTransformElement", "SVGAnimationElement", "SVGCircleElement", "SVGClipPathElement", "SVGComponentTransferFunctionElement", "SVGCursorElement", "SVGDefsElement", "SVGDescElement", "SVGElement", "SVGEllipseElement", "SVGFEBlendElement", "SVGFEColorMatrixElement", "SVGFEComponentTransferElement", "SVGFECompositeElement", "SVGFEConvolveMatrixElement", "SVGFEDiffuseLightingElement", "SVGFEDisplacementMapElement", "SVGFEDistantLightElement", "SVGFEDropShadowElement", "SVGFEFloodElement", "SVGFEFuncAElement", "SVGFEFuncBElement", "SVGFEFuncGElement", "SVGFEFuncRElement", "SVGFEGaussianBlurElement", "SVGFEImageElement", "SVGFEMergeElement", "SVGFEMergeNodeElement", "SVGFEMorphologyElement", "SVGFEOffsetElement", "SVGFEPointLightElement", "SVGFESpecularLightingElement", "SVGFESpotLightElement", "SVGFETileElement", "SVGFETurbulenceElement", "SVGFilterElement", "SVGFontElement", "SVGFontFaceElement", "SVGFontFaceFormatElement", "SVGFontFaceNameElement", "SVGFontFaceSrcElement", "SVGFontFaceUriElement", "SVGForeignObjectElement", "SVGGElement", "SVGGlyphElement", "SVGGradientElement", "SVGGraphicsElement", "SVGMarkerElement", "SVGHKernElement", "SVGImageElement", "SVGLength", "SVGLengthList", "SVGLinearGradientElement", "SVGLineElement", "SVGMaskElement", "SVGMetadataElement", "SVGMissingGlyphElement", "SVGMPathElement", "SVGNumber", "SVGNumberList", "SVGPathElement", "SVGPatternElement", "SVGPoint", "SVGPointList", "SVGPolygonElement", "SVGPolylineElement", "SVGPreserveAspectRatio", "SVGRadialGradientElement", "SVGRect", "SVGRectElement", "SVGScriptElement", "SVGSetElement", "SVGStopElement", "SVGStringList", "SVGStyleElement", "SVGSVGElement", "SVGSwitchElement", "SVGSymbolElement", "SVGTextContentElement", "SVGTextElement", "SVGTextPathElement", "SVGTextPositioningElement", "SVGTitleElement", "SVGTransform", "SVGTransformList", "SVGTRefElement", "SVGTSpanElement", "SVGUnitTypes", "SVGUseElement", "SVGViewElement", "SVGVKernElement", "TimeEvent" ], "methods": [], "properties": [], "events": [ "Element: focusin", "Element: focusout", "Element: activate", "Element: click", "Element: mousedown", "Element: mouseup", "Element: mouseover", "Element: mousemove", "Element: mouseout" ] }, "Touch Events": { "overview": ["Touch events"], "guides": [ "/docs/Web/API/Touch_events/Using_Touch_Events", "/docs/Web/API/Touch_events/Multi-touch_interaction" ], "interfaces": ["Touch", "TouchEvent", "TouchList"], "methods": [], "properties": [], "events": [ "Element: touchstart", "Element: touchend", "Element: touchmove", "Element: touchcancel" ] }, "Trusted Types API": { "overview": ["Trusted Types API"], "interfaces": [ "TrustedHTML", "TrustedScript", "TrustedScriptURL", "TrustedTypePolicy", "TrustedTypePolicyFactory" ], "methods": [], "properties": [], "events": [] }, "UI Events": { "overview": ["UI Events"], "guides": [ "/docs/Web/API/UI_Events/Keyboard_event_code_values", "/docs/Web/API/UI_Events/Keyboard_event_key_values" ], "interfaces": [ "CompositionEvent", "FocusEvent", "InputEvent", "KeyboardEvent", "MouseEvent", "MouseScrollEvent", "MutationEvent", "UIEvent", "WheelEvent" ], "methods": [], "properties": [], "events": [ "Element: auxclick", "Element: beforeinput", "Element: blur", "Element: click", "Element: compositionstart", "Element: compositionupdate", "Element: compositionend", "Element: contextmenu", "Element: dblclick", "Element: focus", "Element: focusin", "Element: focusout", "Element: input", "Element: keydown", "Element: keypress", "Element: keyup", "Element: mousedown", "Element: mouseenter", "Element: mouseleave", "Element: mousemove", "Element: mouseout", "Element: mouseover", "Element: mouseup", "Element: select", "Element: wheel", "Window: abort", "Window: error", "Window: load", "Window: unload" ] }, "URL API": { "overview": ["URL API"], "interfaces": ["URL", "URLSearchParams"], "methods": [], "properties": [], "events": [] }, "URL Pattern API": { "overview": ["URL Pattern API"], "interfaces": ["URLPattern"], "methods": [], "properties": [], "events": [] }, "User-Agent Client Hints API": { "overview": ["User-Agent Client Hints API"], "interfaces": ["NavigatorUAData"], "methods": [], "properties": [ "Navigator.userAgentData", "WorkerNavigator.userAgentData" ], "events": [] }, "Vibration API": { "overview": ["Vibration API"], "interfaces": [], "methods": ["Navigator.vibrate()"], "properties": [], "events": [] }, "View Transitions API": { "overview": ["View Transitions API"], "interfaces": ["ViewTransition"], "methods": ["Document.startViewTransition()"], "properties": [], "events": [] }, "VirtualKeyboard API": { "overview": ["VirtualKeyboard API"], "interfaces": ["VirtualKeyboard"], "methods": [], "properties": [ "HTMLElement.virtualkeyboardpolicy", "Navigator.virtualKeyboard" ], "events": [] }, "Visual Viewport": { "overview": ["Visual Viewport API"], "interfaces": ["VisualViewport"], "methods": [], "properties": ["Window.visualViewport"], "events": [] }, "Web Animations": { "overview": ["Web Animations API"], "guides": [ "/docs/Web/API/Web_Animations_API/Using_the_Web_Animations_API", "/docs/Web/API/Web_Animations_API/Web_Animations_API_Concepts", "/docs/Web/API/Web_Animations_API/Keyframe_Formats" ], "interfaces": [ "Animation", "AnimationEffect", "AnimationEvent", "AnimationTimeline", "AnimationPlaybackEvent", "DocumentTimeline", "KeyframeEffect", "ScrollTimeline", "ViewTimeline" ], "methods": [ "Document.getAnimations()", "Element.animate()", "Element.getAnimations()" ], "properties": ["Document.timeline"], "events": [] }, "Web Audio API": { "overview": ["Web Audio API"], "guides": [ "/docs/Web/API/Web_Audio_API/Using_Web_Audio_API", "/docs/Web/API/Web_Audio_API/Basic_concepts_behind_Web_Audio_API", "/docs/Web/API/Web_Audio_API/Best_practices", "/docs/Web/API/Web_Audio_API/Advanced_techniques", "/docs/Web/API/Web_Audio_API/Using_AudioWorklet", "/docs/Web/API/Web_Audio_API/Controlling_multiple_parameters_with_ConstantSourceNode", "/docs/Web/API/Web_Audio_API/Simple_synth", "/docs/Web/API/Web_Audio_API/Tools", "/docs/Web/API/Web_Audio_API/Using_IIR_filters", "/docs/Web/API/Web_Audio_API/Visualizations_with_Web_Audio_API", "/docs/Web/API/Web_Audio_API/Web_audio_spatialization_basics" ], "interfaces": [ "AnalyserNode", "AudioBuffer", "AudioBufferSourceNode", "AudioContext", "AudioDestinationNode", "AudioListener", "AudioNode", "AudioParam", "AudioProcessingEvent", "AudioScheduledSourceNode", "AudioSinkInfo", "AudioWorklet", "AudioWorkletGlobalScope", "AudioWorkletNode", "AudioWorkletProcessor", "BaseAudioContext", "BiquadFilterNode", "ChannelMergerNode", "ChannelSplitterNode", "ConstantSourceNode", "ConvolverNode", "DelayNode", "DynamicsCompressorNode", "GainNode", "IIRFilterNode", "MediaElementAudioSourceNode", "MediaStreamAudioDestinationNode", "MediaStreamAudioSourceNode", "OfflineAudioCompletionEvent", "OfflineAudioContext", "OscillatorNode", "PannerNode", "PeriodicWave", "WaveShaperNode", "StereoPannerNode" ], "methods": [], "properties": [], "events": [] }, "Web Authentication API": { "overview": ["Web Authentication API"], "guides": [ "/docs/Web/API/Web_Authentication_API/Attestation_and_Assertion", "/docs/Web/API/Web_Authentication_API/Authenticator_data", "/docs/Web/API/Web_Authentication_API/WebAuthn_extensions" ], "interfaces": [ "PublicKeyCredential", "AuthenticatorResponse", "AuthenticatorAttestationResponse", "AuthenticatorAssertionResponse" ], "methods": [ "CredentialsContainer.create()", "CredentialsContainer.get()" ], "properties": [], "events": [] }, "Web Components": { "overview": ["Web components"], "guides": [ "/docs/Web/Web_Components/Using_custom_elements", "/docs/Web/Web_Components/Using_shadow_DOM", "/docs/Web/Web_Components/Using_templates_and_slots" ], "interfaces": [ "CustomElementRegistry", "CustomStateSet", "ElementInternals", "HTMLSlotElement", "HTMLTemplateElement", "ShadowRoot" ], "methods": [ "Document.createElement()", "Element.attachShadow()", "HTMLElement.attachInternals()", "Node.getRootNode()" ], "properties": [ "Element.shadowRoot", "Element.slot", "Event.composed", "Event.composedPath", "Node.isConnected", "Window.customElements" ], "events": [] }, "WebCodecs API": { "overview": ["WebCodecs API"], "interfaces": [ "AudioData", "AudioDecoder", "AudioEncoder", "EncodedAudioChunk", "EncodedVideoChunk", "ImageDecoder", "ImageTrack", "ImageTrackList", "VideoDecoder", "VideoEncoder", "VideoColorSpace", "VideoFrame" ], "methods": [], "properties": [], "events": [] }, "Web Crypto API": { "overview": ["Web Crypto API"], "guides": [ "/docs/Web/API/Web_Crypto_API/Non-cryptographic_uses_of_subtle_crypto" ], "interfaces": [ "Crypto", "CryptoKey", "SubtleCrypto", "AesCbcParams", "AesCtrParams", "AesGcmParams", "AesKeyGenParams", "CryptoKeyPair", "EcKeyGenParams", "EcKeyImportParams", "EcdhKeyDeriveParams", "EcdsaParams", "HkdfParams", "HmacImportParams", "HmacKeyGenParams", "Pbkdf2Params", "RsaHashedImportParams", "RsaHashedKeyGenParams", "RsaOaepParams", "RsaPssParams" ], "methods": [], "properties": ["crypto_property"], "events": [] }, "WebGL": { "overview": ["WebGL API"], "guides": [ "/docs/Web/API/WebGL_API/Constants", "/docs/Web/API/WebGL_API/Types", "/docs/Web/API/WebGL_API/WebGL_model_view_projection", "/docs/Web/API/WebGL_API/WebGL_best_practices", "/docs/Web/API/WebGL_API/By_example", "/docs/Web/API/WebGL_API/Basic_2D_animation_example", "/docs/Web/API/WebGL_API/Compressed_texture_formats", "/docs/Web/API/WebGL_API/Data", "/docs/Web/API/WebGL_API/Matrix_math_for_the_web", "/docs/Web/API/WebGL_API/Using_Extensions" ], "tutorial": [ "/docs/Web/API/WebGL_API/Tutorial", "/docs/Web/API/WebGL_API/Tutorial/Getting_started_with_WebGL", "/docs/Web/API/WebGL_API/Tutorial/Adding_2D_content_to_a_WebGL_context", "/docs/Web/API/WebGL_API/Tutorial/Using_shaders_to_apply_color_in_WebGL", "/docs/Web/API/WebGL_API/Tutorial/Animating_objects_with_WebGL", "/docs/Web/API/WebGL_API/Tutorial/Creating_3D_objects_using_WebGL", "/docs/Web/API/WebGL_API/Tutorial/Using_textures_in_WebGL", "/docs/Web/API/WebGL_API/Tutorial/Lighting_in_WebGL", "/docs/Web/API/WebGL_API/Tutorial/Animating_textures_in_WebGL" ], "interfaces": [ "WebGLRenderingContext", "WebGLBuffer", "WebGLFramebuffer", "WebGLRenderbuffer", "WebGLObject", "WebGLProgram", "WebGLShader", "WebGLTexture", "WebGLUniformLocation", "WebGLActiveInfo", "WebGLShaderPrecisionFormat", "WebGLContextEvent", "WebGLQuery", "WebGLSampler", "WebGLSync", "WebGLTransformFeedback", "WebGLVertexArrayObject", "WebGL2RenderingContext", "WEBGL_compressed_texture_s3tc", "WEBGL_compressed_texture_s3tc_srgb", "WEBGL_compressed_texture_etc1", "WEBGL_compressed_texture_pvrtc", "WEBGL_debug_renderer_info", "WEBGL_debug_shaders", "WEBGL_depth_texture", "OES_element_index_uint", "EXT_frag_depth", "WEBGL_lose_context", "EXT_texture_filter_anisotropic", "EXT_sRGB", "OES_standard_derivatives", "OES_texture_float", "WEBGL_draw_buffers", "OES_texture_float_linear", "EXT_shader_texture_lod", "OES_texture_half_float", "OES_texture_half_float_linear", "WEBGL_color_buffer_float", "EXT_color_buffer_half_float", "OES_vertex_array_object", "ANGLE_instanced_arrays", "EXT_blend_minmax", "EXT_disjoint_timer_query", "OES_draw_buffers_indexed" ], "methods": [], "properties": [], "events": [ "HTMLCanvasElement: webglcontextlost", "HTMLCanvasElement: webglcontextrestored", "HTMLCanvasElement: webglcontextcreationerror" ] }, "WebGPU API": { "overview": ["WebGPU API"], "interfaces": [ "GPU", "GPUAdapter", "GPUAdapterInfo", "GPUBindGroup", "GPUBindGroupLayout", "GPUBuffer", "GPUCanvasContext", "GPUCommandBuffer", "GPUCommandEncoder", "GPUCompilationInfo", "GPUCompilationMessage", "GPUComputePassEncoder", "GPUComputePipeline", "GPUDevice", "GPUDeviceLostInfo", "GPUError", "GPUExternalTexture", "GPUInternalError", "GPUOutOfMemoryError", "GPUPipelineError", "GPUPipelineLayout", "GPUQuerySet", "GPUQueue", "GPURenderBundle", "GPURenderBundleEncoder", "GPURenderPassEncoder", "GPURenderPipeline", "GPUSampler", "GPUShaderModule", "GPUSupportedFeatures", "GPUSupportedLimits", "GPUTexture", "GPUTextureView", "GPUUncapturedErrorEvent", "GPUValidationError" ], "methods": ["HTMLCanvasElement.getContext()"], "properties": ["Navigator.gpu", "WorkerNavigator.gpu"], "events": ["GPUDevice: uncapturederror"] }, "WebHID API": { "overview": ["WebHID API"], "interfaces": [ "HID", "HIDDevice", "HIDInputReportEvent", "HIDConnectionEvent" ], "methods": [], "properties": ["Navigator.hid"], "events": [] }, "Web Locks API": { "overview": ["Web Locks API"], "interfaces": ["Lock", "LockManager"], "methods": [], "properties": ["Navigator.locks", "WorkerNavigator.locks"], "events": [] }, "Web MIDI API": { "overview": ["Web MIDI API"], "interfaces": [ "MIDIInputMap", "MIDIOutputMap", "MIDIAccess", "MIDIPort", "MIDIInput", "MIDIOutput", "MIDIMessageEvent", "MIDIConnectionEvent" ], "methods": ["Navigator.requestMIDIAccess()"], "properties": [], "events": [] }, "Web NFC API": { "overview": ["Web NFC API"], "interfaces": ["NDEFMessage", "NDEFReader", "NDEFRecord"], "methods": [], "properties": [], "events": [] }, "Web Notifications": { "overview": ["Notifications API"], "guides": ["/docs/Web/API/Notifications_API/Using_the_Notifications_API"], "interfaces": ["Notification", "NotificationEvent"], "methods": [ "ServiceWorkerRegistration.showNotification()", "ServiceWorkerRegistration.getNotifications()" ], "properties": [], "events": [ "ServiceWorkerGlobalScope: notificationclick", "ServiceWorkerGlobalScope: notificationclose" ] }, "WebRTC": { "overview": ["WebRTC API"], "guides": [ "/docs/Web/API/WebRTC_API/Protocols", "/docs/Web/API/WebRTC_API/Connectivity", "/docs/Web/API/WebRTC_API/Perfect_negotiation", "/docs/Web/API/WebRTC_API/Session_lifetime", "/docs/Web/API/WebRTC_API/Signaling_and_video_calling", "/docs/Web/API/WebRTC_API/Using_data_channels", "/docs/Web/API/WebRTC_API/Using_DTMF", "/docs/Web/API/WebRTC_API/Using_Encoded_Transforms", "/docs/Web/API/WebRTC_API/adapter.js", "/docs/Web/API/WebRTC_API/Simple_RTCDataChannel_sample", "/docs/Web/API/WebRTC_API/Build_a_phone_with_peerjs" ], "interfaces": [ "RTCPeerConnection", "RTCSessionDescription", "RTCIceCandidate", "RTCPeerConnectionIceEvent", "RTCPeerConnectionIceErrorEvent", "RTCCertificate", "RTCRtpSender", "RTCRtpReceiver", "RTCRtpTransceiver", "RTCDtlsTransport", "RTCIceTransport", "RTCTrackEvent", "RTCSctpTransport", "RTCDataChannel", "RTCDataChannelEvent", "RTCDTMFSender", "RTCDTMFToneChangeEvent", "RTCStatsReport", "RTCErrorEvent", "RTCRtpScriptTransform", "RTCRtpScriptTransformer", "RTCEncodedVideoFrame", "RTCEncodedAudioFrame", "RTCTransformEvent", "RTCRtpCodecParameters", "RTCIceParameters", "RTCIceCandidatePair", "RTCIceCandidatePairStats", "RTCInboundRtpStreamStats", "RTCIceCandidateStats", "RTCAudioSourceStats", "RTCOutboundRtpStreamStats", "RTCPeerConnectionStats", "RTCRemoteOutboundRtpStreamStats" ], "methods": ["MediaDevices.getUserMedia()"], "properties": [ "Navigator.mediaDevices", "RTCRtpReceiver.transform", "RTCRtpSender.transform" ], "events": [ "RTCDataChannel: bufferedamountlow", "RTCDataChannel: close", "RTCDataChannel: closing", "RTCPeerConnection: connectionstatechange", "RTCPeerConnection: datachannel", "RTCDataChannel: error", "RTCIceTransport: error", "RTCDtlsTransport: error", "RTCSctpTransport: error", "RTCIceTransport: gatheringstatechange", "RTCPeerConnection: icecandidate", "RTCPeerConnection: icecandidateerror", "RTCPeerConnection: iceconnectionstatechange", "RTCPeerConnection: icegatheringstatechange", "RTCDataChannel: message", "RTCPeerConnection: negotiationneeded", "RTCDataChannel: open", "RTCIceTransport: selectedcandidatepairchange", "RTCPeerConnection: signalingstatechange", "RTCIceTransport: statechange", "RTCDtlsTransport: statechange", "RTCDTMFSender: tonechange", "RTCPeerConnection: track", "DedicatedWorkerGlobalScope: rtctransform" ] }, "Web Serial API": { "overview": ["Web Serial API"], "guides": [], "interfaces": ["Serial", "SerialPort"], "methods": [], "properties": ["Navigator.serial", "WorkerNavigator.serial"], "events": [] }, "Web Share API": { "overview": ["Web Share API"], "guides": [], "interfaces": [], "methods": ["Navigator.canShare()", "Navigator.share()"], "properties": [], "events": [] }, "WebSockets API": { "overview": ["WebSockets API"], "guides": [ "/docs/Web/API/WebSockets_API/Writing_WebSocket_client_applications", "/docs/Web/API/WebSockets_API/Writing_WebSocket_servers", "/docs/Web/API/WebSockets_API/Writing_WebSocket_server", "/docs/Web/API/WebSockets_API/Writing_a_WebSocket_server_in_Java", "/docs/Web/API/WebSockets_API/Writing_a_WebSocket_server_in_JavaScript_Deno" ], "interfaces": ["WebSocket", "CloseEvent", "MessageEvent"], "methods": [], "properties": [], "events": [] }, "Web Speech API": { "overview": ["Web Speech API"], "guides": ["/docs/Web/API/Web_Speech_API/Using_the_Web_Speech_API"], "interfaces": [ "SpeechGrammar", "SpeechGrammarList", "SpeechRecognition", "SpeechRecognitionAlternative", "SpeechRecognitionErrorEvent", "SpeechRecognitionEvent", "SpeechRecognitionResult", "SpeechRecognitionResultList", "SpeechSynthesis", "SpeechSynthesisErrorEvent", "SpeechSynthesisEvent", "SpeechSynthesisUtterance", "SpeechSynthesisVoice" ], "methods": [], "properties": [], "events": [] }, "Web Storage API": { "overview": ["Web Storage API"], "guides": ["/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API"], "interfaces": ["Storage", "StorageEvent"], "methods": [], "properties": ["Window.sessionStorage", "Window.localStorage"], "events": ["Window: storage"] }, "WebTransport API": { "overview": ["WebTransport API"], "guides": [], "interfaces": [ "WebTransport", "WebTransportBidirectionalStream", "WebTransportDatagramDuplexStream", "WebTransportReceiveStream", "WebTransportSendStream", "WebTransportError" ], "methods": [], "properties": [], "events": [] }, "Web Workers API": { "overview": ["Web Workers API"], "guides": [ "/docs/Web/API/Web_Workers_API/Using_web_workers", "/docs/Web/API/Web_Workers_API/Functions_and_classes_available_to_workers", "/docs/Web/API/Web_Workers_API/Structured_clone_algorithm", "/docs/Web/API/Web_Workers_API/Transferable_objects" ], "interfaces": [ "DedicatedWorkerGlobalScope", "SharedWorker", "SharedWorkerGlobalScope", "Worker", "WorkerGlobalScope", "WorkerLocation", "WorkerNavigator" ], "methods": [], "properties": [], "events": [] }, "WebOTP API": { "overview": ["WebOTP API"], "interfaces": ["OTPCredential"], "methods": ["CredentialsContainer.get()"], "properties": [], "events": [] }, "WebUSB API": { "overview": ["WebUSB API"], "interfaces": [ "USB", "USBAlternateInterface", "USBConfiguration", "USBConnectionEvent", "USBDevice", "USBEndPoint", "USBInterface", "USBInTransferResult", "USBIsochronousInTransferPacket", "USBIsochronousInTransferResult", "USBIsochronousOutTransferPacket", "USBIsochronousOutTransferResult", "USBOutTransferResult" ], "methods": [], "properties": ["Navigator.usb", "WorkerNavigator.usb"], "events": [] }, "WebVR API": { "overview": ["WebVR API"], "guides": [ "/docs/Web/API/WebVR_API/Using_the_WebVR_API", "/docs/Web/API/WebVR_API/Concepts", "/docs/Web/API/WebVR_API/Using_VR_controllers_with_WebVR" ], "interfaces": [ "VRDisplay", "VRDisplayCapabilities", "VRDisplayEvent", "VRFrameData", "VRPose", "VREyeParameters", "VRFieldOfView", "VRLayerInit", "VRStageParameters" ], "methods": ["Navigator.getVRDisplays()"], "properties": ["Gamepad.displayId", "Navigator.activeVRDisplays"], "events": [ "Window: vrdisplayconnected", "Window: vrdisplaydisconnected", "Window: vrdisplayactivate", "Window: vrdisplaydeactivate", "Window: vrdisplayblur", "Window: vrdisplayfocus", "Window: vrdisplaypresentchange" ] }, "WebVTT": { "overview": ["WebVTT API"], "guides": ["/docs/Web/API/Web_Video_Text_Tracks_Format"], "interfaces": [ "VTTCue", "VTTRegion", "TextTrack", "TextTrackCue", "TextTrackCueList", "TextTrackList", "TrackEvent" ], "methods": [], "properties": [], "events": [] }, "WebXR Device API": { "overview": ["WebXR Device API"], "guides": [ "/docs/Web/API/WebXR_Device_API/Fundamentals", "/docs/Web/API/WebXR_Device_API/Lifecycle", "/docs/Web/API/WebXR_Device_API/Startup_and_shutdown", "/docs/Web/API/WebXR_Device_API/Cameras", "/docs/Web/API/WebXR_Device_API/Geometry", "/docs/Web/API/WebXR_Device_API/Spatial_tracking" ], "interfaces": [ "XRAnchor", "XRBoundedReferenceSpace", "XRCPUDepthInformation", "XRDepthInformation", "XRFrame", "XRInputSource", "XRInputSourceArray", "XRInputSourceEvent", "XRInputSourcesChangeEvent", "XRPose", "XRReferenceSpace", "XRReferenceSpaceEvent", "XRRenderState", "XRRigidTransform", "XRSession", "XRSessionEvent", "XRSpace", "XRSystem", "XRView", "XRViewerPose", "XRViewport", "XRWebGLBinding", "XRWebGLDepthInformation", "XRWebGLLayer" ], "methods": ["WebGLRenderingContext.makeXRCompatible()"], "properties": ["Navigator.xr"], "events": [ "XRSystem: devicechange", "XRSession: end", "XRSession: inputsourceschange", "XRReferenceSpace: reset", "XRSession: select", "XRSession: selectend", "XRSession: selectstart", "XRSession: visibilitychange" ] }, "Window Controls Overlay API": { "overview": ["Window Controls Overlay API"], "interfaces": [ "WindowControlsOverlay", "WindowControlsOverlayGeometryChangeEvent" ], "methods": [], "properties": ["Navigator.windowControlsOverlay"], "events": [] }, "Window Management API": { "overview": ["Window Management API"], "guides": [ "/docs/Web/API/Window_Management_API/Using", "/docs/Web/API/Window_Management_API/Multi-screen_origin" ], "interfaces": ["ScreenDetails", "ScreenDetailed"], "methods": ["Element.requestFullscreen()", "Window.getScreenDetails()"], "properties": ["Screen.isExtended"], "events": ["Screen: change"] }, "XMLHttpRequest API": { "overview": ["XMLHttpRequest API"], "guides": [ "/docs/Web/API/XMLHttpRequest_API/Using_XMLHttpRequest", "/docs/Web/API/XMLHttpRequest_API/HTML_in_XMLHttpRequest", "/docs/Web/API/XMLHttpRequest_API/Synchronous_and_Asynchronous_Requests", "/docs/Web/API/XMLHttpRequest_API/Sending_and_Receiving_Binary_Data", "/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects" ], "interfaces": [ "FormData", "ProgressEvent", "XMLHttpRequest", "XMLHttpRequestEventTarget", "XMLHttpRequestUpload" ], "methods": [], "properties": [], "events": [] }, "XSLT": { "interfaces": ["XSLTProcessor"] } } ]
0
data/mdn-content/files
data/mdn-content/files/jsondata/L10n-JavaScript.json
{ "stdlib": { "en-US": "Standard built-in objects", "es": "Objetos globales", "fr": "Objets standards", "ja": "標準組み込みオブジェクト", "ko": "표준 내장 객체", "pt-BR": "Objetos Globais", "ru": "Стандартные встроенные объекты", "zh-CN": "标准内置对象", "zh-TW": "標準內建物件" } }
0
data/mdn-content/files
data/mdn-content/files/jsondata/InterfaceData.json
[ { "AbortController": { "inh": "", "impl": [] }, "AbortSignal": { "inh": "EventTarget", "impl": [] }, "AbsoluteOrientationSensor": { "inh": "OrientationSensor", "impl": [] }, "AbstractRange": { "inh": "", "impl": [] }, "Accelerometer": { "inh": "Sensor", "impl": [] }, "AmbientLightSensor": { "inh": "Sensor", "impl": [] }, "AnalyserNode": { "inh": "AudioNode", "impl": [] }, "ANGLE_instanced_arrays": { "inh": "", "impl": [] }, "Animation": { "inh": "EventTarget", "impl": [] }, "AnimationEffect": { "inh": "", "impl": [] }, "AnimationEvent": { "inh": "Event", "impl": [] }, "AnimationNodeList": { "inh": "", "impl": [] }, "AnimationPlaybackEvent": { "inh": "Event", "impl": [] }, "AnimationTimeline": { "inh": "", "impl": [] }, "AnimationWorkletGlobalScope": { "inh": "WorkletGlobalScope", "impl": [] }, "Attr": { "inh": "Node", "impl": [] }, "AudioBuffer": { "inh": "", "impl": [] }, "AudioBufferSourceNode": { "inh": "AudioScheduledSourceNode", "impl": [] }, "AudioContext": { "inh": "BaseAudioContext", "impl": [] }, "AudioData": { "inh": "", "impl": [] }, "AudioDecoder": { "inh": "EventTarget", "impl": [] }, "AudioDestinationNode": { "inh": "AudioNode", "impl": [] }, "AudioEncoder": { "inh": "EventTarget", "impl": [] }, "AudioListener": { "inh": "", "impl": [] }, "AudioNode": { "inh": "EventTarget", "impl": [] }, "AudioParam": { "inh": "", "impl": [] }, "AudioParamMap": { "inh": "", "impl": [] }, "AudioProcessingEvent": { "inh": "Event", "impl": [] }, "AudioRenderCapacity": { "inh": "EventTarget", "impl": [] }, "AudioRenderCapacityEvent": { "inh": "Event", "impl": [] }, "AudioScheduledSourceNode": { "inh": "AudioNode", "impl": [] }, "AudioSession": { "inh": "EventTarget", "impl": [] }, "AudioSinkInfo": { "inh": "", "impl": [] }, "AudioTrack": { "inh": "", "impl": [] }, "AudioTrackList": { "inh": "EventTarget", "impl": [] }, "AudioWorklet": { "inh": "Worklet", "impl": [] }, "AudioWorkletGlobalScope": { "inh": "WorkletGlobalScope", "impl": [] }, "AudioWorkletNode": { "inh": "AudioNode", "impl": [] }, "AudioWorkletProcessor": { "inh": "", "impl": [] }, "AuthenticatorAssertionResponse": { "inh": "AuthenticatorResponse", "impl": [] }, "AuthenticatorAttestationResponse": { "inh": "AuthenticatorResponse", "impl": [] }, "AuthenticatorResponse": { "inh": "", "impl": [] }, "BackgroundFetchEvent": { "inh": "ExtendableEvent", "impl": [] }, "BackgroundFetchManager": { "inh": "", "impl": [] }, "BackgroundFetchRecord": { "inh": "", "impl": [] }, "BackgroundFetchRegistration": { "inh": "EventTarget", "impl": [] }, "BackgroundFetchUpdateUIEvent": { "inh": "BackgroundFetchEvent", "impl": [] }, "BarcodeDetector": { "inh": "", "impl": [] }, "BarProp": { "inh": "", "impl": [] }, "BaseAudioContext": { "inh": "EventTarget", "impl": [] }, "Baseline": { "inh": "", "impl": [] }, "BatteryManager": { "inh": "EventTarget", "impl": [] }, "BeforeInstallPromptEvent": { "inh": "Event", "impl": [] }, "BeforeUnloadEvent": { "inh": "Event", "impl": [] }, "BiquadFilterNode": { "inh": "AudioNode", "impl": [] }, "Blob": { "inh": "", "impl": [] }, "BlobEvent": { "inh": "Event", "impl": [] }, "Bluetooth": { "inh": "EventTarget", "impl": [] }, "BluetoothAdvertisingEvent": { "inh": "Event", "impl": [] }, "BluetoothCharacteristicProperties": { "inh": "", "impl": [] }, "BluetoothDataFilter": { "inh": "", "impl": [] }, "BluetoothDevice": { "inh": "EventTarget", "impl": [] }, "BluetoothLEScan": { "inh": "", "impl": [] }, "BluetoothLEScanFilter": { "inh": "", "impl": [] }, "BluetoothLEScanPermissionResult": { "inh": "PermissionStatus", "impl": [] }, "BluetoothManufacturerDataFilter": { "inh": "", "impl": [] }, "BluetoothManufacturerDataMap": { "inh": "", "impl": [] }, "BluetoothPermissionResult": { "inh": "PermissionStatus", "impl": [] }, "BluetoothRemoteGATTCharacteristic": { "inh": "EventTarget", "impl": [] }, "BluetoothRemoteGATTDescriptor": { "inh": "", "impl": [] }, "BluetoothRemoteGATTServer": { "inh": "", "impl": [] }, "BluetoothRemoteGATTService": { "inh": "EventTarget", "impl": [] }, "BluetoothServiceDataFilter": { "inh": "", "impl": [] }, "BluetoothServiceDataMap": { "inh": "", "impl": [] }, "BluetoothUUID": { "inh": "", "impl": [] }, "BreakToken": { "inh": "", "impl": [] }, "BroadcastChannel": { "inh": "EventTarget", "impl": [] }, "BrowserCaptureMediaStreamTrack": { "inh": "MediaStreamTrack", "impl": [] }, "BufferedChangeEvent": { "inh": "Event", "impl": [] }, "ByteLengthQueuingStrategy": { "inh": "", "impl": [] }, "Cache": { "inh": "", "impl": [] }, "CacheStorage": { "inh": "", "impl": [] }, "CanMakePaymentEvent": { "inh": "ExtendableEvent", "impl": [] }, "CanvasCaptureMediaStreamTrack": { "inh": "MediaStreamTrack", "impl": [] }, "CanvasGradient": { "inh": "", "impl": [] }, "CanvasPattern": { "inh": "", "impl": [] }, "CanvasRenderingContext2D": { "inh": "", "impl": [] }, "CaptureActionEvent": { "inh": "Event", "impl": [] }, "CaptureController": { "inh": "EventTarget", "impl": [] }, "CapturedMouseEvent": { "inh": "Event", "impl": [] }, "CaretPosition": { "inh": "", "impl": [] }, "CDATASection": { "inh": "Text", "impl": [] }, "ChannelMergerNode": { "inh": "AudioNode", "impl": [] }, "ChannelSplitterNode": { "inh": "AudioNode", "impl": [] }, "CharacterBoundsUpdateEvent": { "inh": "Event", "impl": [] }, "CharacterData": { "inh": "Node", "impl": [] }, "ChildBreakToken": { "inh": "", "impl": [] }, "Client": { "inh": "", "impl": [] }, "Clients": { "inh": "", "impl": [] }, "Clipboard": { "inh": "EventTarget", "impl": [] }, "ClipboardEvent": { "inh": "Event", "impl": [] }, "ClipboardItem": { "inh": "", "impl": [] }, "CloseEvent": { "inh": "Event", "impl": [] }, "CloseWatcher": { "inh": "EventTarget", "impl": [] }, "Comment": { "inh": "CharacterData", "impl": [] }, "CompositionEvent": { "inh": "UIEvent", "impl": [] }, "CompressionStream": { "inh": "", "impl": [] }, "ConstantSourceNode": { "inh": "AudioScheduledSourceNode", "impl": [] }, "ContactAddress": { "inh": "", "impl": [] }, "ContactsManager": { "inh": "", "impl": [] }, "ContentIndex": { "inh": "", "impl": [] }, "ContentIndexEvent": { "inh": "ExtendableEvent", "impl": [] }, "ContentVisibilityAutoStateChangeEvent": { "inh": "Event", "impl": [] }, "ConvolverNode": { "inh": "AudioNode", "impl": [] }, "CookieChangeEvent": { "inh": "Event", "impl": [] }, "CookieStore": { "inh": "EventTarget", "impl": [] }, "CookieStoreManager": { "inh": "", "impl": [] }, "CountQueuingStrategy": { "inh": "", "impl": [] }, "CrashReportBody": { "inh": "ReportBody", "impl": [] }, "Credential": { "inh": "", "impl": [] }, "CredentialsContainer": { "inh": "", "impl": [] }, "CropTarget": { "inh": "", "impl": [] }, "Crypto": { "inh": "", "impl": [] }, "CryptoKey": { "inh": "", "impl": [] }, "CSPViolationReportBody": { "inh": "ReportBody", "impl": [] }, "CSSAnimation": { "inh": "Animation", "impl": [] }, "CSSColor": { "inh": "CSSColorValue", "impl": [] }, "CSSColorProfileRule": { "inh": "CSSRule", "impl": [] }, "CSSColorValue": { "inh": "CSSStyleValue", "impl": [] }, "CSSConditionRule": { "inh": "CSSGroupingRule", "impl": [] }, "CSSContainerRule": { "inh": "CSSConditionRule", "impl": [] }, "CSSCounterStyleRule": { "inh": "CSSRule", "impl": [] }, "CSSFontFaceRule": { "inh": "CSSRule", "impl": [] }, "CSSFontFeatureValuesMap": { "inh": "", "impl": [] }, "CSSFontFeatureValuesRule": { "inh": "CSSRule", "impl": [] }, "CSSFontPaletteValuesRule": { "inh": "CSSRule", "impl": [] }, "CSSGroupingRule": { "inh": "CSSRule", "impl": [] }, "CSSHSL": { "inh": "CSSColorValue", "impl": [] }, "CSSHWB": { "inh": "CSSColorValue", "impl": [] }, "CSSImageValue": { "inh": "CSSStyleValue", "impl": [] }, "CSSImportRule": { "inh": "CSSRule", "impl": [] }, "CSSKeyframeRule": { "inh": "CSSRule", "impl": [] }, "CSSKeyframesRule": { "inh": "CSSRule", "impl": [] }, "CSSKeywordValue": { "inh": "CSSStyleValue", "impl": [] }, "CSSLab": { "inh": "CSSColorValue", "impl": [] }, "CSSLayerBlockRule": { "inh": "CSSGroupingRule", "impl": [] }, "CSSLayerStatementRule": { "inh": "CSSRule", "impl": [] }, "CSSLCH": { "inh": "CSSColorValue", "impl": [] }, "CSSMarginRule": { "inh": "CSSRule", "impl": [] }, "CSSMathClamp": { "inh": "CSSMathValue", "impl": [] }, "CSSMathInvert": { "inh": "CSSMathValue", "impl": [] }, "CSSMathMax": { "inh": "CSSMathValue", "impl": [] }, "CSSMathMin": { "inh": "CSSMathValue", "impl": [] }, "CSSMathNegate": { "inh": "CSSMathValue", "impl": [] }, "CSSMathProduct": { "inh": "CSSMathValue", "impl": [] }, "CSSMathSum": { "inh": "CSSMathValue", "impl": [] }, "CSSMathValue": { "inh": "CSSNumericValue", "impl": [] }, "CSSMatrixComponent": { "inh": "CSSTransformComponent", "impl": [] }, "CSSMediaRule": { "inh": "CSSConditionRule", "impl": [] }, "CSSNamespaceRule": { "inh": "CSSRule", "impl": [] }, "CSSNumericArray": { "inh": "", "impl": [] }, "CSSNumericValue": { "inh": "CSSStyleValue", "impl": [] }, "CSSOKLab": { "inh": "CSSColorValue", "impl": [] }, "CSSOKLCH": { "inh": "CSSColorValue", "impl": [] }, "CSSPageRule": { "inh": "CSSGroupingRule", "impl": [] }, "CSSParserAtRule": { "inh": "CSSParserRule", "impl": [] }, "CSSParserBlock": { "inh": "CSSParserValue", "impl": [] }, "CSSParserDeclaration": { "inh": "CSSParserRule", "impl": [] }, "CSSParserFunction": { "inh": "CSSParserValue", "impl": [] }, "CSSParserQualifiedRule": { "inh": "CSSParserRule", "impl": [] }, "CSSParserRule": { "inh": "", "impl": [] }, "CSSParserValue": { "inh": "", "impl": [] }, "CSSPerspective": { "inh": "CSSTransformComponent", "impl": [] }, "CSSPositionFallbackRule": { "inh": "CSSGroupingRule", "impl": [] }, "CSSPropertyRule": { "inh": "CSSRule", "impl": [] }, "CSSPseudoElement": { "inh": "EventTarget", "impl": [] }, "CSSRGB": { "inh": "CSSColorValue", "impl": [] }, "CSSRotate": { "inh": "CSSTransformComponent", "impl": [] }, "CSSRule": { "inh": "", "impl": [] }, "CSSRuleList": { "inh": "", "impl": [] }, "CSSScale": { "inh": "CSSTransformComponent", "impl": [] }, "CSSScopeRule": { "inh": "CSSGroupingRule", "impl": [] }, "CSSSkew": { "inh": "CSSTransformComponent", "impl": [] }, "CSSSkewX": { "inh": "CSSTransformComponent", "impl": [] }, "CSSSkewY": { "inh": "CSSTransformComponent", "impl": [] }, "CSSStartingStyleRule": { "inh": "CSSGroupingRule", "impl": [] }, "CSSStyleDeclaration": { "inh": "", "impl": [] }, "CSSStyleRule": { "inh": "CSSGroupingRule", "impl": [] }, "CSSStyleSheet": { "inh": "StyleSheet", "impl": [] }, "CSSStyleValue": { "inh": "", "impl": [] }, "CSSSupportsRule": { "inh": "CSSConditionRule", "impl": [] }, "CSSTransformComponent": { "inh": "", "impl": [] }, "CSSTransformValue": { "inh": "CSSStyleValue", "impl": [] }, "CSSTransition": { "inh": "Animation", "impl": [] }, "CSSTranslate": { "inh": "CSSTransformComponent", "impl": [] }, "CSSTryRule": { "inh": "CSSRule", "impl": [] }, "CSSUnitValue": { "inh": "CSSNumericValue", "impl": [] }, "CSSUnparsedValue": { "inh": "CSSStyleValue", "impl": [] }, "CSSVariableReferenceValue": { "inh": "", "impl": [] }, "CSSViewTransitionRule": { "inh": "CSSRule", "impl": [] }, "CustomElementRegistry": { "inh": "", "impl": [] }, "CustomEvent": { "inh": "Event", "impl": [] }, "CustomStateSet": { "inh": "", "impl": [] }, "DataCue": { "inh": "TextTrackCue", "impl": [] }, "DataTransfer": { "inh": "", "impl": [] }, "DataTransferItem": { "inh": "", "impl": [] }, "DataTransferItemList": { "inh": "", "impl": [] }, "DecompressionStream": { "inh": "", "impl": [] }, "DedicatedWorkerGlobalScope": { "inh": "WorkerGlobalScope", "impl": [] }, "DelayNode": { "inh": "AudioNode", "impl": [] }, "DeprecationReportBody": { "inh": "ReportBody", "impl": [] }, "DeviceMotionEvent": { "inh": "Event", "impl": [] }, "DeviceMotionEventAcceleration": { "inh": "", "impl": [] }, "DeviceMotionEventRotationRate": { "inh": "", "impl": [] }, "DeviceOrientationEvent": { "inh": "Event", "impl": [] }, "DevicePosture": { "inh": "EventTarget", "impl": [] }, "DigitalGoodsService": { "inh": "", "impl": [] }, "Document": { "inh": "Node", "impl": [] }, "DocumentFragment": { "inh": "Node", "impl": [] }, "DocumentPictureInPicture": { "inh": "EventTarget", "impl": [] }, "DocumentPictureInPictureEvent": { "inh": "Event", "impl": [] }, "DocumentTimeline": { "inh": "AnimationTimeline", "impl": [] }, "DocumentType": { "inh": "Node", "impl": [] }, "DOMException": { "inh": "", "impl": [] }, "DOMImplementation": { "inh": "", "impl": [] }, "DOMMatrix": { "inh": "DOMMatrixReadOnly", "impl": [] }, "DOMMatrixReadOnly": { "inh": "", "impl": [] }, "DOMParser": { "inh": "", "impl": [] }, "DOMPoint": { "inh": "DOMPointReadOnly", "impl": [] }, "DOMPointReadOnly": { "inh": "", "impl": [] }, "DOMQuad": { "inh": "", "impl": [] }, "DOMRect": { "inh": "DOMRectReadOnly", "impl": [] }, "DOMRectList": { "inh": "", "impl": [] }, "DOMRectReadOnly": { "inh": "", "impl": [] }, "DOMStringList": { "inh": "", "impl": [] }, "DOMStringMap": { "inh": "", "impl": [] }, "DOMTokenList": { "inh": "", "impl": [] }, "DragEvent": { "inh": "MouseEvent", "impl": [] }, "DynamicsCompressorNode": { "inh": "AudioNode", "impl": [] }, "EditContext": { "inh": "EventTarget", "impl": [] }, "Element": { "inh": "Node", "impl": [] }, "ElementInternals": { "inh": "", "impl": [] }, "EncodedAudioChunk": { "inh": "", "impl": [] }, "EncodedVideoChunk": { "inh": "", "impl": [] }, "EpubReadingSystem": { "inh": "", "impl": [] }, "ErrorEvent": { "inh": "Event", "impl": [] }, "Event": { "inh": "", "impl": [] }, "EventCounts": { "inh": "", "impl": [] }, "EventSource": { "inh": "EventTarget", "impl": [] }, "EventTarget": { "inh": "", "impl": [] }, "EXT_blend_minmax": { "inh": "", "impl": [] }, "EXT_color_buffer_float": { "inh": "", "impl": [] }, "EXT_color_buffer_half_float": { "inh": "", "impl": [] }, "EXT_disjoint_timer_query": { "inh": "", "impl": [] }, "EXT_disjoint_timer_query_webgl2": { "inh": "", "impl": [] }, "EXT_float_blend": { "inh": "", "impl": [] }, "EXT_frag_depth": { "inh": "", "impl": [] }, "EXT_shader_texture_lod": { "inh": "", "impl": [] }, "EXT_sRGB": { "inh": "", "impl": [] }, "EXT_texture_compression_bptc": { "inh": "", "impl": [] }, "EXT_texture_compression_rgtc": { "inh": "", "impl": [] }, "EXT_texture_filter_anisotropic": { "inh": "", "impl": [] }, "EXT_texture_norm16": { "inh": "", "impl": [] }, "ExtendableCookieChangeEvent": { "inh": "ExtendableEvent", "impl": [] }, "ExtendableEvent": { "inh": "Event", "impl": [] }, "ExtendableMessageEvent": { "inh": "ExtendableEvent", "impl": [] }, "External": { "inh": "", "impl": [] }, "EyeDropper": { "inh": "", "impl": [] }, "FaceDetector": { "inh": "", "impl": [] }, "FederatedCredential": { "inh": "Credential", "impl": [] }, "Fence": { "inh": "", "impl": [] }, "FencedFrameConfig": { "inh": "", "impl": [] }, "FetchEvent": { "inh": "ExtendableEvent", "impl": [] }, "File": { "inh": "Blob", "impl": [] }, "FileList": { "inh": "", "impl": [] }, "FileReader": { "inh": "EventTarget", "impl": [] }, "FileReaderSync": { "inh": "", "impl": [] }, "FileSystem": { "inh": "", "impl": [] }, "FileSystemDirectoryEntry": { "inh": "FileSystemEntry", "impl": [] }, "FileSystemDirectoryHandle": { "inh": "FileSystemHandle", "impl": [] }, "FileSystemDirectoryReader": { "inh": "", "impl": [] }, "FileSystemEntry": { "inh": "", "impl": [] }, "FileSystemFileEntry": { "inh": "FileSystemEntry", "impl": [] }, "FileSystemFileHandle": { "inh": "FileSystemHandle", "impl": [] }, "FileSystemHandle": { "inh": "", "impl": [] }, "FileSystemSyncAccessHandle": { "inh": "", "impl": [] }, "FileSystemWritableFileStream": { "inh": "WritableStream", "impl": [] }, "FocusEvent": { "inh": "UIEvent", "impl": [] }, "Font": { "inh": "", "impl": [] }, "FontData": { "inh": "", "impl": [] }, "FontFace": { "inh": "", "impl": [] }, "FontFaceFeatures": { "inh": "", "impl": [] }, "FontFacePalette": { "inh": "", "impl": [] }, "FontFacePalettes": { "inh": "", "impl": [] }, "FontFaceSet": { "inh": "EventTarget", "impl": [] }, "FontFaceSetLoadEvent": { "inh": "Event", "impl": [] }, "FontFaceVariationAxis": { "inh": "", "impl": [] }, "FontFaceVariations": { "inh": "", "impl": [] }, "FontMetrics": { "inh": "", "impl": [] }, "FormData": { "inh": "", "impl": [] }, "FormDataEvent": { "inh": "Event", "impl": [] }, "FragmentDirective": { "inh": "", "impl": [] }, "FragmentResult": { "inh": "", "impl": [] }, "GainNode": { "inh": "AudioNode", "impl": [] }, "Gamepad": { "inh": "", "impl": [] }, "GamepadButton": { "inh": "", "impl": [] }, "GamepadEvent": { "inh": "Event", "impl": [] }, "GamepadHapticActuator": { "inh": "", "impl": [] }, "GamepadPose": { "inh": "", "impl": [] }, "GamepadTouch": { "inh": "", "impl": [] }, "Geolocation": { "inh": "", "impl": [] }, "GeolocationCoordinates": { "inh": "", "impl": [] }, "GeolocationPosition": { "inh": "", "impl": [] }, "GeolocationPositionError": { "inh": "", "impl": [] }, "GeolocationSensor": { "inh": "Sensor", "impl": [] }, "Global": { "inh": "", "impl": [] }, "GPU": { "inh": "", "impl": [] }, "GPUAdapter": { "inh": "", "impl": [] }, "GPUAdapterInfo": { "inh": "", "impl": [] }, "GPUBindGroup": { "inh": "", "impl": [] }, "GPUBindGroupLayout": { "inh": "", "impl": [] }, "GPUBuffer": { "inh": "", "impl": [] }, "GPUCanvasContext": { "inh": "", "impl": [] }, "GPUCommandBuffer": { "inh": "", "impl": [] }, "GPUCommandEncoder": { "inh": "", "impl": [] }, "GPUCompilationInfo": { "inh": "", "impl": [] }, "GPUCompilationMessage": { "inh": "", "impl": [] }, "GPUComputePassEncoder": { "inh": "", "impl": [] }, "GPUComputePipeline": { "inh": "", "impl": [] }, "GPUDevice": { "inh": "EventTarget", "impl": [] }, "GPUDeviceLostInfo": { "inh": "", "impl": [] }, "GPUError": { "inh": "", "impl": [] }, "GPUExternalTexture": { "inh": "", "impl": [] }, "GPUInternalError": { "inh": "GPUError", "impl": [] }, "GPUOutOfMemoryError": { "inh": "GPUError", "impl": [] }, "GPUPipelineError": { "inh": "DOMException", "impl": [] }, "GPUPipelineLayout": { "inh": "", "impl": [] }, "GPUQuerySet": { "inh": "", "impl": [] }, "GPUQueue": { "inh": "", "impl": [] }, "GPURenderBundle": { "inh": "", "impl": [] }, "GPURenderBundleEncoder": { "inh": "", "impl": [] }, "GPURenderPassEncoder": { "inh": "", "impl": [] }, "GPURenderPipeline": { "inh": "", "impl": [] }, "GPUSampler": { "inh": "", "impl": [] }, "GPUShaderModule": { "inh": "", "impl": [] }, "GPUSupportedFeatures": { "inh": "", "impl": [] }, "GPUSupportedLimits": { "inh": "", "impl": [] }, "GPUTexture": { "inh": "", "impl": [] }, "GPUTextureView": { "inh": "", "impl": [] }, "GPUUncapturedErrorEvent": { "inh": "Event", "impl": [] }, "GPUValidationError": { "inh": "GPUError", "impl": [] }, "GravitySensor": { "inh": "Accelerometer", "impl": [] }, "GroupEffect": { "inh": "", "impl": [] }, "Gyroscope": { "inh": "Sensor", "impl": [] }, "HashChangeEvent": { "inh": "Event", "impl": [] }, "Headers": { "inh": "", "impl": [] }, "HID": { "inh": "EventTarget", "impl": [] }, "HIDConnectionEvent": { "inh": "Event", "impl": [] }, "HIDDevice": { "inh": "EventTarget", "impl": [] }, "HIDInputReportEvent": { "inh": "Event", "impl": [] }, "Highlight": { "inh": "", "impl": [] }, "HighlightRegistry": { "inh": "", "impl": [] }, "History": { "inh": "", "impl": [] }, "HTMLAllCollection": { "inh": "", "impl": [] }, "HTMLAnchorElement": { "inh": "HTMLElement", "impl": [] }, "HTMLAreaElement": { "inh": "HTMLElement", "impl": [] }, "HTMLAudioElement": { "inh": "HTMLMediaElement", "impl": [] }, "HTMLBaseElement": { "inh": "HTMLElement", "impl": [] }, "HTMLBodyElement": { "inh": "HTMLElement", "impl": [] }, "HTMLBRElement": { "inh": "HTMLElement", "impl": [] }, "HTMLButtonElement": { "inh": "HTMLElement", "impl": [] }, "HTMLCanvasElement": { "inh": "HTMLElement", "impl": [] }, "HTMLCollection": { "inh": "", "impl": [] }, "HTMLDataElement": { "inh": "HTMLElement", "impl": [] }, "HTMLDataListElement": { "inh": "HTMLElement", "impl": [] }, "HTMLDetailsElement": { "inh": "HTMLElement", "impl": [] }, "HTMLDialogElement": { "inh": "HTMLElement", "impl": [] }, "HTMLDirectoryElement": { "inh": "HTMLElement", "impl": [] }, "HTMLDivElement": { "inh": "HTMLElement", "impl": [] }, "HTMLDListElement": { "inh": "HTMLElement", "impl": [] }, "HTMLElement": { "inh": "Element", "impl": [] }, "HTMLEmbedElement": { "inh": "HTMLElement", "impl": [] }, "HTMLFencedFrameElement": { "inh": "HTMLElement", "impl": [] }, "HTMLFieldSetElement": { "inh": "HTMLElement", "impl": [] }, "HTMLFontElement": { "inh": "HTMLElement", "impl": [] }, "HTMLFormControlsCollection": { "inh": "HTMLCollection", "impl": [] }, "HTMLFormElement": { "inh": "HTMLElement", "impl": [] }, "HTMLFrameElement": { "inh": "HTMLElement", "impl": [] }, "HTMLFrameSetElement": { "inh": "HTMLElement", "impl": [] }, "HTMLHeadElement": { "inh": "HTMLElement", "impl": [] }, "HTMLHeadingElement": { "inh": "HTMLElement", "impl": [] }, "HTMLHRElement": { "inh": "HTMLElement", "impl": [] }, "HTMLHtmlElement": { "inh": "HTMLElement", "impl": [] }, "HTMLIFrameElement": { "inh": "HTMLElement", "impl": [] }, "HTMLImageElement": { "inh": "HTMLElement", "impl": [] }, "HTMLInputElement": { "inh": "HTMLElement", "impl": [] }, "HTMLLabelElement": { "inh": "HTMLElement", "impl": [] }, "HTMLLegendElement": { "inh": "HTMLElement", "impl": [] }, "HTMLLIElement": { "inh": "HTMLElement", "impl": [] }, "HTMLLinkElement": { "inh": "HTMLElement", "impl": [] }, "HTMLMapElement": { "inh": "HTMLElement", "impl": [] }, "HTMLMarqueeElement": { "inh": "HTMLElement", "impl": [] }, "HTMLMediaElement": { "inh": "HTMLElement", "impl": [] }, "HTMLMenuElement": { "inh": "HTMLElement", "impl": [] }, "HTMLMetaElement": { "inh": "HTMLElement", "impl": [] }, "HTMLMeterElement": { "inh": "HTMLElement", "impl": [] }, "HTMLModelElement": { "inh": "HTMLElement", "impl": [] }, "HTMLModElement": { "inh": "HTMLElement", "impl": [] }, "HTMLObjectElement": { "inh": "HTMLElement", "impl": [] }, "HTMLOListElement": { "inh": "HTMLElement", "impl": [] }, "HTMLOptGroupElement": { "inh": "HTMLElement", "impl": [] }, "HTMLOptionElement": { "inh": "HTMLElement", "impl": [] }, "HTMLOptionsCollection": { "inh": "HTMLCollection", "impl": [] }, "HTMLOutputElement": { "inh": "HTMLElement", "impl": [] }, "HTMLParagraphElement": { "inh": "HTMLElement", "impl": [] }, "HTMLParamElement": { "inh": "HTMLElement", "impl": [] }, "HTMLPictureElement": { "inh": "HTMLElement", "impl": [] }, "HTMLPortalElement": { "inh": "HTMLElement", "impl": [] }, "HTMLPreElement": { "inh": "HTMLElement", "impl": [] }, "HTMLProgressElement": { "inh": "HTMLElement", "impl": [] }, "HTMLQuoteElement": { "inh": "HTMLElement", "impl": [] }, "HTMLScriptElement": { "inh": "HTMLElement", "impl": [] }, "HTMLSelectElement": { "inh": "HTMLElement", "impl": [] }, "HTMLSlotElement": { "inh": "HTMLElement", "impl": [] }, "HTMLSourceElement": { "inh": "HTMLElement", "impl": [] }, "HTMLSpanElement": { "inh": "HTMLElement", "impl": [] }, "HTMLStyleElement": { "inh": "HTMLElement", "impl": [] }, "HTMLTableCaptionElement": { "inh": "HTMLElement", "impl": [] }, "HTMLTableCellElement": { "inh": "HTMLElement", "impl": [] }, "HTMLTableColElement": { "inh": "HTMLElement", "impl": [] }, "HTMLTableElement": { "inh": "HTMLElement", "impl": [] }, "HTMLTableRowElement": { "inh": "HTMLElement", "impl": [] }, "HTMLTableSectionElement": { "inh": "HTMLElement", "impl": [] }, "HTMLTemplateElement": { "inh": "HTMLElement", "impl": [] }, "HTMLTextAreaElement": { "inh": "HTMLElement", "impl": [] }, "HTMLTimeElement": { "inh": "HTMLElement", "impl": [] }, "HTMLTitleElement": { "inh": "HTMLElement", "impl": [] }, "HTMLTrackElement": { "inh": "HTMLElement", "impl": [] }, "HTMLUListElement": { "inh": "HTMLElement", "impl": [] }, "HTMLUnknownElement": { "inh": "HTMLElement", "impl": [] }, "HTMLVideoElement": { "inh": "HTMLMediaElement", "impl": [] }, "IDBCursor": { "inh": "", "impl": [] }, "IDBCursorWithValue": { "inh": "IDBCursor", "impl": [] }, "IDBDatabase": { "inh": "EventTarget", "impl": [] }, "IDBFactory": { "inh": "", "impl": [] }, "IDBIndex": { "inh": "", "impl": [] }, "IDBKeyRange": { "inh": "", "impl": [] }, "IDBObjectStore": { "inh": "", "impl": [] }, "IDBOpenDBRequest": { "inh": "IDBRequest", "impl": [] }, "IDBRequest": { "inh": "EventTarget", "impl": [] }, "IDBTransaction": { "inh": "EventTarget", "impl": [] }, "IDBVersionChangeEvent": { "inh": "Event", "impl": [] }, "IdentityCredential": { "inh": "Credential", "impl": [] }, "IdentityProvider": { "inh": "", "impl": [] }, "IdleDeadline": { "inh": "", "impl": [] }, "IdleDetector": { "inh": "EventTarget", "impl": [] }, "IIRFilterNode": { "inh": "AudioNode", "impl": [] }, "ImageBitmap": { "inh": "", "impl": [] }, "ImageBitmapRenderingContext": { "inh": "", "impl": [] }, "ImageCapture": { "inh": "", "impl": [] }, "ImageData": { "inh": "", "impl": [] }, "ImageDecoder": { "inh": "", "impl": [] }, "ImageTrack": { "inh": "", "impl": [] }, "ImageTrackList": { "inh": "", "impl": [] }, "Ink": { "inh": "", "impl": [] }, "InkPresenter": { "inh": "", "impl": [] }, "InputDeviceCapabilities": { "inh": "", "impl": [] }, "InputDeviceInfo": { "inh": "MediaDeviceInfo", "impl": [] }, "InputEvent": { "inh": "UIEvent", "impl": [] }, "Instance": { "inh": "", "impl": [] }, "InterestGroupBiddingScriptRunnerGlobalScope": { "inh": "InterestGroupScriptRunnerGlobalScope", "impl": [] }, "InterestGroupReportingScriptRunnerGlobalScope": { "inh": "InterestGroupScriptRunnerGlobalScope", "impl": [] }, "InterestGroupScoringScriptRunnerGlobalScope": { "inh": "InterestGroupScriptRunnerGlobalScope", "impl": [] }, "InterestGroupScriptRunnerGlobalScope": { "inh": "", "impl": [] }, "IntersectionObserver": { "inh": "", "impl": [] }, "IntersectionObserverEntry": { "inh": "", "impl": [] }, "InterventionReportBody": { "inh": "ReportBody", "impl": [] }, "IntrinsicSizes": { "inh": "", "impl": [] }, "JsonLd": { "inh": "", "impl": [] }, "JsonLdProcessor": { "inh": "", "impl": [] }, "Keyboard": { "inh": "EventTarget", "impl": [] }, "KeyboardEvent": { "inh": "UIEvent", "impl": [] }, "KeyboardLayoutMap": { "inh": "", "impl": [] }, "KeyframeEffect": { "inh": "AnimationEffect", "impl": [] }, "KeyFrameRequestEvent": { "inh": "Event", "impl": [] }, "KHR_parallel_shader_compile": { "inh": "", "impl": [] }, "LargestContentfulPaint": { "inh": "PerformanceEntry", "impl": [] }, "LaunchParams": { "inh": "", "impl": [] }, "LaunchQueue": { "inh": "", "impl": [] }, "LayoutChild": { "inh": "", "impl": [] }, "LayoutConstraints": { "inh": "", "impl": [] }, "LayoutEdges": { "inh": "", "impl": [] }, "LayoutFragment": { "inh": "", "impl": [] }, "LayoutShift": { "inh": "PerformanceEntry", "impl": [] }, "LayoutShiftAttribution": { "inh": "", "impl": [] }, "LayoutWorkletGlobalScope": { "inh": "WorkletGlobalScope", "impl": [] }, "LinearAccelerationSensor": { "inh": "Accelerometer", "impl": [] }, "Location": { "inh": "", "impl": [] }, "Lock": { "inh": "", "impl": [] }, "LockManager": { "inh": "", "impl": [] }, "Magnetometer": { "inh": "Sensor", "impl": [] }, "ManagedMediaSource": { "inh": "MediaSource", "impl": [] }, "ManagedSourceBuffer": { "inh": "SourceBuffer", "impl": [] }, "MathMLElement": { "inh": "Element", "impl": [] }, "MediaCapabilities": { "inh": "", "impl": [] }, "MediaDeviceInfo": { "inh": "", "impl": [] }, "MediaDevices": { "inh": "EventTarget", "impl": [] }, "MediaElementAudioSourceNode": { "inh": "AudioNode", "impl": [] }, "MediaEncryptedEvent": { "inh": "Event", "impl": [] }, "MediaError": { "inh": "", "impl": [] }, "MediaKeyMessageEvent": { "inh": "Event", "impl": [] }, "MediaKeys": { "inh": "", "impl": [] }, "MediaKeySession": { "inh": "EventTarget", "impl": [] }, "MediaKeyStatusMap": { "inh": "", "impl": [] }, "MediaKeySystemAccess": { "inh": "", "impl": [] }, "MediaList": { "inh": "", "impl": [] }, "MediaMetadata": { "inh": "", "impl": [] }, "MediaQueryList": { "inh": "EventTarget", "impl": [] }, "MediaQueryListEvent": { "inh": "Event", "impl": [] }, "MediaRecorder": { "inh": "EventTarget", "impl": [] }, "MediaSession": { "inh": "", "impl": [] }, "MediaSource": { "inh": "EventTarget", "impl": [] }, "MediaSourceHandle": { "inh": "", "impl": [] }, "MediaStream": { "inh": "EventTarget", "impl": [] }, "MediaStreamAudioDestinationNode": { "inh": "AudioNode", "impl": [] }, "MediaStreamAudioSourceNode": { "inh": "AudioNode", "impl": [] }, "MediaStreamTrack": { "inh": "EventTarget", "impl": [] }, "MediaStreamTrackAudioSourceNode": { "inh": "AudioNode", "impl": [] }, "MediaStreamTrackEvent": { "inh": "Event", "impl": [] }, "MediaStreamTrackProcessor": { "inh": "", "impl": [] }, "Memory": { "inh": "", "impl": [] }, "MessageChannel": { "inh": "", "impl": [] }, "MessageEvent": { "inh": "Event", "impl": [] }, "MessagePort": { "inh": "EventTarget", "impl": [] }, "MIDIAccess": { "inh": "EventTarget", "impl": [] }, "MIDIConnectionEvent": { "inh": "Event", "impl": [] }, "MIDIInput": { "inh": "MIDIPort", "impl": [] }, "MIDIInputMap": { "inh": "", "impl": [] }, "MIDIMessageEvent": { "inh": "Event", "impl": [] }, "MIDIOutput": { "inh": "MIDIPort", "impl": [] }, "MIDIOutputMap": { "inh": "", "impl": [] }, "MIDIPort": { "inh": "EventTarget", "impl": [] }, "MimeType": { "inh": "", "impl": [] }, "MimeTypeArray": { "inh": "", "impl": [] }, "ML": { "inh": "", "impl": [] }, "MLActivation": { "inh": "", "impl": [] }, "MLCommandEncoder": { "inh": "", "impl": [] }, "MLContext": { "inh": "", "impl": [] }, "MLGraph": { "inh": "", "impl": [] }, "MLGraphBuilder": { "inh": "", "impl": [] }, "MLOperand": { "inh": "", "impl": [] }, "Module": { "inh": "", "impl": [] }, "MouseEvent": { "inh": "UIEvent", "impl": [] }, "MutationEvent": { "inh": "Event", "impl": [] }, "MutationObserver": { "inh": "", "impl": [] }, "MutationRecord": { "inh": "", "impl": [] }, "NamedFlow": { "inh": "EventTarget", "impl": [] }, "NamedFlowMap": { "inh": "", "impl": [] }, "NamedNodeMap": { "inh": "", "impl": [] }, "NavigateEvent": { "inh": "Event", "impl": [] }, "Navigation": { "inh": "EventTarget", "impl": [] }, "NavigationActivation": { "inh": "", "impl": [] }, "NavigationCurrentEntryChangeEvent": { "inh": "Event", "impl": [] }, "NavigationDestination": { "inh": "", "impl": [] }, "NavigationEvent": { "inh": "UIEvent", "impl": [] }, "NavigationHistoryEntry": { "inh": "EventTarget", "impl": [] }, "NavigationPreloadManager": { "inh": "", "impl": [] }, "NavigationTransition": { "inh": "", "impl": [] }, "Navigator": { "inh": "", "impl": [] }, "NavigatorLogin": { "inh": "", "impl": [] }, "NavigatorManagedData": { "inh": "EventTarget", "impl": [] }, "NavigatorUAData": { "inh": "", "impl": [] }, "NDEFMessage": { "inh": "", "impl": [] }, "NDEFReader": { "inh": "EventTarget", "impl": [] }, "NDEFReadingEvent": { "inh": "Event", "impl": [] }, "NDEFRecord": { "inh": "", "impl": [] }, "NetworkInformation": { "inh": "EventTarget", "impl": [] }, "Node": { "inh": "EventTarget", "impl": [] }, "NodeIterator": { "inh": "", "impl": [] }, "NodeList": { "inh": "", "impl": [] }, "Notification": { "inh": "EventTarget", "impl": [] }, "NotificationEvent": { "inh": "ExtendableEvent", "impl": [] }, "OES_draw_buffers_indexed": { "inh": "", "impl": [] }, "OES_element_index_uint": { "inh": "", "impl": [] }, "OES_fbo_render_mipmap": { "inh": "", "impl": [] }, "OES_standard_derivatives": { "inh": "", "impl": [] }, "OES_texture_float": { "inh": "", "impl": [] }, "OES_texture_float_linear": { "inh": "", "impl": [] }, "OES_texture_half_float": { "inh": "", "impl": [] }, "OES_texture_half_float_linear": { "inh": "", "impl": [] }, "OES_vertex_array_object": { "inh": "", "impl": [] }, "OfflineAudioCompletionEvent": { "inh": "Event", "impl": [] }, "OfflineAudioContext": { "inh": "BaseAudioContext", "impl": [] }, "OffscreenCanvas": { "inh": "EventTarget", "impl": [] }, "OffscreenCanvasRenderingContext2D": { "inh": "", "impl": [] }, "OrientationSensor": { "inh": "Sensor", "impl": [] }, "OscillatorNode": { "inh": "AudioScheduledSourceNode", "impl": [] }, "OTPCredential": { "inh": "Credential", "impl": [] }, "OverconstrainedError": { "inh": "DOMException", "impl": [] }, "OVR_multiview2": { "inh": "", "impl": [] }, "PageRevealEvent": { "inh": "Event", "impl": [] }, "PageTransitionEvent": { "inh": "Event", "impl": [] }, "PaintRenderingContext2D": { "inh": "", "impl": [] }, "PaintSize": { "inh": "", "impl": [] }, "PaintWorkletGlobalScope": { "inh": "WorkletGlobalScope", "impl": [] }, "PannerNode": { "inh": "AudioNode", "impl": [] }, "PasswordCredential": { "inh": "Credential", "impl": [] }, "Path2D": { "inh": "", "impl": [] }, "PaymentManager": { "inh": "", "impl": [] }, "PaymentMethodChangeEvent": { "inh": "PaymentRequestUpdateEvent", "impl": [] }, "PaymentRequest": { "inh": "EventTarget", "impl": [] }, "PaymentRequestEvent": { "inh": "ExtendableEvent", "impl": [] }, "PaymentRequestUpdateEvent": { "inh": "Event", "impl": [] }, "PaymentResponse": { "inh": "EventTarget", "impl": [] }, "Performance": { "inh": "EventTarget", "impl": [] }, "PerformanceElementTiming": { "inh": "PerformanceEntry", "impl": [] }, "PerformanceEntry": { "inh": "", "impl": [] }, "PerformanceEventTiming": { "inh": "PerformanceEntry", "impl": [] }, "PerformanceLongAnimationFrameTiming": { "inh": "PerformanceEntry", "impl": [] }, "PerformanceLongTaskTiming": { "inh": "PerformanceEntry", "impl": [] }, "PerformanceMark": { "inh": "PerformanceEntry", "impl": [] }, "PerformanceMeasure": { "inh": "PerformanceEntry", "impl": [] }, "PerformanceNavigation": { "inh": "", "impl": [] }, "PerformanceNavigationTiming": { "inh": "PerformanceResourceTiming", "impl": [] }, "PerformanceObserver": { "inh": "", "impl": [] }, "PerformanceObserverEntryList": { "inh": "", "impl": [] }, "PerformancePaintTiming": { "inh": "PerformanceEntry", "impl": [] }, "PerformanceResourceTiming": { "inh": "PerformanceEntry", "impl": [] }, "PerformanceScriptTiming": { "inh": "PerformanceEntry", "impl": [] }, "PerformanceServerTiming": { "inh": "", "impl": [] }, "PerformanceTiming": { "inh": "", "impl": [] }, "PeriodicSyncEvent": { "inh": "ExtendableEvent", "impl": [] }, "PeriodicSyncManager": { "inh": "", "impl": [] }, "PeriodicWave": { "inh": "", "impl": [] }, "Permissions": { "inh": "", "impl": [] }, "PermissionsPolicy": { "inh": "", "impl": [] }, "PermissionsPolicyViolationReportBody": { "inh": "ReportBody", "impl": [] }, "PermissionStatus": { "inh": "EventTarget", "impl": [] }, "PictureInPictureEvent": { "inh": "Event", "impl": [] }, "PictureInPictureWindow": { "inh": "EventTarget", "impl": [] }, "Plugin": { "inh": "", "impl": [] }, "PluginArray": { "inh": "", "impl": [] }, "PointerEvent": { "inh": "MouseEvent", "impl": [] }, "PopStateEvent": { "inh": "Event", "impl": [] }, "PortalActivateEvent": { "inh": "Event", "impl": [] }, "PortalHost": { "inh": "EventTarget", "impl": [] }, "Presentation": { "inh": "", "impl": [] }, "PresentationAvailability": { "inh": "EventTarget", "impl": [] }, "PresentationConnection": { "inh": "EventTarget", "impl": [] }, "PresentationConnectionAvailableEvent": { "inh": "Event", "impl": [] }, "PresentationConnectionCloseEvent": { "inh": "Event", "impl": [] }, "PresentationConnectionList": { "inh": "EventTarget", "impl": [] }, "PresentationReceiver": { "inh": "", "impl": [] }, "PresentationRequest": { "inh": "EventTarget", "impl": [] }, "PressureObserver": { "inh": "", "impl": [] }, "PressureRecord": { "inh": "", "impl": [] }, "ProcessingInstruction": { "inh": "CharacterData", "impl": [] }, "Profiler": { "inh": "EventTarget", "impl": [] }, "ProgressEvent": { "inh": "Event", "impl": [] }, "PromiseRejectionEvent": { "inh": "Event", "impl": [] }, "ProximitySensor": { "inh": "Sensor", "impl": [] }, "PublicKeyCredential": { "inh": "Credential", "impl": [] }, "PushEvent": { "inh": "ExtendableEvent", "impl": [] }, "PushManager": { "inh": "", "impl": [] }, "PushMessageData": { "inh": "", "impl": [] }, "PushSubscription": { "inh": "", "impl": [] }, "PushSubscriptionChangeEvent": { "inh": "ExtendableEvent", "impl": [] }, "PushSubscriptionOptions": { "inh": "", "impl": [] }, "RadioNodeList": { "inh": "NodeList", "impl": [] }, "Range": { "inh": "AbstractRange", "impl": [] }, "RdfDataset": { "inh": "", "impl": [] }, "RdfGraph": { "inh": "", "impl": [] }, "RdfLiteral": { "inh": "", "impl": [] }, "RdfTriple": { "inh": "", "impl": [] }, "ReadableByteStreamController": { "inh": "", "impl": [] }, "ReadableStream": { "inh": "", "impl": [] }, "ReadableStreamBYOBReader": { "inh": "", "impl": [] }, "ReadableStreamBYOBRequest": { "inh": "", "impl": [] }, "ReadableStreamDefaultController": { "inh": "", "impl": [] }, "ReadableStreamDefaultReader": { "inh": "", "impl": [] }, "RelativeOrientationSensor": { "inh": "OrientationSensor", "impl": [] }, "RemoteDocument": { "inh": "", "impl": [] }, "RemotePlayback": { "inh": "EventTarget", "impl": [] }, "Report": { "inh": "", "impl": [] }, "ReportBody": { "inh": "", "impl": [] }, "ReportingObserver": { "inh": "", "impl": [] }, "Request": { "inh": "", "impl": [] }, "ResizeObserver": { "inh": "", "impl": [] }, "ResizeObserverEntry": { "inh": "", "impl": [] }, "ResizeObserverSize": { "inh": "", "impl": [] }, "Response": { "inh": "", "impl": [] }, "RestrictionTarget": { "inh": "", "impl": [] }, "RTCCertificate": { "inh": "", "impl": [] }, "RTCDataChannel": { "inh": "EventTarget", "impl": [] }, "RTCDataChannelEvent": { "inh": "Event", "impl": [] }, "RTCDtlsTransport": { "inh": "EventTarget", "impl": [] }, "RTCDTMFSender": { "inh": "EventTarget", "impl": [] }, "RTCDTMFToneChangeEvent": { "inh": "Event", "impl": [] }, "RTCEncodedAudioFrame": { "inh": "", "impl": [] }, "RTCEncodedVideoFrame": { "inh": "", "impl": [] }, "RTCError": { "inh": "DOMException", "impl": [] }, "RTCErrorEvent": { "inh": "Event", "impl": [] }, "RTCIceCandidate": { "inh": "", "impl": [] }, "RTCIceTransport": { "inh": "EventTarget", "impl": [] }, "RTCIdentityAssertion": { "inh": "", "impl": [] }, "RTCIdentityProviderGlobalScope": { "inh": "WorkerGlobalScope", "impl": [] }, "RTCIdentityProviderRegistrar": { "inh": "", "impl": [] }, "RTCPeerConnection": { "inh": "EventTarget", "impl": [] }, "RTCPeerConnectionIceErrorEvent": { "inh": "Event", "impl": [] }, "RTCPeerConnectionIceEvent": { "inh": "Event", "impl": [] }, "RTCRtpReceiver": { "inh": "", "impl": [] }, "RTCRtpScriptTransform": { "inh": "", "impl": [] }, "RTCRtpScriptTransformer": { "inh": "EventTarget", "impl": [] }, "RTCRtpSender": { "inh": "", "impl": [] }, "RTCRtpTransceiver": { "inh": "", "impl": [] }, "RTCSctpTransport": { "inh": "EventTarget", "impl": [] }, "RTCSessionDescription": { "inh": "", "impl": [] }, "RTCStatsReport": { "inh": "", "impl": [] }, "RTCTrackEvent": { "inh": "Event", "impl": [] }, "RTCTransformEvent": { "inh": "Event", "impl": [] }, "Sanitizer": { "inh": "", "impl": [] }, "Scheduler": { "inh": "", "impl": [] }, "Scheduling": { "inh": "", "impl": [] }, "Screen": { "inh": "", "impl": [] }, "ScreenDetailed": { "inh": "Screen", "impl": [] }, "ScreenDetails": { "inh": "EventTarget", "impl": [] }, "ScreenOrientation": { "inh": "EventTarget", "impl": [] }, "ScriptingPolicyReportBody": { "inh": "ReportBody", "impl": [] }, "ScriptProcessorNode": { "inh": "AudioNode", "impl": [] }, "ScrollTimeline": { "inh": "AnimationTimeline", "impl": [] }, "SecurityPolicyViolationEvent": { "inh": "Event", "impl": [] }, "Selection": { "inh": "", "impl": [] }, "Sensor": { "inh": "EventTarget", "impl": [] }, "SensorErrorEvent": { "inh": "Event", "impl": [] }, "SequenceEffect": { "inh": "GroupEffect", "impl": [] }, "Serial": { "inh": "EventTarget", "impl": [] }, "SerialPort": { "inh": "EventTarget", "impl": [] }, "ServiceWorker": { "inh": "EventTarget", "impl": [] }, "ServiceWorkerContainer": { "inh": "EventTarget", "impl": [] }, "ServiceWorkerGlobalScope": { "inh": "WorkerGlobalScope", "impl": [] }, "ServiceWorkerRegistration": { "inh": "EventTarget", "impl": [] }, "SFrameTransform": { "inh": "EventTarget", "impl": [] }, "SFrameTransformErrorEvent": { "inh": "Event", "impl": [] }, "ShadowAnimation": { "inh": "Animation", "impl": [] }, "ShadowRoot": { "inh": "DocumentFragment", "impl": [] }, "SharedStorage": { "inh": "", "impl": [] }, "SharedStorageOperation": { "inh": "", "impl": [] }, "SharedStorageRunOperation": { "inh": "SharedStorageOperation", "impl": [] }, "SharedStorageSelectURLOperation": { "inh": "SharedStorageOperation", "impl": [] }, "SharedStorageWorklet": { "inh": "Worklet", "impl": [] }, "SharedStorageWorkletGlobalScope": { "inh": "WorkletGlobalScope", "impl": [] }, "SharedWorker": { "inh": "EventTarget", "impl": [] }, "SharedWorkerGlobalScope": { "inh": "WorkerGlobalScope", "impl": [] }, "SnapEvent": { "inh": "Event", "impl": [] }, "SnapTargetArray": { "inh": "", "impl": [] }, "SnapTargetList": { "inh": "", "impl": [] }, "SourceBuffer": { "inh": "EventTarget", "impl": [] }, "SourceBufferList": { "inh": "EventTarget", "impl": [] }, "SpeechGrammar": { "inh": "", "impl": [] }, "SpeechGrammarList": { "inh": "", "impl": [] }, "SpeechRecognition": { "inh": "EventTarget", "impl": [] }, "SpeechRecognitionAlternative": { "inh": "", "impl": [] }, "SpeechRecognitionErrorEvent": { "inh": "Event", "impl": [] }, "SpeechRecognitionEvent": { "inh": "Event", "impl": [] }, "SpeechRecognitionResult": { "inh": "", "impl": [] }, "SpeechRecognitionResultList": { "inh": "", "impl": [] }, "SpeechSynthesis": { "inh": "EventTarget", "impl": [] }, "SpeechSynthesisErrorEvent": { "inh": "SpeechSynthesisEvent", "impl": [] }, "SpeechSynthesisEvent": { "inh": "Event", "impl": [] }, "SpeechSynthesisUtterance": { "inh": "EventTarget", "impl": [] }, "SpeechSynthesisVoice": { "inh": "", "impl": [] }, "StaticRange": { "inh": "AbstractRange", "impl": [] }, "StereoPannerNode": { "inh": "AudioNode", "impl": [] }, "Storage": { "inh": "", "impl": [] }, "StorageBucket": { "inh": "", "impl": [] }, "StorageBucketManager": { "inh": "", "impl": [] }, "StorageEvent": { "inh": "Event", "impl": [] }, "StorageManager": { "inh": "", "impl": [] }, "StylePropertyMap": { "inh": "StylePropertyMapReadOnly", "impl": [] }, "StylePropertyMapReadOnly": { "inh": "", "impl": [] }, "StyleSheet": { "inh": "", "impl": [] }, "StyleSheetList": { "inh": "", "impl": [] }, "SubmitEvent": { "inh": "Event", "impl": [] }, "SubtleCrypto": { "inh": "", "impl": [] }, "SVGAElement": { "inh": "SVGGraphicsElement", "impl": [] }, "SVGAngle": { "inh": "", "impl": [] }, "SVGAnimatedAngle": { "inh": "", "impl": [] }, "SVGAnimatedBoolean": { "inh": "", "impl": [] }, "SVGAnimatedEnumeration": { "inh": "", "impl": [] }, "SVGAnimatedInteger": { "inh": "", "impl": [] }, "SVGAnimatedLength": { "inh": "", "impl": [] }, "SVGAnimatedLengthList": { "inh": "", "impl": [] }, "SVGAnimatedNumber": { "inh": "", "impl": [] }, "SVGAnimatedNumberList": { "inh": "", "impl": [] }, "SVGAnimatedPreserveAspectRatio": { "inh": "", "impl": [] }, "SVGAnimatedRect": { "inh": "", "impl": [] }, "SVGAnimatedString": { "inh": "", "impl": [] }, "SVGAnimatedTransformList": { "inh": "", "impl": [] }, "SVGAnimateElement": { "inh": "SVGAnimationElement", "impl": [] }, "SVGAnimateMotionElement": { "inh": "SVGAnimationElement", "impl": [] }, "SVGAnimateTransformElement": { "inh": "SVGAnimationElement", "impl": [] }, "SVGAnimationElement": { "inh": "SVGElement", "impl": [] }, "SVGCircleElement": { "inh": "SVGGeometryElement", "impl": [] }, "SVGClipPathElement": { "inh": "SVGElement", "impl": [] }, "SVGComponentTransferFunctionElement": { "inh": "SVGElement", "impl": [] }, "SVGDefsElement": { "inh": "SVGGraphicsElement", "impl": [] }, "SVGDescElement": { "inh": "SVGElement", "impl": [] }, "SVGDiscardElement": { "inh": "SVGAnimationElement", "impl": [] }, "SVGElement": { "inh": "Element", "impl": [] }, "SVGEllipseElement": { "inh": "SVGGeometryElement", "impl": [] }, "SVGFEBlendElement": { "inh": "SVGElement", "impl": [] }, "SVGFEColorMatrixElement": { "inh": "SVGElement", "impl": [] }, "SVGFEComponentTransferElement": { "inh": "SVGElement", "impl": [] }, "SVGFECompositeElement": { "inh": "SVGElement", "impl": [] }, "SVGFEConvolveMatrixElement": { "inh": "SVGElement", "impl": [] }, "SVGFEDiffuseLightingElement": { "inh": "SVGElement", "impl": [] }, "SVGFEDisplacementMapElement": { "inh": "SVGElement", "impl": [] }, "SVGFEDistantLightElement": { "inh": "SVGElement", "impl": [] }, "SVGFEDropShadowElement": { "inh": "SVGElement", "impl": [] }, "SVGFEFloodElement": { "inh": "SVGElement", "impl": [] }, "SVGFEFuncAElement": { "inh": "SVGComponentTransferFunctionElement", "impl": [] }, "SVGFEFuncBElement": { "inh": "SVGComponentTransferFunctionElement", "impl": [] }, "SVGFEFuncGElement": { "inh": "SVGComponentTransferFunctionElement", "impl": [] }, "SVGFEFuncRElement": { "inh": "SVGComponentTransferFunctionElement", "impl": [] }, "SVGFEGaussianBlurElement": { "inh": "SVGElement", "impl": [] }, "SVGFEImageElement": { "inh": "SVGElement", "impl": [] }, "SVGFEMergeElement": { "inh": "SVGElement", "impl": [] }, "SVGFEMergeNodeElement": { "inh": "SVGElement", "impl": [] }, "SVGFEMorphologyElement": { "inh": "SVGElement", "impl": [] }, "SVGFEOffsetElement": { "inh": "SVGElement", "impl": [] }, "SVGFEPointLightElement": { "inh": "SVGElement", "impl": [] }, "SVGFESpecularLightingElement": { "inh": "SVGElement", "impl": [] }, "SVGFESpotLightElement": { "inh": "SVGElement", "impl": [] }, "SVGFETileElement": { "inh": "SVGElement", "impl": [] }, "SVGFETurbulenceElement": { "inh": "SVGElement", "impl": [] }, "SVGFilterElement": { "inh": "SVGElement", "impl": [] }, "SVGForeignObjectElement": { "inh": "SVGGraphicsElement", "impl": [] }, "SVGGElement": { "inh": "SVGGraphicsElement", "impl": [] }, "SVGGeometryElement": { "inh": "SVGGraphicsElement", "impl": [] }, "SVGGradientElement": { "inh": "SVGElement", "impl": [] }, "SVGGraphicsElement": { "inh": "SVGElement", "impl": [] }, "SVGImageElement": { "inh": "SVGGraphicsElement", "impl": [] }, "SVGLength": { "inh": "", "impl": [] }, "SVGLengthList": { "inh": "", "impl": [] }, "SVGLinearGradientElement": { "inh": "SVGGradientElement", "impl": [] }, "SVGLineElement": { "inh": "SVGGeometryElement", "impl": [] }, "SVGMarkerElement": { "inh": "SVGElement", "impl": [] }, "SVGMaskElement": { "inh": "SVGElement", "impl": [] }, "SVGMetadataElement": { "inh": "SVGElement", "impl": [] }, "SVGMPathElement": { "inh": "SVGElement", "impl": [] }, "SVGNumber": { "inh": "", "impl": [] }, "SVGNumberList": { "inh": "", "impl": [] }, "SVGPathElement": { "inh": "SVGGeometryElement", "impl": [] }, "SVGPatternElement": { "inh": "SVGElement", "impl": [] }, "SVGPointList": { "inh": "", "impl": [] }, "SVGPolygonElement": { "inh": "SVGGeometryElement", "impl": [] }, "SVGPolylineElement": { "inh": "SVGGeometryElement", "impl": [] }, "SVGPreserveAspectRatio": { "inh": "", "impl": [] }, "SVGRadialGradientElement": { "inh": "SVGGradientElement", "impl": [] }, "SVGRectElement": { "inh": "SVGGeometryElement", "impl": [] }, "SVGScriptElement": { "inh": "SVGElement", "impl": [] }, "SVGSetElement": { "inh": "SVGAnimationElement", "impl": [] }, "SVGStopElement": { "inh": "SVGElement", "impl": [] }, "SVGStringList": { "inh": "", "impl": [] }, "SVGStyleElement": { "inh": "SVGElement", "impl": [] }, "SVGSVGElement": { "inh": "SVGGraphicsElement", "impl": [] }, "SVGSwitchElement": { "inh": "SVGGraphicsElement", "impl": [] }, "SVGSymbolElement": { "inh": "SVGGraphicsElement", "impl": [] }, "SVGTextContentElement": { "inh": "SVGGraphicsElement", "impl": [] }, "SVGTextElement": { "inh": "SVGTextPositioningElement", "impl": [] }, "SVGTextPathElement": { "inh": "SVGTextContentElement", "impl": [] }, "SVGTextPositioningElement": { "inh": "SVGTextContentElement", "impl": [] }, "SVGTitleElement": { "inh": "SVGElement", "impl": [] }, "SVGTransform": { "inh": "", "impl": [] }, "SVGTransformList": { "inh": "", "impl": [] }, "SVGTSpanElement": { "inh": "SVGTextPositioningElement", "impl": [] }, "SVGUnitTypes": { "inh": "", "impl": [] }, "SVGUseElement": { "inh": "SVGGraphicsElement", "impl": [] }, "SVGUseElementShadowRoot": { "inh": "ShadowRoot", "impl": [] }, "SVGViewElement": { "inh": "SVGElement", "impl": [] }, "SyncEvent": { "inh": "ExtendableEvent", "impl": [] }, "SyncManager": { "inh": "", "impl": [] }, "Table": { "inh": "", "impl": [] }, "TaskAttributionTiming": { "inh": "PerformanceEntry", "impl": [] }, "TaskController": { "inh": "AbortController", "impl": [] }, "TaskPriorityChangeEvent": { "inh": "Event", "impl": [] }, "TaskSignal": { "inh": "AbortSignal", "impl": [] }, "Text": { "inh": "CharacterData", "impl": [] }, "TextDecoder": { "inh": "", "impl": [] }, "TextDecoderStream": { "inh": "", "impl": [] }, "TextDetector": { "inh": "", "impl": [] }, "TextEncoder": { "inh": "", "impl": [] }, "TextEncoderStream": { "inh": "", "impl": [] }, "TextFormat": { "inh": "", "impl": [] }, "TextFormatUpdateEvent": { "inh": "Event", "impl": [] }, "TextMetrics": { "inh": "", "impl": [] }, "TextTrack": { "inh": "EventTarget", "impl": [] }, "TextTrackCue": { "inh": "EventTarget", "impl": [] }, "TextTrackCueList": { "inh": "", "impl": [] }, "TextTrackList": { "inh": "EventTarget", "impl": [] }, "TextUpdateEvent": { "inh": "Event", "impl": [] }, "TimeEvent": { "inh": "Event", "impl": [] }, "TimeRanges": { "inh": "", "impl": [] }, "ToggleEvent": { "inh": "Event", "impl": [] }, "Touch": { "inh": "", "impl": [] }, "TouchEvent": { "inh": "UIEvent", "impl": [] }, "TouchList": { "inh": "", "impl": [] }, "TrackEvent": { "inh": "Event", "impl": [] }, "TransformStream": { "inh": "", "impl": [] }, "TransformStreamDefaultController": { "inh": "", "impl": [] }, "TransitionEvent": { "inh": "Event", "impl": [] }, "TreeWalker": { "inh": "", "impl": [] }, "TrustedHTML": { "inh": "", "impl": [] }, "TrustedScript": { "inh": "", "impl": [] }, "TrustedScriptURL": { "inh": "", "impl": [] }, "TrustedTypePolicy": { "inh": "", "impl": [] }, "TrustedTypePolicyFactory": { "inh": "", "impl": [] }, "UIEvent": { "inh": "Event", "impl": [] }, "UncalibratedMagnetometer": { "inh": "Sensor", "impl": [] }, "URL": { "inh": "", "impl": [] }, "URLPattern": { "inh": "", "impl": [] }, "URLSearchParams": { "inh": "", "impl": [] }, "USB": { "inh": "EventTarget", "impl": [] }, "USBAlternateInterface": { "inh": "", "impl": [] }, "USBConfiguration": { "inh": "", "impl": [] }, "USBConnectionEvent": { "inh": "Event", "impl": [] }, "USBDevice": { "inh": "", "impl": [] }, "USBEndpoint": { "inh": "", "impl": [] }, "USBInterface": { "inh": "", "impl": [] }, "USBInTransferResult": { "inh": "", "impl": [] }, "USBIsochronousInTransferPacket": { "inh": "", "impl": [] }, "USBIsochronousInTransferResult": { "inh": "", "impl": [] }, "USBIsochronousOutTransferPacket": { "inh": "", "impl": [] }, "USBIsochronousOutTransferResult": { "inh": "", "impl": [] }, "USBOutTransferResult": { "inh": "", "impl": [] }, "USBPermissionResult": { "inh": "PermissionStatus", "impl": [] }, "UserActivation": { "inh": "", "impl": [] }, "ValidityState": { "inh": "", "impl": [] }, "ValueEvent": { "inh": "Event", "impl": [] }, "VideoColorSpace": { "inh": "", "impl": [] }, "VideoDecoder": { "inh": "EventTarget", "impl": [] }, "VideoEncoder": { "inh": "EventTarget", "impl": [] }, "VideoFrame": { "inh": "", "impl": [] }, "VideoPlaybackQuality": { "inh": "", "impl": [] }, "VideoTrack": { "inh": "", "impl": [] }, "VideoTrackGenerator": { "inh": "", "impl": [] }, "VideoTrackList": { "inh": "EventTarget", "impl": [] }, "ViewTimeline": { "inh": "ScrollTimeline", "impl": [] }, "ViewTransition": { "inh": "", "impl": [] }, "VirtualKeyboard": { "inh": "EventTarget", "impl": [] }, "VisibilityStateEntry": { "inh": "PerformanceEntry", "impl": [] }, "VisualViewport": { "inh": "EventTarget", "impl": [] }, "VTTCue": { "inh": "TextTrackCue", "impl": [] }, "VTTRegion": { "inh": "", "impl": [] }, "WakeLock": { "inh": "", "impl": [] }, "WakeLockSentinel": { "inh": "EventTarget", "impl": [] }, "WaveShaperNode": { "inh": "AudioNode", "impl": [] }, "WEBGL_blend_equation_advanced_coherent": { "inh": "", "impl": [] }, "WEBGL_clip_cull_distance": { "inh": "", "impl": [] }, "WEBGL_color_buffer_float": { "inh": "", "impl": [] }, "WEBGL_compressed_texture_astc": { "inh": "", "impl": [] }, "WEBGL_compressed_texture_etc": { "inh": "", "impl": [] }, "WEBGL_compressed_texture_etc1": { "inh": "", "impl": [] }, "WEBGL_compressed_texture_pvrtc": { "inh": "", "impl": [] }, "WEBGL_compressed_texture_s3tc": { "inh": "", "impl": [] }, "WEBGL_compressed_texture_s3tc_srgb": { "inh": "", "impl": [] }, "WEBGL_debug_renderer_info": { "inh": "", "impl": [] }, "WEBGL_debug_shaders": { "inh": "", "impl": [] }, "WEBGL_depth_texture": { "inh": "", "impl": [] }, "WEBGL_draw_buffers": { "inh": "", "impl": [] }, "WEBGL_draw_instanced_base_vertex_base_instance": { "inh": "", "impl": [] }, "WEBGL_lose_context": { "inh": "", "impl": [] }, "WEBGL_multi_draw": { "inh": "", "impl": [] }, "WEBGL_multi_draw_instanced_base_vertex_base_instance": { "inh": "", "impl": [] }, "WEBGL_provoking_vertex": { "inh": "", "impl": [] }, "WebGL2RenderingContext": { "inh": "", "impl": [] }, "WebGLActiveInfo": { "inh": "", "impl": [] }, "WebGLBuffer": { "inh": "WebGLObject", "impl": [] }, "WebGLContextEvent": { "inh": "Event", "impl": [] }, "WebGLFramebuffer": { "inh": "WebGLObject", "impl": [] }, "WebGLObject": { "inh": "", "impl": [] }, "WebGLProgram": { "inh": "WebGLObject", "impl": [] }, "WebGLQuery": { "inh": "WebGLObject", "impl": [] }, "WebGLRenderbuffer": { "inh": "WebGLObject", "impl": [] }, "WebGLRenderingContext": { "inh": "", "impl": [] }, "WebGLSampler": { "inh": "WebGLObject", "impl": [] }, "WebGLShader": { "inh": "WebGLObject", "impl": [] }, "WebGLShaderPrecisionFormat": { "inh": "", "impl": [] }, "WebGLSync": { "inh": "WebGLObject", "impl": [] }, "WebGLTexture": { "inh": "WebGLObject", "impl": [] }, "WebGLTimerQueryEXT": { "inh": "WebGLObject", "impl": [] }, "WebGLTransformFeedback": { "inh": "WebGLObject", "impl": [] }, "WebGLUniformLocation": { "inh": "", "impl": [] }, "WebGLVertexArrayObject": { "inh": "WebGLObject", "impl": [] }, "WebGLVertexArrayObjectOES": { "inh": "WebGLObject", "impl": [] }, "WebSocket": { "inh": "EventTarget", "impl": [] }, "WebTransport": { "inh": "", "impl": [] }, "WebTransportBidirectionalStream": { "inh": "", "impl": [] }, "WebTransportDatagramDuplexStream": { "inh": "", "impl": [] }, "WebTransportError": { "inh": "DOMException", "impl": [] }, "WebTransportReceiveStream": { "inh": "ReadableStream", "impl": [] }, "WebTransportSendGroup": { "inh": "", "impl": [] }, "WebTransportSendStream": { "inh": "WritableStream", "impl": [] }, "WebTransportWriter": { "inh": "WritableStreamDefaultWriter", "impl": [] }, "WGSLLanguageFeatures": { "inh": "", "impl": [] }, "WheelEvent": { "inh": "MouseEvent", "impl": [] }, "Window": { "inh": "EventTarget", "impl": [] }, "WindowClient": { "inh": "Client", "impl": [] }, "WindowControlsOverlay": { "inh": "EventTarget", "impl": [] }, "WindowControlsOverlayGeometryChangeEvent": { "inh": "Event", "impl": [] }, "WindowSharedStorage": { "inh": "SharedStorage", "impl": [] }, "Worker": { "inh": "EventTarget", "impl": [] }, "WorkerGlobalScope": { "inh": "EventTarget", "impl": [] }, "WorkerLocation": { "inh": "", "impl": [] }, "WorkerNavigator": { "inh": "", "impl": [] }, "Worklet": { "inh": "", "impl": [] }, "WorkletAnimation": { "inh": "Animation", "impl": [] }, "WorkletAnimationEffect": { "inh": "", "impl": [] }, "WorkletGlobalScope": { "inh": "", "impl": [] }, "WorkletGroupEffect": { "inh": "", "impl": [] }, "WorkletSharedStorage": { "inh": "SharedStorage", "impl": [] }, "WritableStream": { "inh": "", "impl": [] }, "WritableStreamDefaultController": { "inh": "", "impl": [] }, "WritableStreamDefaultWriter": { "inh": "", "impl": [] }, "XMLDocument": { "inh": "Document", "impl": [] }, "XMLHttpRequest": { "inh": "XMLHttpRequestEventTarget", "impl": [] }, "XMLHttpRequestEventTarget": { "inh": "EventTarget", "impl": [] }, "XMLHttpRequestUpload": { "inh": "XMLHttpRequestEventTarget", "impl": [] }, "XMLSerializer": { "inh": "", "impl": [] }, "XPathEvaluator": { "inh": "", "impl": [] }, "XPathExpression": { "inh": "", "impl": [] }, "XPathResult": { "inh": "", "impl": [] }, "XRAnchor": { "inh": "", "impl": [] }, "XRAnchorSet": { "inh": "", "impl": [] }, "XRBoundedReferenceSpace": { "inh": "XRReferenceSpace", "impl": [] }, "XRCamera": { "inh": "", "impl": [] }, "XRCompositionLayer": { "inh": "XRLayer", "impl": [] }, "XRCPUDepthInformation": { "inh": "XRDepthInformation", "impl": [] }, "XRCubeLayer": { "inh": "XRCompositionLayer", "impl": [] }, "XRCylinderLayer": { "inh": "XRCompositionLayer", "impl": [] }, "XRDepthInformation": { "inh": "", "impl": [] }, "XREquirectLayer": { "inh": "XRCompositionLayer", "impl": [] }, "XRFrame": { "inh": "", "impl": [] }, "XRHand": { "inh": "", "impl": [] }, "XRHitTestResult": { "inh": "", "impl": [] }, "XRHitTestSource": { "inh": "", "impl": [] }, "XRInputSource": { "inh": "", "impl": [] }, "XRInputSourceArray": { "inh": "", "impl": [] }, "XRInputSourceEvent": { "inh": "Event", "impl": [] }, "XRInputSourcesChangeEvent": { "inh": "Event", "impl": [] }, "XRJointPose": { "inh": "XRPose", "impl": [] }, "XRJointSpace": { "inh": "XRSpace", "impl": [] }, "XRLayer": { "inh": "EventTarget", "impl": [] }, "XRLayerEvent": { "inh": "Event", "impl": [] }, "XRLightEstimate": { "inh": "", "impl": [] }, "XRLightProbe": { "inh": "EventTarget", "impl": [] }, "XRMediaBinding": { "inh": "", "impl": [] }, "XRMesh": { "inh": "", "impl": [] }, "XRMeshSet": { "inh": "", "impl": [] }, "XRPermissionStatus": { "inh": "PermissionStatus", "impl": [] }, "XRPlane": { "inh": "", "impl": [] }, "XRPlaneSet": { "inh": "", "impl": [] }, "XRPose": { "inh": "", "impl": [] }, "XRProjectionLayer": { "inh": "XRCompositionLayer", "impl": [] }, "XRQuadLayer": { "inh": "XRCompositionLayer", "impl": [] }, "XRRay": { "inh": "", "impl": [] }, "XRReferenceSpace": { "inh": "XRSpace", "impl": [] }, "XRReferenceSpaceEvent": { "inh": "Event", "impl": [] }, "XRRenderState": { "inh": "", "impl": [] }, "XRRigidTransform": { "inh": "", "impl": [] }, "XRSession": { "inh": "EventTarget", "impl": [] }, "XRSessionEvent": { "inh": "Event", "impl": [] }, "XRSpace": { "inh": "EventTarget", "impl": [] }, "XRSubImage": { "inh": "", "impl": [] }, "XRSystem": { "inh": "EventTarget", "impl": [] }, "XRTransientInputHitTestResult": { "inh": "", "impl": [] }, "XRTransientInputHitTestSource": { "inh": "", "impl": [] }, "XRView": { "inh": "", "impl": [] }, "XRViewerPose": { "inh": "XRPose", "impl": [] }, "XRViewport": { "inh": "", "impl": [] }, "XRWebGLBinding": { "inh": "", "impl": [] }, "XRWebGLDepthInformation": { "inh": "XRDepthInformation", "impl": [] }, "XRWebGLLayer": { "inh": "XRLayer", "impl": [] }, "XRWebGLSubImage": { "inh": "XRSubImage", "impl": [] }, "XSLTProcessor": { "inh": "", "impl": [] } } ]
0
data/mdn-content/files
data/mdn-content/files/jsondata/SVGData.json
{ "elements": { "a": { "categories": ["containerElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "animationElements", "descriptiveElements", "shapeElements", "structuralElements", "gradientElements", "&lt;a&gt;", "&lt;clipPath&gt;", "&lt;color-profile&gt;", "&lt;cursor&gt;", "&lt;filter&gt;", "&lt;font&gt;", "&lt;font-face&gt;", "&lt;foreignObject&gt;", "&lt;image&gt;", "&lt;marker&gt;", "&lt;mask&gt;", "&lt;pattern&gt;", "&lt;script&gt;", "&lt;style&gt;", "&lt;switch&gt;", "&lt;text&gt;", "&lt;view&gt;" ] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "graphicalEventAttributes", "presentationAttributes", "xLinkAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'transform'", "'xlink:show'", "'xlink:actuate'", "'xlink:href'", "'target'" ], "interfaces": ["SVGAElement"] }, "animate": { "categories": ["animationElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["descriptiveElements"] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "animationEventAttributes", "xLinkAttributes", "animationAttributeTargetAttributes", "animationTimingAttributes", "animationValueAttributes", "animationAdditionAttributes", "'externalResourcesRequired'", "'attributeName'", "'attributeType'", "'from'", "'to'", "'dur'", "'repeatCount'" ], "interfaces": ["SVGAnimateElement"] }, "animateMotion": { "categories": ["animationElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["descriptiveElements", "&lt;mpath&gt;"] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "animationEventAttributes", "xLinkAttributes", "animationTimingAttributes", "animationValueAttributes", "animationAdditionAttributes", "'externalResourcesRequired'", "'calcMode'", "'path'", "'keyPoints'", "'rotate'", "'origin'" ], "interfaces": ["SVGAnimateMotionElement"] }, "animateTransform": { "categories": ["animationElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["descriptiveElements"] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "animationEventAttributes", "xlinkAttributes", "animationAttributeTargetAttributes", "animationTimingAttributes", "animationValueAttributes", "animationAdditionAttributes", "'externalResourcesRequired'", "'by'", "'from'", "'to'", "'type'" ], "interfaces": ["SVGAnimateTransformElement"] }, "circle": { "categories": ["basicShapeElement", "graphicsElement", "shapeElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["animationElements", "descriptiveElements"] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "graphicalEventAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'transform'", "'cx'", "'cy'", "'r'" ], "interfaces": ["SVGCircleElement"] }, "clipPath": { "categories": ["noCategory"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "animationElements", "descriptiveElements", "shapeElements", "&lt;text&gt;", "&lt;use&gt;" ] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'transform'", "'clipPathUnits'" ], "interfaces": ["SVGClipPathElement"] }, "color-profile": { "categories": ["noCategory"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["descriptiveElements"] }, "attributes": [ "coreAttributes", "xLinkAttributes", "'local'", "'name'", "'rendering-intent'", "'xlink:href'" ], "interfaces": ["SVGColorProfileElement"] }, "cursor": { "categories": ["noCategory"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["descriptiveElements"] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "xLinkAttributes", "'externalResourcesRequired'", "'x'", "'y'", "'xlink:href'" ], "interfaces": ["SVGCursorElement"] }, "defs": { "categories": ["containerElement", "structuralElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "animationElements", "descriptiveElements", "shapeElements", "structuralElements", "gradientElements", "&lt;a&gt;", "&lt;clipPath&gt;", "&lt;color-profile&gt;", "&lt;cursor&gt;", "&lt;filter&gt;", "&lt;font&gt;", "&lt;font-face&gt;", "&lt;foreignObject&gt;", "&lt;image&gt;", "&lt;marker&gt;", "&lt;mask&gt;", "&lt;pattern&gt;", "&lt;script&gt;", "&lt;style&gt;", "&lt;switch&gt;", "&lt;text&gt;", "&lt;view&gt;" ] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "graphicalEventAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'transform'" ], "interfaces": ["SVGDefsElement"] }, "desc": { "categories": ["descriptiveElement"], "content": { "description": "anyElementsOrCharacterData" }, "attributes": ["coreAttributes", "'class'", "'style'"], "interfaces": ["SVGDescElement"] }, "ellipse": { "categories": ["basicShapeElement", "graphicsElement", "shapeElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["animationElements", "descriptiveElements"] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "graphicalEventAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'transform'", "'cx'", "'cy'", "'rx'", "'ry'" ], "interfaces": ["SVGEllipseElement"] }, "feBlend": { "categories": ["filterPrimitiveElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": [ "coreAttributes", "presentationAttributes", "filterAttributes", "'class'", "'style'", "'in'", "'in2'", "'mode'" ], "interfaces": ["SVGFEBlendElement"] }, "feColorMatrix": { "categories": ["filterPrimitiveElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": [ "coreAttributes", "presentationAttributes", "filterAttributes", "'class'", "'style'", "'in'", "'type'", "'values'" ], "interfaces": ["SVGFEColorMatrixElement"] }, "feComponentTransfer": { "categories": ["filterPrimitiveElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "&lt;feFuncA&gt;", "&lt;feFuncR&gt;", "&lt;feFuncB&gt;", "&lt;feFuncG&gt;" ] }, "attributes": [ "coreAttributes", "presentationAttributes", "filterAttributes", "'class'", "'style'", "'in'" ], "interfaces": ["SVGFEComponentTransferElement"] }, "feComposite": { "categories": ["filterPrimitiveElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": [ "coreAttributes", "presentationAttributes", "filterAttributes", "'class'", "'style'", "'in'", "'in2'", "'operator'", "'k1'", "'k2'", "'k3'", "'k4'" ], "interfaces": ["SVGFECompositeElement"] }, "feConvolveMatrix": { "categories": ["filterPrimitiveElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": [ "coreAttributes", "presentationAttributes", "filterAttributes", "'class'", "'style'", "'in'", "'order'", "'kernelMatrix'", "'divisor'", "'bias'", "'targetX'", "'targetY'", "'edgeMode'", "'kernelUnitLength'", "'preserveAlpha'" ], "interfaces": ["SVGFEConvolveMatrixElement"] }, "feDiffuseLighting": { "categories": ["filterPrimitiveElement"], "content": { "description": { "en-US": "Any number of <a href=\"/en-US/SVG/Element#descriptive\">descriptive elements</a> and exactly one <a href=\"/en-US/SVG/Element#lightsource\">light source element</a>, in any order.", "zh-CN": "\u4efb\u610f\u6570\u91cf\u7684<a href=\"/zh-CN/SVG/Element#descriptive\">\u63cf\u8ff0\u6027\u5143\u7d20</a>\u4ee5\u53ca\u4e0d\u591a\u4e0d\u5c11\u4e00\u4e2a<a href=\"/en-US/SVG/Element#lightsource\">\u5149\u6e90\u5143\u7d20</a>\uff0c\u987a\u5e8f\u4e0d\u9650\u3002", "pt-BR": "Qualquer número de <a href=\"/pt-BR/SVG/Element#descriptive\">elementos descritivos</a> e exatamente um <a href=\"/pt-BR/SVG/Element#lightsource\">elemento de fonte de luz</a>, em qualquer ordem." } }, "attributes": [ "coreAttributes", "presentationAttributes", "filterAttributes", "'class'", "'style'", "'in'", "'surfaceScale'", "'diffuseConstant'", "'kernelUnitLength'" ], "interfaces": ["SVGFEDiffuseLightingElement"] }, "feDisplacementMap": { "categories": ["filterPrimitiveElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": [ "coreAttributes", "presentationAttributes", "filterAttributes", "'class'", "'style'", "'in'", "'in2'", "'scale'", "'xChannelSelector'", "'yChannelSelector'" ], "interfaces": ["SVGFEDisplacementMapElement"] }, "feDistantLight": { "categories": ["lightSourceElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": ["coreAttributes", "'azimuth'", "'elevation'"], "interfaces": ["SVGFEDistantLightElement"] }, "feDropShadow": { "categories": ["filterPrimitiveElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;script&gt;", "&lt;set&gt;"] }, "attributes": [ "coreAttributes", "presentationAttributes", "filterPrimitiveAttributes", "'class'", "'style'", "'in'", "'stdDeviation'", "'dx'", "'dy'" ], "interfaces": ["SVGFEDropShadowElement"] }, "feFlood": { "categories": ["filterPrimitiveElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": [ "coreAttributes", "presentationAttributes", "filterAttributes", "'class'", "'style'", "'flood-color'", "'flood-opacity'" ], "interfaces": ["SVGFEFloodElement"] }, "feFuncA": { "categories": ["noCategory"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": ["coreAttributes", "transferFunctionAttributes"], "interfaces": ["SVGFEFuncAElement"] }, "feFuncB": { "categories": ["noCategory"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": ["coreAttributes", "transferFunctionAttributes"], "interfaces": ["SVGFEFuncBElement"] }, "feFuncG": { "categories": ["noCategory"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": ["coreAttributes", "transferFunctionAttributes"], "interfaces": ["SVGFEFuncGElement"] }, "feFuncR": { "categories": ["noCategory"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": ["coreAttributes", "transferFunctionAttributes"], "interfaces": ["SVGFEFuncRElement"] }, "feGaussianBlur": { "categories": ["filterPrimitiveElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": [ "coreAttributes", "presentationAttributes", "filterAttributes", "'class'", "'style'", "'in'", "'stdDeviation'" ], "interfaces": ["SVGFEGaussianBlurElement"] }, "feImage": { "categories": ["filterPrimitiveElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "&lt;animate&gt;", "&lt;animateTransform&gt;", "&lt;set&gt;" ] }, "attributes": [ "coreAttributes", "presentationAttributes", "filterAttributes", "xLinkAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'preserveAspectRatio'", "'xlink:href'" ], "interfaces": ["SVGFEImageElement"] }, "feMerge": { "categories": ["filterPrimitiveElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;feMergeNode&gt;"] }, "attributes": [ "coreAttributes", "presentationAttributes", "filterAttributes", "'class'", "'style'" ], "interfaces": ["SVGFEMergeElement"] }, "feMergeNode": { "categories": ["noCategory"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": ["coreAttributes", "'in'"], "interfaces": ["SVGFEMergeNodeElement"] }, "feMorphology": { "categories": ["filterPrimitiveElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": [ "coreAttributes", "presentationAttributes", "filterAttributes", "'class'", "'style'", "'in'", "'operator'", "'radius'" ], "interfaces": ["SVGFEMorphologyElement"] }, "feOffset": { "categories": ["filterPrimitiveElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": [ "coreAttributes", "presentationAttributes", "filterAttributes", "'class'", "'style'", "'in'", "'dx'", "'dy'" ], "interfaces": ["SVGFEOffsetElement"] }, "fePointLight": { "categories": ["lightSourceElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": ["coreAttributes", "'x'", "'y'", "'z'"], "interfaces": ["SVGFEPointLightElement"] }, "feSpecularLighting": { "categories": ["filterPrimitiveElement"], "content": { "description": { "en-US": "Exactly one\u00a0<a href=\"/en-US/SVG/Element#lightsource\">light source element</a>\u00a0first and any number of <a href=\"/en-US/SVG/Element#descriptive\">descriptive elements</a>\u00a0in any order.", "zh-CN": "\u6709\u4e14\u53ea\u6709\u4e00\u4e2a<a href=\"/zh-CN/SVG/Element#lightsource\">\u5149\u6e90\u5143\u7d20</a>\u5728\u5148\uff0c\u4efb\u610f\u6570\u91cf\u7684<a href=\"/zh-CN/SVG/Element#descriptive\">\u63cf\u8ff0\u6027\u5143\u7d20</a>\u987a\u5e8f\u4e0d\u9650\u3002", "pt-BR": "Exatamente um primeiro\u00a0<a href=\"/pt-BR/SVG/Element#lightsource\">elemento de fonte de luz</a>\u00a0e qualquer número de <a href=\"/pt-BR/SVG/Element#descriptive\">elementos descritivos</a>\u00a0em qualquer ordem." } }, "attributes": [ "coreAttributes", "presentationAttributes", "filterAttributes", "'class'", "'style'", "'in'", "'surfaceScale'", "'specularConstant'", "'specularExponent'", "'kernelUnitLength'" ], "interfaces": ["SVGFESpecularLightingElement"] }, "feSpotLight": { "categories": ["lightSourceElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": [ "coreAttributes", "'x'", "'y'", "'z'", "'pointsAtX'", "'pointsAtY'", "'pointsAtZ'", "'specularExponent'", "'limitingConeAngle'" ], "interfaces": ["SVGFESpotLightElement"] }, "feTile": { "categories": ["filterPrimitiveElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": [ "coreAttributes", "presentationAttributes", "filterAttributes", "'class'", "'style'", "'in'" ], "interfaces": ["SVGFETileElement"] }, "feTurbulence": { "categories": ["filterPrimitiveElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": [ "coreAttributes", "presentationAttributes", "filterAttributes", "'class'", "'style'", "'baseFrequency'", "'numOctaves'", "'seed'", "'stitchTiles'", "'type'" ], "interfaces": ["SVGFETurbulenceElement"] }, "filter": { "categories": ["noCategory"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "descriptiveElements", "filterPrimitiveElements", "&lt;animate&gt;", "&lt;set&gt;" ] }, "attributes": [ "coreAttributes", "presentationAttributes", "xLinkAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'x'", "'y'", "'width'", "'height'", "'filterUnits'", "'primitiveUnits'", "'xlink:href'" ], "interfaces": ["SVGFilterElement"] }, "font": { "categories": ["fontElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "descriptiveElements", "&lt;font-face&gt;", "&lt;glyph&gt;", "&lt;hkern&gt;", "&lt;missing-glyph&gt;", "&lt;vkern&gt;" ] }, "attributes": [ "coreAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'horiz-origin-x'", "'horiz-origin-y'", "'horiz-adv-x'", "'vert-origin-x'", "'vert-origin-y'", "'vert-adv-y'" ], "interfaces": ["SVGFontElement"] }, "font-face": { "categories": ["fontElement"], "content": { "description": { "en-US": "Any number of <a href=\"/en-US/SVG/Element#descriptive\">descriptive elements</a>\u00a0\u00bb and at most one <a href=\"/en-US/docs/Web/SVG/Element/font-face\" title=\"The font-face element corresponds to the CSS @font-face declaration. It defines a font's outer properties.\"><code>&lt;font-face&gt;</code></a> element, in any order.", "pt-BR": "Qualquer número de <a href=\"/pt-BR/SVG/Element#descriptive\">elementos descritivos</a>\u00a0\u00bb e pelo menos um <a href=\"/pt-BR/docs/Web/SVG/Element/font-face\" title=\"O elemento font-face element corresponde à declaração CSS @font-face. Ele define as propriedades externas da fonte.\"><code>&lt;font-face&gt;</code></a>, em qualquer ordem." } }, "attributes": [ "coreAttributes", "'font-family'", "'font-style'", "'font-variant'", "'font-weight'", "'font-stretch'", "'font-size'", "'unicode-range'", "'units-per-em'", "'panose-1'", "'stemv'", "'stemh'", "'slope'", "'cap-height'", "'x-height'", "'accent-height'", "'ascent'", "'descent'", "'widths'", "'bbox'", "'ideographic'", "'alphabetic'", "'mathematical'", "'hanging'", "'v-ideographic'", "'v-alphabetic'", "'v-mathematical'", "'v-hanging'", "'underline-position'", "'underline-thickness'", "'strikethrough-position'", "'strikethrough-thickness'", "'overline-position'", "'overline-thickness'" ], "interfaces": ["SVGFontFaceElement"] }, "font-face-format": { "categories": ["fontElement"], "content": { "description": "empty" }, "attributes": ["coreAttributes", "'string'"], "interfaces": ["SVGFontFaceFormatElement"] }, "font-face-name": { "categories": ["noCategory"], "content": { "description": "empty" }, "attributes": ["coreAttributes", "'name'"], "interfaces": ["SVGFontFaceNameElement"] }, "font-face-src": { "categories": ["fontElement"], "content": { "description": { "en-US": "One or more of the following elements, in any order:", "zh-CN": "\u4e00\u4e2a\u6216\u591a\u4e2a\u4e0b\u5217\u5143\u7d20\uff0c\u987a\u5e8f\u4e0d\u9650\uff1a", "pt-BR": "Um ou mais dos seguintes elementos, em qualquer ordem:" }, "elements": ["&lt;font-face-name&gt;", "&lt;font-face-uri&gt;"] }, "attributes": ["coreAttributes"], "interfaces": ["SVGFontFaceSrcElement"] }, "font-face-uri": { "categories": ["fontElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;font-face-format&gt;"] }, "attributes": ["coreAttributes", "xLinkAttributes", "'xlink:href'"], "interfaces": ["SVGFontFaceUriElement"] }, "foreignObject": { "categories": ["noCategory"], "content": { "description": "anyElementsOrCharacterData" }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "graphicalEventAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'transform'", "'x'", "'y'", "'width'", "'height'" ], "interfaces": ["SVGForeignObjectElement"] }, "g": { "categories": ["containerElement", "structuralElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "animationElements", "descriptiveElements", "shapeElements", "structuralElements", "gradientElements", "&lt;a&gt;", "&lt;clipPath&gt;", "&lt;color-profile&gt;", "&lt;cursor&gt;", "&lt;filter&gt;", "&lt;font&gt;", "&lt;font-face&gt;", "&lt;foreignObject&gt;", "&lt;image&gt;", "&lt;marker&gt;", "&lt;mask&gt;", "&lt;pattern&gt;", "&lt;script&gt;", "&lt;style&gt;", "&lt;switch&gt;", "&lt;text&gt;", "&lt;view&gt;" ] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "graphicalEventAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'transform'" ], "interfaces": ["SVGGElement"] }, "glyph": { "categories": ["textContentElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "animationElements", "descriptiveElements", "shapeElements", "structuralElements", "gradientElements", "&lt;a&gt;", "&lt;clipPath&gt;", "&lt;color-profile&gt;", "&lt;cursor&gt;", "&lt;filter&gt;", "&lt;font&gt;", "&lt;font-face&gt;", "&lt;foreignObject&gt;", "&lt;image&gt;", "&lt;marker&gt;", "&lt;mask&gt;", "&lt;pattern&gt;", "&lt;script&gt;", "&lt;style&gt;", "&lt;switch&gt;", "&lt;text&gt;", "&lt;view&gt;" ] }, "attributes": [ "coreAttributes", "presentationAttributes", "'class'", "'style'", "'d'", "'horiz-adv-x'", "'vert-origin-x'", "'vert-origin-y'", "'vert-adv-y'", "'unicode'", "'glyph-name'", "'orientation'", "'arabic-form'", "'lang'" ], "interfaces": ["SVGGlyphElement"] }, "glyphRef": { "categories": ["textContentElement"], "content": { "description": "empty" }, "attributes": [ "coreAttributes", "presentationAttributes", "xLinkAttributes", "'class'", "'style'", "'x'", "'y'", "'dx'", "'dy'", "'glyphRef'", "'format'", "'xlink:href'" ], "interfaces": ["SVGGlyphRefElement"] }, "hatch": { "categories": ["neverRenderedElement", "paintServerElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "animationElements", "descriptiveElements", "&lt;hatchpath&gt;", "&lt;script&gt;", "&lt;style&gt;" ] }, "attributes": [ "coreAttributes", "globalEventAttributes", "presentationAttributes", "styleAttributes", "'x'", "'y'", "'pitch'", "'rotate'", "'hatchUnits'", "'hatchContentUnits'", "'transform'", "'href'" ], "interfaces": ["SVGHatchElement"] }, "hatchpath": { "categories": ["noCategory"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "animationElements", "descriptiveElements", "&lt;script&gt;", "&lt;style&gt;" ] }, "attributes": [ "coreAttributes", "globalEventAttributes", "presentationAttributes", "styleAttributes", "'d'", "'offset'" ], "interfaces": ["SVGHatchpathElement"] }, "hkern": { "categories": ["fontElement"], "content": { "description": "empty" }, "attributes": ["coreAttributes", "'u1'", "'g1'", "'u2'", "'g2'", "'k'"], "interfaces": ["SVGHKernElement"] }, "image": { "categories": ["graphicsElement", "graphicsReferencingElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["animationElements", "descriptiveElements"] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "graphicalEventAttributes", "xLinkAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'transform'", "'x'", "'y'", "'width'", "'height'", "'xlink:href'", "'preserveAspectRatio'" ], "interfaces": ["SVGImageElement"] }, "line": { "categories": ["basicShapeElement", "graphicsElement", "shapeElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["animationElements", "descriptiveElements"] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "graphicalEventAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'transform'", "'x1'", "'x2'", "'y1'", "'y2'" ], "interfaces": ["SVGLineElement"] }, "linearGradient": { "categories": ["gradientElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "descriptiveElements", "&lt;animate&gt;", "&lt;animateTransform&gt;", "&lt;set&gt;", "&lt;stop&gt;" ] }, "attributes": [ "coreAttributes", "presentationAttributes", "xLinkAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'gradientUnits'", "'gradientTransform'", "'x1'", "'y1'", "'x2'", "'y2'", "'spreadMethod'", "'xlink:href'" ], "interfaces": ["SVGLinearGradientElement"] }, "marker": { "categories": ["containerElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "animationElements", "descriptiveElements", "shapeElements", "structuralElements", "gradientElements", "&lt;a&gt;", "&lt;clipPath&gt;", "&lt;color-profile&gt;", "&lt;cursor&gt;", "&lt;filter&gt;", "&lt;font&gt;", "&lt;font-face&gt;", "&lt;foreignObject&gt;", "&lt;image&gt;", "&lt;marker&gt;", "&lt;mask&gt;", "&lt;pattern&gt;", "&lt;script&gt;", "&lt;style&gt;", "&lt;switch&gt;", "&lt;text&gt;", "&lt;view&gt;" ] }, "attributes": [ "coreAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'viewBox'", "'preserveAspectRatio'", "'transform'", "'markerUnits'", "'refX'", "'refY'", "'markerWidth'", "'markerHeight'", "'orient'" ], "interfaces": ["SVGMarkerElement"] }, "mask": { "categories": ["containerElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "animationElements", "descriptiveElements", "shapeElements", "structuralElements", "gradientElements", "&lt;a&gt;", "&lt;clipPath&gt;", "&lt;color-profile&gt;", "&lt;cursor&gt;", "&lt;filter&gt;", "&lt;font&gt;", "&lt;font-face&gt;", "&lt;foreignObject&gt;", "&lt;image&gt;", "&lt;marker&gt;", "&lt;mask&gt;", "&lt;pattern&gt;", "&lt;script&gt;", "&lt;style&gt;", "&lt;switch&gt;", "&lt;text&gt;", "&lt;view&gt;" ] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'maskUnits'", "'maskContentUnits'", "'x'", "'y'", "'width'", "'height'" ], "interfaces": ["SVGMaskElement"] }, "metadata": { "categories": ["descriptiveElement"], "content": { "description": "anyElementsOrCharacterData" }, "attributes": ["coreAttributes"], "interfaces": ["SVGMetadataElement"] }, "missing-glyph": { "categories": ["noCategory"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "animationElements", "descriptiveElements", "shapeElements", "structuralElements", "gradientElements", "&lt;a&gt;", "&lt;clipPath&gt;", "&lt;color-profile&gt;", "&lt;cursor&gt;", "&lt;filter&gt;", "&lt;font&gt;", "&lt;font-face&gt;", "&lt;foreignObject&gt;", "&lt;image&gt;", "&lt;marker&gt;", "&lt;mask&gt;", "&lt;pattern&gt;", "&lt;script&gt;", "&lt;style&gt;", "&lt;switch&gt;", "&lt;text&gt;", "&lt;view&gt;" ] }, "attributes": [ "coreAttributes", "presentationAttributes", "'class'", "'style'", "'d'", "'horiz-adv-x'", "'vert-origin-x'", "'vert-origin-y'", "'vert-adv-y'" ], "interfaces": ["SVGMissingGlyphElement"] }, "mpath": { "categories": ["animationElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["descriptiveElements"] }, "attributes": [ "coreAttributes", "xLinkAttributes", "'externalResourcesRequired'", "'xlink:href'" ], "interfaces": ["SVGMPathElement"] }, "path": { "categories": ["graphicsElement", "shapeElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["animationElements", "descriptiveElements"] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "graphicalEventAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'transform'", "'d'", "'pathLength'" ], "interfaces": ["SVGPathElement"] }, "pattern": { "categories": ["containerElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "animationElements", "descriptiveElements", "shapeElements", "structuralElements", "gradientElements", "&lt;a&gt;", "&lt;clipPath&gt;", "&lt;color-profile&gt;", "&lt;cursor&gt;", "&lt;filter&gt;", "&lt;font&gt;", "&lt;font-face&gt;", "&lt;foreignObject&gt;", "&lt;image&gt;", "&lt;marker&gt;", "&lt;mask&gt;", "&lt;pattern&gt;", "&lt;script&gt;", "&lt;style&gt;", "&lt;switch&gt;", "&lt;text&gt;", "&lt;view&gt;" ] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "presentationAttributes", "xLinkAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'viewBox'", "'patternUnits'", "'patternContentUnits'", "'patternTransform'", "'x'", "'y'", "'width'", "'height'", "'xlink:href'", "'preserveAspectRatio'" ], "interfaces": ["SVGPatternElement"] }, "polygon": { "categories": ["basicShapeElement", "graphicsElement", "shapeElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["animationElements", "descriptiveElements"] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "graphicalEventAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'transform'", "'points'" ], "interfaces": ["SVGPolygonElement"] }, "polyline": { "categories": ["basicShapeElement", "graphicsElement", "shapeElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["animationElements", "descriptiveElements"] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "graphicalEventAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'transform'", "'points'" ], "interfaces": ["SVGPolylineElement"] }, "radialGradient": { "categories": ["gradientElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "descriptiveElements", "&lt;animate&gt;", "&lt;animateTransform&gt;", "&lt;set&gt;", "&lt;stop&gt;" ] }, "attributes": [ "coreAttributes", "presentationAttributes", "xLinkAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'gradientUnits'", "'gradientTransform'", "'cx'", "'cy'", "'r'", "'fx'", "'fy'", "'spreadMethod'", "'xlink:href'" ], "interfaces": ["SVGRadialGradientElement"] }, "rect": { "categories": ["basicShapeElement", "graphicsElement", "shapeElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["animationElements", "descriptiveElements"] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "graphicalEventAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'transform'", "'x'", "'y'", "'width'", "'height'", "'rx'", "'ry'" ], "interfaces": ["SVGRectElement"] }, "script": { "categories": ["noCategory"], "content": { "description": "anyElementsOrCharacterData" }, "attributes": [ "coreAttributes", "xLinkAttributes", "'externalResourcesRequired'", "'type'", "'xlink:href'" ], "interfaces": ["SVGScriptElement"] }, "set": { "categories": ["animationElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["descriptiveElements"] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "animationEventAttributes", "xLinkAttributes", "animationAttributeTargetAttributes", "animationTimingAttributes", "'externalResourcesRequired'", "'to'" ], "interfaces": ["SVGSetElement"] }, "stop": { "categories": ["gradientElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": [ "coreAttributes", "presentationAttributes", "'class'", "'style'", "'offset'", "'stop-color'", "'stop-opacity'" ], "interfaces": ["SVGStopElement"] }, "style": { "categories": ["noCategory"], "content": { "description": "anyElementsOrCharacterData" }, "attributes": ["coreAttributes", "'type'", "'media'", "'title'"], "interfaces": ["SVGStyleElement"] }, "svg": { "categories": ["containerElement", "structuralElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "animationElements", "descriptiveElements", "shapeElements", "structuralElements", "gradientElements", "&lt;a&gt;", "&lt;clipPath&gt;", "&lt;color-profile&gt;", "&lt;cursor&gt;", "&lt;filter&gt;", "&lt;font&gt;", "&lt;font-face&gt;", "&lt;foreignObject&gt;", "&lt;image&gt;", "&lt;marker&gt;", "&lt;mask&gt;", "&lt;pattern&gt;", "&lt;script&gt;", "&lt;style&gt;", "&lt;switch&gt;", "&lt;text&gt;", "&lt;view&gt;" ] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "documentEventAttributes", "graphicalEventAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'version'", "'baseProfile'", "'x'", "'y'", "'width'", "'height'", "'preserveAspectRatio'", "'viewBox'" ], "interfaces": ["SVGSVGElement"] }, "switch": { "categories": ["containerElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "animationElements", "descriptiveElements", "shapeElements", "&lt;a&gt;", "&lt;foreignObject&gt;", "&lt;g&gt;", "&lt;image&gt;", "&lt;svg&gt;", "&lt;switch&gt;", "&lt;text&gt;", "&lt;use&gt;" ] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "graphicalEventAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'transform'", "'allowReorder'" ], "interfaces": ["SVGSwitchElement"] }, "symbol": { "categories": ["containerElement", "structuralElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": [ "animationElements", "descriptiveElements", "shapeElements", "structuralElements", "gradientElements", "&lt;a&gt;", "&lt;clipPath&gt;", "&lt;color-profile&gt;", "&lt;cursor&gt;", "&lt;filter&gt;", "&lt;font&gt;", "&lt;font-face&gt;", "&lt;foreignObject&gt;", "&lt;image&gt;", "&lt;marker&gt;", "&lt;mask&gt;", "&lt;pattern&gt;", "&lt;script&gt;", "&lt;style&gt;", "&lt;switch&gt;", "&lt;text&gt;", "&lt;view&gt;" ] }, "attributes": [ "coreAttributes", "graphicalEventAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'preserveAspectRatio'", "'viewBox'" ], "interfaces": ["SVGSymbolElement"] }, "text": { "categories": ["graphicsElement", "textContentElement"], "content": { "description": "characterDataElementsInAnyOrder", "elements": [ "animationElements", "descriptiveElements", "textContentChildElements", "&lt;a&gt;" ] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "graphicalEventAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'transform'", "'x'", "'y'", "'dx'", "'dy'", "'text-anchor'", "'rotate'", "'textLength'", "'lengthAdjust'" ], "interfaces": ["SVGTextElement"] }, "textPath": { "categories": ["textContentElement", "textContentChildElement"], "content": { "description": "characterDataElementsInAnyOrder", "elements": [ "descriptiveElements", "&lt;a&gt;", "&lt;animate&gt;", "&lt;set&gt;", "&lt;tref&gt;", "&lt;tspan&gt;" ] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "graphicalEventAttributes", "presentationAttributes", "xLinkAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'startOffset'", "'method'", "'spacing'", "'xlink:href'" ], "interfaces": ["SVGTextPathElement"] }, "title": { "categories": ["descriptiveElement"], "content": { "description": "anyElementsOrCharacterData" }, "attributes": ["coreAttributes", "'class'", "'style'"], "interfaces": ["SVGTitleElement"] }, "tref": { "categories": ["textContentElement", "textContentChildElement"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["descriptiveElements", "&lt;animate&gt;", "&lt;set&gt;"] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "graphicalEventAttributes", "presentationAttributes", "xLinkAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'xlink:href'" ], "interfaces": ["SVGTRefElement"] }, "tspan": { "categories": ["textContentElement", "textContentChildElement"], "content": { "description": "characterDataElementsInAnyOrder", "elements": [ "descriptiveElements", "&lt;a&gt;", "&lt;animate&gt;", "&lt;set&gt;", "&lt;tref&gt;", "&lt;tspan&gt;" ] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "graphicalEventAttributes", "presentationAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'x'", "'y'", "'dx'", "'dy'", "'rotate'", "'textLength'", "'lengthAdjust'" ], "interfaces": ["SVGTSpanElement"] }, "use": { "categories": [ "graphicsElement", "graphicsReferencingElement", "structuralElement" ], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["animationElements", "descriptiveElements"] }, "attributes": [ "conditionalProcessingAttributes", "coreAttributes", "graphicalEventAttributes", "presentationAttributes", "xLinkAttributes", "'class'", "'style'", "'externalResourcesRequired'", "'transform'", "'x'", "'y'", "'width'", "'height'", "'xlink:href'" ], "interfaces": ["SVGUseElement"] }, "view": { "categories": ["noCategory"], "content": { "description": "anyNumberOfElementsAnyOrder", "elements": ["descriptiveElements"] }, "attributes": [ "coreAttributes", "'externalResourcesRequired'", "'viewBox'", "'preserveAspectRatio'", "'zoomAndPan'" ], "interfaces": ["SVGViewElement"] }, "vkern": { "categories": ["fontElement"], "content": { "description": "empty" }, "attributes": ["coreAttributes", "'u1'", "'g1'", "'u2'", "'g2'", "'k'"], "interfaces": ["SVGVKernElement"] } } }
0
data/mdn-content/files
data/mdn-content/files/jsondata/L10n-Common.json
{ "Constructor": { "en-US": "Constructor", "es": "Constructor", "fr": "Constructeur", "ja": "コンストラクター", "ko": "생성자", "pt-BR": "Construtor", "ru": "Конструктор", "zh-CN": "构造函数", "zh-TW": "建構子" }, "Event_handlers": { "en-US": "Event handlers", "es": "Manejador de eventos", "fr": "Gestionnaires d'évènements", "ja": "イベントハンドラー", "ko": "이벤트 처리기", "pt-BR": "Handlers de Eventos", "ru": "Обработчики событий", "zh-CN": "事件处理器", "zh-TW": "事件處理器" }, "Events": { "en-US": "Events", "es": "Eventos", "fr": "Évènements", "ja": "イベント", "ko": "이벤트", "pt-BR": "Eventos", "ru": "События", "zh-CN": "事件", "zh-TW": "事件" }, "Guides": { "en-US": "Guides", "es": "Guías", "fr": "Guides", "ja": "ガイド", "ko": "안내서", "pt-BR": "Guias", "ru": "Руководства", "zh-CN": "指南", "zh-TW": "指南" }, "Implemented_by": { "en-US": "Implemented by", "es": "Implementado por", "fr": "Implémenté(e) par", "ja": "実装先", "ko": "구현", "pt-BR": "Implementado por", "ru": "Реализуется в", "zh-CN": "实现于", "zh-TW": "實現於" }, "Inheritance": { "en-US": "Inheritance", "es": "Herencia", "fr": "Héritage", "ja": "継承", "ko": "상속", "pt-BR": "Herança", "ru": "Наследование", "zh-CN": "继承", "zh-TW": "繼承" }, "Instance_methods": { "en-US": "Instance methods", "es": "Métodos de instancia", "fr": "Méthodes d'instance", "ja": "インスタンスメソッド", "ko": "인스턴스 메서드", "pt-BR": "Métodos de instância", "ru": "Методы экземпляра", "zh-CN": "实例方法", "zh-TW": "實體方法" }, "Instance_properties": { "en-US": "Instance properties", "es": "Propiedades de instancia", "fr": "Propriétés d'instance", "ja": "インスタンスプロパティ", "ko": "인스턴스 속성", "pt-BR": "Propriedades de instância", "ru": "Свойства экземпляра", "zh-CN": "实例属性", "zh-TW": "實體屬性" }, "Interfaces": { "en-US": "Interfaces", "es": "Interfaces", "fr": "Interfaces", "ja": "インターフェイス", "ko": "인터페이스", "pt-BR": "Interfaces", "ru": "Интерфейсы", "zh-CN": "接口", "zh-TW": "介面" }, "Methods": { "en-US": "Methods", "es": "Métodos", "fr": "Méthodes", "ja": "メソッド", "ko": "메서드", "pt-BR": "Métodos", "ru": "Методы", "zh-CN": "方法", "zh-TW": "方法" }, "MissingPage": { "en-US": "[Page not yet written]", "es": "[Página aún no escrita]", "fr": "[Page qui reste à écrire]", "ja": "[ページがまだ書かれていません]", "ko": "[페이지가 아직 작성되지 않았습니다]", "pt-BR": "[Página ainda não foi escrita]", "ru": "[Страница ещё не создана]", "zh-CN": "[页面尚未撰写]", "zh-TW": "[頁面尚未被撰寫]" }, "Properties": { "en-US": "Properties", "es": "Propiedades", "fr": "Propriétés", "ja": "プロパティ", "ko": "속성", "pt-BR": "Propriedades", "ru": "Свойства", "zh-CN": "属性", "zh-TW": "屬性" }, "Reference": { "en-US": "Reference", "es": "Referencia", "fr": "Référence", "ja": "リファレンス", "ko": "참고서", "pt-BR": "Referência", "ru": "Справочник", "zh-CN": "参考", "zh-TW": "參考" }, "Related_pages": { "en-US": "Related pages for $1", "es": "Páginas relacionadas a $1", "fr": "Pages liées à $1", "ja": "$1 に関連するページ", "ko": "$1에 대한 관련 페이지", "pt-BR": "Páginas relacionadas a $1", "ru": "Похожие страницы для $1", "zh-CN": "$1 的相关页面", "zh-TW": "$1 的相關頁面" }, "Related_pages_wo_group": { "en-US": "Related pages", "es": "Páginas relacionadas", "fr": "Pages similaires", "ja": "関連するページ", "ko": "관련 페이지", "pt-BR": "Páginas relacionadas", "ru": "Похожие страницы", "zh-CN": "相关页面", "zh-TW": "相關頁面" }, "Static_methods": { "en-US": "Static methods", "es": "Métodos estáticos", "fr": "Méthodes statiques", "ja": "静的メソッド", "ko": "정적 메서드", "pt-BR": "Métodos estáticos", "ru": "Статические методы", "zh-CN": "静态方法", "zh-TW": "靜態方法" }, "Static_properties": { "en-US": "Static properties", "es": "Propiedades estáticas", "fr": "Propriétés statiques", "ja": "静的プロパティ", "ko": "정적 속성", "pt-BR": "Propriedades estáticas", "ru": "Статические свойства", "zh-CN": "静态属性", "zh-TW": "靜態屬性" }, "TranslationCTA": { "en-US": "Our volunteers haven't translated this article into your language yet. Join us and help get the job done!", "es": "Nuestros voluntarios aún no han traducido este artículo al Español. ¡Únete a nosotros y ayuda a traducirlo!", "fr": "Nos volontaires n'ont pas encore traduit cet article en français. Rejoignez-nous et aidez-nous à le faire!", "ja": "まだボランティアによって日本語に翻訳されていない記事です。 MDN に参加して、翻訳してみませんか?", "ko": "이 문서는 아직 한국어로 번역되지 않았습니다. 저희와 함께 번역을 끝낼 수 있게 도와주세요!", "pt-BR": "Nossos voluntários ainda não traduziram este artigo para sua linguagem. Junte-se a nós e nos ajude a traduzir!", "ru": "Наши волонтёры ещё не перевели данную статью на русский язык. Присоединяйтесь к нам и помогите закончить эту работу!", "zh-CN": "此页面仍未被本地化,期待你的翻译!", "zh-TW": "此頁面仍未被本地化,期待你的翻譯!" }, "[Translate]": { "en-US": "[Translate]", "es": "[Traducir]", "fr": "[Traduire]", "ja": "[翻訳する]", "ko": "[번역하기]", "pt-BR": "[Traduzir]", "ru": "[Перевести]", "zh-CN": "[我来译!]", "zh-TW": "[我來譯!]" }, "Tutorial": { "en-US": "Tutorial", "es": "Tutorial", "fr": "Tutoriel", "ja": "チュートリアル", "ko": "튜토리얼", "ru": "Руководство", "zh-CN": "教程", "zh-TW": "教學" }, "listSeparator": { "en-US": ", ", "es": ", ", "fr": ", ", "ja": "、", "ko": ", ", "pt-BR": ", ", "ru": ", ", "zh-CN": "、", "zh-TW": "、" }, "section": { "en-US": "section", "es": "sección", "fr": "section", "ja": "セクション", "ko": "섹션", "pt-BR": "sessão", "ru": "раздел" }, "summary": { "en-US": "The documentation about this has not yet been written; please consider contributing!", "es": "La documentación acerca de este tema no ha sido escrita todavía. ¡Por favor considera contribuir!", "fr": "Cette documentation n'a pas encore été rédigée, vous pouvez aider en contribuant!", "ja": "この項目についての文書はまだ書かれていません。書いてみませんか?", "ko": "이 문서는 아직 작성되지 않았습니다. 기여해 주시겠어요?", "pt-BR": "A documentação sobre isto ainda não foi escrita; por favor considere contribuir!", "ru": "Документация об этом ещё не написана. Пожалуйста, поспособствуйте её написанию!", "zh-CN": "此文档尚未被撰写,期待你的贡献!", "zh-TW": "此說明文件尚未被撰寫,期待你的貢獻!" } }
0
data/mdn-content/files
data/mdn-content/files/jsondata/L10n-SVG.json
{ "animationAdditionAttributes": { "en-US": "Animation addition attributes", "es": "Atributos de adición de animación", "fr": "Attributs d'ajout d'animation", "ja": "アニメーション追加属性", "ko": "애니메이션 추가 속성", "pt-BR": "Atributos de animação adicionais", "ru": "Атрибуты добавления анимации", "zh-CN": "动画累加属性", "zh-TW": "動畫累加屬性" }, "animationAttributeTargetAttributes": { "en-US": "Animation attribute target attributes", "es": "Atributos de destino de atributo de animación", "fr": "Attributs de cible d'animation", "ja": "アニメーション属性対象属性", "ko": "애니메이션 속성 대상 속성", "pt-BR": "Atributos de destino do atributo da animação", "ru": "Атрибуты задания анимации", "zh-CN": "动画属性目标属性", "zh-TW": "動畫屬性目標屬性" }, "animationElement": { "en-US": "Animation element", "es": "Elemento de animación", "fr": "Élément d'animation", "ja": "アニメーション要素", "ko": "애니메이션 요소", "pt-BR": "Elemento de animação", "ru": "Элемент анимации", "zh-CN": "动画元素", "zh-TW": "動畫元素" }, "animationElements": { "en-US": "Animation elements", "es": "Elementos de animación", "fr": "Éléments d'animation", "ja": "アニメーション要素", "ko": "애니메이션 요소", "pt-BR": "Elementos de animação", "ru": "Элементы анимации", "zh-CN": "动画元素", "zh-TW": "動畫元素" }, "animationEventAttributes": { "en-US": "Animation event attributes", "es": "Atributos de eventos de animación", "fr": "Attributs d'évènement d'animation", "ja": "アニメーションイベント属性", "ko": "애니메이션 이벤트 속성", "pt-BR": "Atributos de eventos da animação", "ru": "Атрибуты событий анимации", "zh-CN": "动画事件属性", "zh-TW": "動畫事件屬性" }, "animationTimingAttributes": { "en-US": "Animation timing attributes", "es": "Atributos de tiempo de animación", "fr": "Attributs de temporisation d'animation", "ja": "アニメーションタイミング属性", "ko": "애니메이션 타이밍 속성", "pt-BR": "Atributos de cronometragem da animação", "ru": "Атрибуты времени для анимации", "zh-CN": "动画定时属性", "zh-TW": "動畫計時屬性" }, "animationValueAttributes": { "en-US": "Animation value attributes", "es": "Atributos de valor de animación", "fr": "Attributs de valeur d'animation", "ja": "アニメーション値属性", "ko": "애니메이션 값 속성", "pt-BR": "Atributos de valor de animação", "ru": "Атрибуты значений анимации", "zh-CN": "动画值属性", "zh-TW": "動畫值屬性" }, "anyElementsOrCharacterData": { "en-US": "Any elements or character data", "es": "Cualquier elemento o dato de carácter", "fr": "Tout élément ou caractère de donnée", "ja": "あらゆる要素や文字データ", "ko": "모든 요소 또는 문자 데이터", "pt-BR": "Quaisquer elementos ou dados de caracteres", "ru": "Любые элементы и символы", "zh-CN": "任意元素或字符数据", "zh-TW": "任意元素或字元資料" }, "anyNumberOfElementsAnyOrder": { "en-US": "Any number of the following elements, in any order:", "es": "Cualquier número de los siguientes elementos, en cualquier orden:", "fr": "Tout élément de cette liste, quel qu'en soit l'ordre :", "ja": "任意の数、任意の順序の以下の要素。", "ko": "순서에 상관없는 다음 요소 중 임의의 개수:", "pt-BR": "Qualquer número dos seguintes elementos, em qualquer ordem:", "ru": "Любое количество следующих элементов, в любом порядке:", "zh-CN": "任意数量、任意顺序的下列元素:", "zh-TW": "任意數量、任意順序的下列元素:" }, "anyNumberOfElementsDescriptiveElementsScriptAndTwoToFourStopElements": { "en-US": "Any number of descriptive elements, {{SVGElement(\"script\")}} and from two to four {{SVGElement(\"stop\")}} elements.", "es": "Cualquier número de elementos descriptivos, {{SVGElement(\"script\")}} y de dos a cuatro elementos de {{SVGElement(\"stop\")}}.", "fr": "N'importe quelle quantité d'éléments descriptifs, {{SVGElement(\"script\")}} et de deux à quatre éléments {{SVGElement(\"stop\")}}.", "ja": "任意の数の説明的要素、 {{SVGElement(\"script\")}} および 2 から 4 個の {{SVGElement(\"stop\")}} 要素。", "ko": "임의의 개수의 설명 요소, {{SVGElement(\"script\")}}, 그리고 2개에서 4개의 {{SVGElement(\"stop\")}} 요소.", "pt-BR": "Qualquer número de elementos descritivos, elementos {{SVGElement(\"script\")}} e de dois a quatro elementos {{SVGElement(\"stop\")}}.", "ru": "Любое количество элементов описания, {{SVGElement(\"script\")}} и от двух до четырёх элементов {{SVGElement(\"stop\")}}", "zh-CN": "任意数量的描述性元素、{{SVGElement(\"script\")}} 和 2 到 4 个 {{SVGElement(\"stop\")}} 元素。", "zh-TW": "任意數量的描述性元素、{{SVGElement(\"script\")}} 和 2 到 4 個 {{SVGElement(\"stop\")}} 元素。" }, "anyNumberOfElementsWithMeshgradientElement": { "en-US": "Any number of animation elements, descriptive elements, {{SVGElement(\"mask\")}}, {{SVGElement(\"clipPath\")}}, {{SVGElement(\"marker\")}}, {{SVGElement(\"script\")}}, and {{SVGElement(\"style\")}} elements, along with zero or one {{SVGElement(\"meshgradient\")}} element.", "es": "Cualquier número de elementos de animación, elementos descriptivos, {{SVGElement(\"mask\")}}, {{SVGElement(\"clipPath\")}}, {{SVGElement(\"marker\")}}, {{SVGElement(\"script\")}}, y {{SVGElement(\"style\")}}, junto con cero o un {{SVGElement(\"meshgradient\")}} elemento.", "fr": "N'importe quelle quantité d'éléments d'animation ou d'éléments descriptifs ou d'éléments {{SVGElement(\"mask\")}}, {{SVGElement(\"clipPath\")}}, {{SVGElement(\"marker\")}}, {{SVGElement(\"script\")}}, et {{SVGElement(\"style\")}}, ainsi que zéro ou un élément {{SVGElement(\"meshgradient\")}}.", "ja": "任意の数のアニメーション要素、説明的要素、 {{SVGElement(\"mask\")}}, {{SVGElement(\"clipPath\")}}, {{SVGElement(\"marker\")}}, {{SVGElement(\"script\")}}, {{SVGElement(\"style\")}} の各要素と 0 個または 1 個の {{SVGElement(\"meshgradient\")}} 要素。", "ko": "임의의 개수의 애니메이션 요소, 설명 요소, {{SVGElement(\"mask\")}}, {{SVGElement(\"clipPath\")}}, {{SVGElement(\"marker\")}}, {{SVGElement(\"script\")}}, 그리고 {{SVGElement(\"style\")}} 요소, 그리고 0개 또는 1개의 {{SVGElement(\"meshgradient\")}} 요소.", "pt-BR": "Qualquer número de elementos de animação, elementos descritivos, elementos {{SVGElement(\"mask\")}}, {{SVGElement(\"clipPath\")}}, {{SVGElement(\"marker\")}}, {{SVGElement(\"script\")}}, e {{SVGElement(\"style\")}}, juntamente com zero ou um elemento {{SVGElement(\"meshgradient\")}}.", "ru": "Любое количество элементов анимации, элементов описания, элементов {{SVGElement(\"mask\")}}, {{SVGElement(\"clipPath\")}}, {{SVGElement(\"marker\")}}, {{SVGElement(\"script\")}} и {{SVGElement(\"style\")}}, и не более одного элемента {{SVGElement(\"meshgradient\")}}.", "zh-CN": "任意数量的动画元素、描述性元素、{{SVGElement(\"mask\")}}、{{SVGElement(\"clipPath\")}}、{{SVGElement(\"marker\")}}、{{SVGElement(\"script\")}}、{{SVGElement(\"style\")}} 元素,以及 0 到 1 个 {{SVGElement(\"meshgradient\")}} 元素。", "zh-TW": "任意數量的動畫元素、描述性元素、{{SVGElement(\"mask\")}}、{{SVGElement(\"clipPath\")}}、{{SVGElement(\"marker\")}}、{{SVGElement(\"script\")}}、{{SVGElement(\"style\")}} 元素,以及 0 到 1 個 {{SVGElement(\"meshgradient\")}} 元素。" }, "ariaAttributes": { "en-US": "ARIA attributes", "es": "Atributos ARIA", "fr": "Attributs ARIA", "ja": "ARIA 属性", "ko": "ARIA 속성", "pt-BR": "Atributos ARIA", "ru": "ARIA-атрибуты", "zh-CN": "ARIA 属性", "zh-TW": "ARIA 屬性" }, "basicShapeElement": { "en-US": "Basic shape element", "es": "Elemento de forma básica", "fr": "Élément de forme basique", "ja": "基本シェイプ要素", "ko": "기본 모양 요소", "pt-BR": "Elemento básico de forma", "ru": "Элементы базовых фигур", "zh-CN": "基本形状元素", "zh-TW": "基本形狀元素" }, "categories": { "en-US": "Categories", "es": "Categorias", "fr": "Catégories", "ja": "カテゴリー", "ko": "카테고리", "pt-BR": "Categorias", "ru": "Категории", "zh-CN": "类别", "zh-TW": "類型" }, "characterDataElementsInAnyOrder": { "en-US": "Character data and any number of the following elements, in any order:", "es": "Datos de carácter y cualquier número de los siguientes elementos, en cualquier orden:", "fr": "Des données caractères et n'importe quelle quantité des éléments suivants, dans n'importe quel ordre :", "ja": "任意の順で文字データと任意の数の以下の要素。", "ko": "순서에 상관없는 문자 데이터와 임의의 개수의 다음 요소:", "pt-BR": "Dados de caracteres e qualquer número dos seguintes elementos, em qualquer ordem:", "ru": "Символы и любое количество следующих элементов, в любом порядке:", "zh-CN": "字符数据和任意数量、任意顺序的下列元素:", "zh-TW": "任意順序的字元資料和任意數量、任意順序的下列元素:" }, "conditionalProcessingAttributes": { "en-US": "Conditional processing attributes", "es": "Atributos de procesamiento condicional", "fr": "Attributs de traitement conditionnel", "ja": "条件処理属性", "ko": "조건부 처리 속성", "pt-BR": "Atributos de processamento condicional", "ru": "Атрибуты условной обработки", "zh-CN": "条件处理属性", "zh-TW": "條件處理屬性" }, "containerElement": { "en-US": "Container element", "es": "Elemento contenedor", "fr": "Élément conteneur", "ja": "コンテナー要素", "ko": "컨테이너 요소", "pt-BR": "Elemento recipiente", "ru": "Элемент-контейнер", "zh-CN": "容器元素", "zh-TW": "容器元素" }, "coreAttributes": { "en-US": "Core attributes", "es": "Atributos principales", "fr": "Attributs principaux", "ja": "コア属性", "ko": "핵심 속성", "pt-BR": "Atributos centrais", "ru": "Атрибуты ядра", "zh-CN": "核心属性", "zh-TW": "核心屬性" }, "descriptiveElement": { "en-US": "Descriptive element", "es": "Elemento descriptivo", "fr": "Élément descriptif", "ja": "説明的要素", "ko": "설명 요소", "pt-BR": "Elemento descritivo", "ru": "Элемент описания", "zh-CN": "描述性元素", "zh-TW": "描述性元素" }, "descriptiveElements": { "en-US": "Descriptive elements", "es": "Elementos descriptivos", "fr": "Éléments descriptifs", "ja": "説明的要素", "ko": "설명 요소", "pt-BR": "Elementos descritivos", "ru": "Элементы описания", "zh-CN": "描述性元素", "zh-TW": "描述性元素" }, "documentEventAttributes": { "en-US": "Document event attributes", "es": "Atributos de eventos de documentos", "fr": "Attributs d'évènement du document", "ja": "文書イベント属性", "ko": "문서 이벤트 속성", "pt-BR": "Atributos de eventos do documento", "ru": "Атрибуты событий документа", "zh-CN": "文档事件属性", "zh-TW": "文件事件屬性" }, "empty": { "en-US": "Empty", "es": "Vacío", "fr": "Vide", "ja": "空", "ko": "비어 있음", "pt-BR": "Vazio", "ru": "Пусто", "zh-CN": "空", "zh-TW": "空" }, "filterAttributes": { "en-US": "Filter attributes", "es": "Filtrar atributos", "fr": "Attributs de filtre", "ja": "フィルター属性", "ko": "필터 속성", "pt-BR": "Filtros de atributos", "ru": "Атрибуты фильтров", "zh-CN": "滤镜属性", "zh-TW": "濾鏡属性" }, "filterPrimitiveElement": { "en-US": "Filter primitive element", "es": "Filtrar elemento primitivo", "fr": "Élément de primitive de filtre", "ja": "フィルター構成要素", "ko": "필터 원시 요소", "pt-BR": "Elemento de filtro primitivo", "ru": "Элемент простого фильтра", "zh-CN": "滤镜元素", "zh-TW": "濾鏡元素" }, "filterPrimitiveElements": { "en-US": "Filter primitive elements", "es": "Filtrar elementos primitivos", "fr": "Éléments de primitive de filtre", "ja": "フィルター構成要素", "ko": "필터 원시 요소", "pt-BR": "Elementos de filtro primitivo", "ru": "Элементы простых фильтров", "zh-CN": "滤镜元素", "zh-TW": "濾鏡元素" }, "fontElement": { "en-US": "Font element", "es": "Elemento de fuente", "fr": "Élément de police", "ja": "フォント要素", "ko": "글꼴 요소", "pt-BR": "Elemento de fonte", "ru": "Элемент шрифта", "zh-CN": "字体元素", "zh-TW": "字型元素" }, "globalEventAttributes": { "en-US": "Global event attributes", "es": "Atributos de eventos globales", "fr": "Attributs d'évènement globaux", "ja": "グローバルイベント属性", "ko": "전역 이벤트 속성", "pt-BR": "Atributos de eventos globais", "ru": "Атрибуты глобальных событий", "zh-CN": "全局事件属性", "zh-TW": "全域事件屬性" }, "gradientElement": { "en-US": "Gradient element", "es": "Elemento degradado", "fr": "Élément de dégradé", "ja": "グラデーション要素", "ko": "그라데이션 요소", "pt-BR": "Elemento gradiente", "ru": "Элемент градиента", "zh-CN": "渐变元素", "zh-TW": "漸層元素" }, "gradientElements": { "en-US": "Gradient elements", "es": "Elementos de degradado", "fr": "Éléments de dégradés", "ja": "グラデーション要素", "ko": "그라데이션 요소", "pt-BR": "Elementos de gradiente", "ru": "Элементы градиента", "zh-CN": "渐变元素", "zh-TW": "漸層元素" }, "graphicalEventAttributes": { "en-US": "Graphical event attributes", "es": "Atributos de eventos gráficos", "fr": "Attributs d'évènement graphique", "ja": "グラフィックイベント属性", "ko": "그래픽 이벤트 속성", "pt-BR": "Atributos de eventos gráficos", "ru": "Атрибуты графических событий", "zh-CN": "图形事件属性", "zh-TW": "圖形事件屬性" }, "graphicsElement": { "en-US": "Graphics element", "es": "Elemento gráfico", "fr": "Élément graphique", "ja": "グラフィック要素", "ko": "그래픽 요소", "pt-BR": "Elemento gráfico", "ru": "Графические элементы", "zh-CN": "图形元素", "zh-TW": "圖形元素" }, "graphicsReferencingElement": { "en-US": "Graphics referencing element", "es": "Elemento de referencia de gráficos", "fr": "Elément en rapport avec les graphismes", "ja": "グラフィック参照要素", "ko": "그래픽 참조 요소", "pt-BR": "Elemento gráfico referenciado", "ru": "Элементы графики", "zh-CN": "图形引用元素", "zh-TW": "圖形參照元素" }, "info_in_preview_not_available": { "en-US": "SVG info in preview not available", "es": "Información SVG en vista previa no disponible", "fr": "Informations SVG non disponibles en prévisualisation", "ja": "SVG info はプレビューでは利用できません", "ko": "미리보기에서 SVG 정보를 사용할 수 없습니다", "pt-BR": "Informação de pré-visualização de SVG não disponível", "ru": "SVG-данные недоступны для предпросмотра", "zh-CN": "SVG 信息在预览中不可用", "zh-TW": "SVG 資訊在預覽中不可用" }, "lightSourceElement": { "en-US": "Light source element", "es": "Elemento fuente de luz", "fr": "Élément de source de lumière", "ja": "光源要素", "ko": "조명원 요소", "pt-BR": "Elemento fonte de luz", "ru": "Элемент источника света", "zh-CN": "光源元素", "zh-TW": "光源元素" }, "neverRenderedElement": { "en-US": "Never-rendered element", "es": "Elemento nunca renderizado", "fr": "Élément jamais rendu", "ja": "非描画要素", "ko": "렌더링되지 않는 요소", "pt-BR": "Elemento nunca renderizado", "ru": "Неотображаемые элементы", "zh-CN": "非渲染元素", "zh-TW": "非渲染元素" }, "noCategory": { "en-US": "None", "es": "Ninguna", "fr": "Aucune", "ja": "無し", "ko": "없음", "pt-BR": "Nenhum", "ru": "Нет", "zh-CN": "无", "zh-TW": "無" }, "paintServerElement": { "en-US": "Paint server element", "es": "Elemento de servidor de pintura", "fr": "Élément du serveur de peinture", "ja": "ペイントサーバー要素", "ko": "페인트 서버 요소", "pt-BR": "Elemento de servidor de pintura", "ru": "Элемент сервера отрисовки", "zh-CN": "绘制服务器元素", "zh-TW": "繪製伺服器元素" }, "permittedContent": { "en-US": "Permitted content", "es": "Contenido permitido", "fr": "Contenu autorisé", "ja": "許可されている内容", "ko": "허용된 콘텐츠", "pt-BR": "Conteúdo permitido", "ru": "Разрешённый контент", "zh-CN": "允许的内容", "zh-TW": "允許的內容" }, "presentationAttributes": { "en-US": "Presentation attributes", "es": "Atributos de presentación", "fr": "Attributs de présentation", "ja": "プレゼンテーション属性", "ko": "표현 속성", "pt-BR": "Atributos de apresentação", "ru": "Атрибуты отображения", "zh-CN": "表现属性", "zh-TW": "表現屬性" }, "renderableElement": { "en-US": "Renderable element", "es": "Elemento renderizable", "fr": "Élément pouvant être rendu", "ja": "描画可能要素", "ko": "렌더링 가능한 요소", "pt-BR": "Elemento renderizável", "ru": "Отображаемый элемент", "zh-CN": "可渲染元素", "zh-TW": "彩現元素" }, "shapeElement": { "en-US": "Shape element", "es": "Elemento de forma", "fr": "Élément de forme", "ja": "図形要素", "ko": "모양 요소", "pt-BR": "Elemento de forma", "ru": "Элемент фигуры", "zh-CN": "形状元素", "zh-TW": "形狀元素" }, "shapeElements": { "en-US": "Shape elements", "es": "Elementos de forma", "fr": "Éléments de formes", "ja": "図形要素", "ko": "모양 요소", "pt-BR": "Elementos de forma", "ru": "Элементы фигуры", "zh-CN": "形状元素", "zh-TW": "形狀元素" }, "structuralElement": { "en-US": "Structural element", "es": "Elemento estructural", "fr": "Élément structurel", "ja": "構造的要素", "ko": "구조 요소", "pt-BR": "elemento estrutural", "ru": "Структурный элемент", "zh-CN": "结构元素", "zh-TW": "結構元素" }, "structuralElements": { "en-US": "Structural elements", "es": "Elementos estructurales", "fr": "Éléments structurels", "ja": "構造的要素", "ko": "구조 요소", "pt-BR": "Elementos estruturais", "ru": "Структурные элементы", "zh-CN": "结构化元素", "zh-TW": "結構元素" }, "styleAttributes": { "en-US": "Style attributes", "es": "Atributos de estilo", "fr": "Attributs de style", "ja": "スタイル属性", "ko": "스타일 속성", "pt-BR": "Atributos de estilo", "ru": "Атрибуты стилизации", "zh-CN": "样式属性", "zh-TW": "樣式屬性" }, "textContentChildElement": { "en-US": "Text content child element", "es": "Elemento secundario de contenido de texto", "fr": "Élément enfant de conteneur de texte", "ja": "テキストコンテンツの子要素", "ko": "텍스트 콘텐츠 자식 요소", "pt-BR": "Elemento filho de conteúdo textual", "ru": "Дочерний элемент с текстовым контентом", "zh-CN": "文本内容子元素", "zh-TW": "文字內容子元素" }, "textContentChildElements": { "en-US": "Text content child elements", "es": "Elementos secundarios de contenido de texto", "fr": "Éléments enfants de conteneur de texte", "ja": "テキストコンテンツの子要素", "ko": "텍스트 콘텐츠 자식 요소", "pt-BR": "Elementos filhos de conteúdo de texto", "ru": "Дочерние элементы с текстовым контентом", "zh-CN": "文本内容子元素", "zh-TW": "文字內容子元素" }, "textContentElement": { "en-US": "Text content element", "es": "Elemento de contenido de texto", "fr": "Élément conteneur de texte", "ja": "テキストコンテンツ要素", "ko": "텍스트 콘텐츠 요소", "pt-BR": "Elemento de conteúdo textual", "ru": "Текстосодержащий элемент", "zh-CN": "文本内容元素", "zh-TW": "文字內容元素" }, "textContentElements": { "en-US": "Text content elements", "es": "Elementos de contenido de texto", "fr": "Éléments avec du contenu texte", "ja": "テキストコンテンツの要素", "ko": "텍스트 콘텐츠 요소", "pt-BR": "Elementos de conteúdo textual", "ru": "Текстосодержащие элементы", "zh-CN": "文字内容元素", "zh-TW": "文字內容元素" }, "transferFunctionAttributes": { "en-US": "Transfer function attributes", "es": "Atributos de la función de transferencia", "fr": "Attributs de fonction de transfert", "ja": "変換関数属性", "ko": "전송 함수 속성", "pt-BR": "Atributos de função de transferência", "ru": "Атрибуты функции передачи", "zh-CN": "变换函数属性", "zh-TW": "遞移函式屬性" }, "xLinkAttributes": { "en-US": "XLink attributes", "es": "Atributos Xlink", "fr": "Attributs XLink", "ja": "XLink 属性", "ko": "XLink 속성", "pt-BR": "Atributos Xlink", "ru": "XLink-атрибуты", "zh-CN": "XLink 属性", "zh-TW": "XLink 屬性" } }
0
data/mdn-content/files
data/mdn-content/files/jsondata/L10n-CSS.json
{ "css_ref_title": { "en-US": "CSS Reference", "es": "Referencia CSS", "fr": "Référence CSS", "ja": "CSS リファレンス", "ko": "CSS 참조", "pt-BR": "Referência CSS", "ru": "Справочник по CSS", "zh-CN": "CSS 参考", "zh-TW": "CSS 參考" }, "at_rules": { "en-US": "At-Rules", "es": "Reglas", "fr": "Règles @", "ja": "アット規則", "ko": "@규칙", "pt-BR": "Regras @", "ru": "@-правила", "zh-CN": "@ 规则", "zh-TW": "@ 規則" }, "types": { "en-US": "Data types", "es": "Tipos de datos", "fr": "Types de donnée", "ja": "データ型", "ko": "데이터 유형", "pt-BR": "Tipos de dados", "ru": "Типы данных", "zh-CN": "数据类型", "zh-TW": "資料型態" }, "missing": { "en-US": "Value not found in DB!", "es": "¡Valor no encontrado en la base de datos!", "fr": "Valeur introuvable dans la base de données", "ja": "DB に値が見つかりません!", "ko": "DB에 값이 없습니다!", "pt-BR": "Valor não encontrado na Database", "ru": "Значение не найдено в базе данных!", "zh-CN": "在数据库中找不到该值!", "zh-TW": "在資料庫中找不到該值!" }, "info_in_preview_not_available": { "en-US": "CSS info in preview not available", "es": "La información de CSS en la vista previa no está disponible", "fr": "CSS-Info n'est pas disponible en aperçu", "ja": "プレビューでは CSS info は利用できません", "ko": "미리보기에서 CSS 정보를 사용할 수 없습니다", "pt-BR": "CSS info não disponível em visualização", "ru": "CSS-данные недоступны для предпросмотра", "zh-CN": "CSS info 在预览中不可用", "zh-TW": "CSS info 在預覽中不可用" }, "tag_selectors": { "en-US": "Selectors", "es": "Selectores", "fr": "Sélecteurs", "ja": "セレクター", "ko": "선택자", "pt-BR": "Seletores", "ru": "Селекторы", "zh-CN": "选择器", "zh-TW": "選擇器" }, "Basic Selectors": { "en-US": "Basic Selectors", "es": "Selectores básicos", "fr": "Sélecteurs simples", "ja": "基本セレクター", "ko": "기본 선택자", "pt-BR": "Seletores Básicos", "ru": "Основные селекторы", "zh-CN": "基本选择器", "zh-TW": "基本選擇器" }, "Combinators": { "en-US": "Combinators", "es": "Combinadores", "fr": "Combinateurs", "ja": "結合子", "ko": "조합자", "pt-BR": "Combinadores", "ru": "Комбинаторы", "zh-CN": "组合器", "zh-TW": "組合符" }, "Pseudo-classes": { "en-US": "Pseudo-classes", "es": "Pseudo-clases", "fr": "Pseudo-classes", "ja": "擬似クラス", "ko": "의사 클래스", "pt-BR": "Pseudo-classes", "ru": "Псевдоклассы", "zh-CN": "伪类", "zh-TW": "虛擬類別" }, "Pseudo-elements": { "en-US": "Pseudo-elements", "es": "Pseudo-elementos", "fr": "Pseudo-éléments", "ja": "擬似要素", "ko": "가상 요소", "pt-BR": "Pseudo-elementos", "ru": "Псевдоэлементы", "zh-CN": "伪元素", "zh-TW": "虛擬元素" } }
0
data/mdn-content/files
data/mdn-content/files/jsondata/SpecData.json
{ "Accelerometer": { "name": "Accelerometer", "url": "https://www.w3.org/TR/accelerometer/", "status": "CR" }, "Alarm API": { "name": "Web Alarms API", "url": "https://www.w3.org/2012/sysapps/web-alarms/", "status": "Obsolete" }, "AmbientLight": { "name": "Ambient Light Sensor", "url": "https://w3c.github.io/ambient-light/", "status": "CR" }, "ARIA": { "name": "Accessible Rich Internet Applications (WAI-ARIA) 1.3", "url": "https://w3c.github.io/aria/", "status": "ED" }, "ARIA 1.1": { "name": "Accessible Rich Internet Applications (WAI-ARIA) 1.1", "url": "https://www.w3.org/TR/wai-aria-1.1/", "status": "REC" }, "ARIA 1.2": { "name": "Accessible Rich Internet Applications (WAI-ARIA) 1.2", "url": "https://www.w3.org/TR/wai-aria-1.2/", "status": "CR" }, "ARIA Authoring Practices": { "name": "WAI-ARIA Authoring Practices", "url": "https://www.w3.org/WAI/ARIA/apg/", "status": "Living" }, "ARIA Authoring Practices 1.1": { "name": "WAI-ARIA Authoring Practices 1.1", "url": "https://www.w3.org/TR/wai-aria-practices-1.1/", "status": "NOTE" }, "ARIA Authoring Practices 1.2": { "name": "WAI-ARIA Authoring Practices 1.2", "url": "https://www.w3.org/TR/wai-aria-practices-1.2/", "status": "WD" }, "ARIA in HTML": { "name": "ARIA in HTML", "url": "https://w3c.github.io/html-aria/", "status": "WD" }, "Async Function": { "name": "ECMAScript Async Functions", "url": "https://tc39.es/ecmascript-asyncawait/", "status": "Draft" }, "Async Iteration": { "name": "ECMAScript Async Iteration Functions", "url": "https://tc39.es/proposal-async-iteration/", "status": "Draft" }, "Audio Output": { "name": "Audio Output Devices API", "url": "https://w3c.github.io/mediacapture-output/", "status": "CR" }, "Background Fetch": { "name": "Background Fetch", "url": "https://wicg.github.io/background-fetch/", "status": "Draft" }, "Background Sync": { "name": "Web Background Synchronization", "url": "https://wicg.github.io/background-sync/spec/", "status": "Living" }, "Background Tasks": { "name": "Cooperative Scheduling of Background Tasks", "url": "https://www.w3.org/TR/requestidlecallback/", "status": "PR" }, "Badging API": { "name": "Badging API", "url": "https://w3c.github.io/badging/", "status": "Draft" }, "Barcode Detection API": { "name": "Accelerated Shape Detection in Images", "url": "https://wicg.github.io/shape-detection-api/", "status": "Draft" }, "Battery API": { "name": "Battery Status API", "url": "https://w3c.github.io/battery/", "status": "CR" }, "Beacon": { "name": "Beacon", "url": "https://w3c.github.io/beacon/", "status": "CR" }, "Clipboard API": { "name": "Clipboard API and events", "url": "https://w3c.github.io/clipboard-apis/", "status": "WD" }, "Compat": { "name": "Compatibility Standard", "url": "https://compat.spec.whatwg.org/", "status": "Living" }, "Compositing": { "name": "Compositing and Blending Level 1", "url": "https://drafts.fxtf.org/compositing-1/", "status": "CR" }, "Console API": { "name": "Console API", "url": "https://console.spec.whatwg.org/", "status": "Living" }, "Compression Streams": { "name": "Compression Streams", "url": "https://wicg.github.io/compression/", "status": "Draft" }, "Contacts": { "name": "Contacts Manager API", "url": "https://www.w3.org/2012/sysapps/contacts-manager-api/", "status": "Obsolete" }, "Contact Picker API": { "name": "Contact Picker API", "url": "https://wicg.github.io/contact-api/spec/", "status": "Draft" }, "Content Index API": { "name": "Content Index API", "url": "https://wicg.github.io/content-index/spec/", "status": "ED" }, "Cookie Prefixes": { "name": "Cookie Prefixes", "url": "https://datatracker.ietf.org/doc/html/draft-west-cookie-prefixes-05", "status": "Draft" }, "Cookie Store API": { "name": "Cookie Store API", "url": "https://wicg.github.io/cookie-store/", "status": "Draft" }, "Credential Management": { "name": "Credential Management Level 1", "url": "https://w3c.github.io/webappsec-credential-management/", "status": "WD" }, "CSP 1.0": { "name": "Content Security Policy 1.0", "url": "https://www.w3.org/TR/CSP1/", "status": "Obsolete" }, "CSP 1.1": { "name": "Content Security Policy Level 2", "url": "https://www.w3.org/TR/CSP2/", "status": "REC" }, "CSP 3.0": { "name": "Content Security Policy Level 3", "url": "https://w3c.github.io/webappsec-csp/", "status": "WD" }, "CSP Embedded": { "name": "Content Security Policy: Embedded Enforcement", "url": "https://w3c.github.io/webappsec-cspee/", "status": "WD" }, "CSS1": { "name": "CSS Level&nbsp;1", "url": "https://www.w3.org/TR/CSS1/", "status": "REC" }, "CSS2.1": { "name": "CSS Level&nbsp;2 (Revision&nbsp;1)", "url": "https://www.w3.org/TR/CSS2/", "status": "REC" }, "CSS2.2": { "name": "CSS Level&nbsp;2 (Revision&nbsp;2)", "url": "https://www.w3.org/TR/CSS22/", "status": "WD" }, "CSS3 Animations": { "name": "CSS Animations Level 1", "url": "https://drafts.csswg.org/css-animations-1/", "status": "WD" }, "CSS3 Animations 2": { "name": "CSS Animations Level 2", "url": "https://drafts.csswg.org/css-animations-2/", "status": "WD" }, "CSS3 Backgrounds": { "name": "CSS Backgrounds and Borders Module Level&nbsp;3", "url": "https://drafts.csswg.org/css-backgrounds-3/", "status": "CR" }, "CSS3 Basic UI": { "name": "CSS Basic User Interface Module Level&nbsp;3", "url": "https://drafts.csswg.org/css-ui-3/", "status": "REC" }, "CSS3 Basic UI 4": { "name": "CSS Basic User Interface Module Level&nbsp;4", "url": "https://drafts.csswg.org/css-ui-4/", "status": "ED" }, "CSS3 Box": { "name": "CSS Box Model", "url": "https://drafts.csswg.org/css-box-3/", "status": "CR" }, "CSS3 Box Alignment": { "name": "CSS Box Alignment Module Level 3", "url": "https://drafts.csswg.org/css-align-3/", "status": "WD" }, "CSS3 Cascade": { "name": "CSS Cascading and Inheritance Level&nbsp;3", "url": "https://drafts.csswg.org/css-cascade-3/", "status": "REC" }, "CSS3 Colors": { "name": "CSS Color Module Level&nbsp;3", "url": "https://drafts.csswg.org/css-color-3/", "status": "REC" }, "CSS3 Conditional": { "name": "CSS Conditional Rules Module Level&nbsp;3", "url": "https://drafts.csswg.org/css-conditional-3/", "status": "CR" }, "CSS3 Content": { "name": "CSS Generated Content Module Level&nbsp;3", "url": "https://drafts.csswg.org/css-content-3/", "status": "WD" }, "CSS3 Counter Styles": { "name": "CSS Counter Styles Level&nbsp;3", "url": "https://drafts.csswg.org/css-counter-styles-3/", "status": "CR" }, "CSS3 Device": { "name": "CSS Device Adaptation", "url": "https://drafts.csswg.org/css-device-adapt/", "status": "WD" }, "CSS3 Display": { "name": "CSS Display Module Level&nbsp;3", "url": "https://drafts.csswg.org/css-display/", "status": "CR" }, "CSS Easing 1": { "name": "CSS Easing Functions Level&nbsp;1", "url": "https://drafts.csswg.org/css-easing-1/", "status": "CR" }, "CSS3 Environment Variables": { "name": "CSS Environment Variables Module Level&nbsp;1", "url": "https://drafts.csswg.org/css-env-1/", "status": "ED" }, "CSS3 Font Loading": { "name": "CSS Font Loading Module Level&nbsp;3", "url": "https://drafts.csswg.org/css-font-loading/", "status": "WD" }, "CSS3 Fonts": { "name": "CSS Fonts Module Level&nbsp;3", "url": "https://drafts.csswg.org/css-fonts-3/", "status": "REC" }, "CSS3 Fragmentation": { "name": "CSS Fragmentation Module Level&nbsp;3", "url": "https://drafts.csswg.org/css-break-3/", "status": "CR" }, "CSS3 GCPM": { "name": "CSS Generated Content for Paged Media Module", "url": "https://drafts.csswg.org/css-gcpm-3/", "status": "WD" }, "CSS3 Images": { "name": "CSS Images Module Level&nbsp;3", "url": "https://drafts.csswg.org/css-images-3/", "status": "CR" }, "CSS3 Inline": { "name": "CSS Inline Layout", "url": "https://drafts.csswg.org/css-inline/", "status": "WD" }, "CSS3 Lists": { "name": "CSS Lists Module Level&nbsp;3", "url": "https://drafts.csswg.org/css-lists-3/", "status": "WD" }, "CSS3 Media Queries": { "name": "Media Queries", "url": "https://drafts.csswg.org/mediaqueries-3/", "status": "REC" }, "CSS3 Multicol": { "name": "CSS Multi-column Layout Module", "url": "https://drafts.csswg.org/css-multicol-1/", "status": "WD" }, "CSS3 Overflow": { "name": "CSS Overflow Module Level 3", "url": "https://drafts.csswg.org/css-overflow-3/", "status": "WD" }, "CSS3 Namespaces": { "name": "CSS Namespaces Module", "url": "https://drafts.csswg.org/css-namespaces-3/", "status": "REC" }, "CSS3 Paged Media": { "name": "CSS Paged Media Module Level&nbsp;3", "url": "https://drafts.csswg.org/css-page-3/", "status": "WD" }, "CSS3 Positioning": { "name": "CSS Positioned Layout Module Level&nbsp;3", "url": "https://drafts.csswg.org/css-position-3/", "status": "WD" }, "CSS3 Regions": { "name": "CSS Regions Module Level&nbsp;1", "url": "https://drafts.csswg.org/css-regions-1/", "status": "WD" }, "CSS3 Ruby": { "name": "CSS Ruby Layout Module Level&nbsp;1", "url": "https://drafts.csswg.org/css-ruby/", "status": "WD" }, "CSS3 Selectors": { "name": "Selectors Level&nbsp;3", "url": "https://drafts.csswg.org/selectors-3/", "status": "REC" }, "CSS3 Sizing": { "name": "CSS Box Sizing Module Level&nbsp;3", "url": "https://drafts.csswg.org/css-sizing-3/", "status": "WD" }, "CSS3 Speech": { "name": "CSS Speech Module", "url": "https://drafts.csswg.org/css-speech-1/", "status": "CR" }, "CSS3 Style": { "name": "CSS Style Attributes", "url": "https://drafts.csswg.org/css-style-attr/", "status": "REC" }, "CSS3 Syntax": { "name": "CSS Syntax Level&nbsp;3", "url": "https://drafts.csswg.org/css-syntax/", "status": "CR" }, "CSS3 Text": { "name": "CSS Text Module Level&nbsp;3", "url": "https://drafts.csswg.org/css-text-3/", "status": "CR" }, "CSS3 Text Decoration": { "name": "CSS Text Decoration Module Level&nbsp;3", "url": "https://drafts.csswg.org/css-text-decor-3/", "status": "CR" }, "CSS3 Transforms": { "name": "CSS Transforms Level&nbsp;1", "url": "https://drafts.csswg.org/css-transforms/", "status": "WD" }, "CSS3 Transitions": { "name": "CSS Transitions", "url": "https://drafts.csswg.org/css-transitions/", "status": "WD" }, "CSS3 Transitions Level 2": { "name": "CSS Transitions Level 2", "url": "https://drafts.csswg.org/css-transitions-2/", "status": "ED" }, "CSS3 Values": { "name": "CSS Values and Units Module Level&nbsp;3", "url": "https://drafts.csswg.org/css-values-3/", "status": "CR" }, "CSS3 Variables": { "name": "CSS Custom Properties for Cascading Variables Module Level&nbsp;1", "url": "https://www.w3.org/TR/css-variables-1/", "status": "CR" }, "CSS3 Writing Modes": { "name": "CSS Writing Modes Module Level&nbsp;3", "url": "https://drafts.csswg.org/css-writing-modes-3/", "status": "PR" }, "CSS4 Backgrounds": { "name": "CSS Backgrounds and Borders Module Level&nbsp;4", "url": "https://drafts.csswg.org/css-backgrounds-4/", "status": "ED" }, "CSS4 Basic UI": { "name": "CSS Basic User Interface Module Level&nbsp;4", "url": "https://drafts.csswg.org/css-ui-4/", "status": "WD" }, "CSS4 Box": { "name": "CSS Box Model Module Level 4", "url": "https://drafts.csswg.org/css-box-4/", "status": "ED" }, "CSS4 Cascade": { "name": "CSS Cascading and Inheritance Level&nbsp;4", "url": "https://drafts.csswg.org/css-cascade/", "status": "CR" }, "CSS4 Colors": { "name": "CSS Color Module Level&nbsp;4", "url": "https://drafts.csswg.org/css-color/", "status": "WD" }, "CSS4 Conditional": { "name": "CSS Conditional Rules Module Level&nbsp;4", "url": "https://drafts.csswg.org/css-conditional-4/", "status": "ED" }, "CSS4 Fonts": { "name": "CSS Fonts Module Level&nbsp;4", "url": "https://drafts.csswg.org/css-fonts-4/", "status": "WD" }, "CSS4 Fragmentation": { "name": "CSS Fragmentation Module Level&nbsp;4", "url": "https://drafts.csswg.org/css-break-4/", "status": "WD" }, "CSS4 Images": { "name": "CSS Images Module Level&nbsp;4", "url": "https://drafts.csswg.org/css-images-4/", "status": "WD" }, "CSS4 Media Queries": { "name": "Media Queries Level&nbsp;4", "url": "https://drafts.csswg.org/mediaqueries-4/", "status": "CR" }, "CSS4 Overflow": { "name": "CSS Overflow Module Level 4", "url": "https://drafts.csswg.org/css-overflow-4/", "status": "WD" }, "CSS4 Pseudo-Elements": { "name": "CSS Pseudo-Elements Level&nbsp;4", "url": "https://drafts.csswg.org/css-pseudo-4/", "status": "WD" }, "CSS4 Selectors": { "name": "Selectors Level&nbsp;4", "url": "https://drafts.csswg.org/selectors-4/", "status": "WD" }, "CSS4 Sizing": { "name": "CSS Box Sizing Module Level&nbsp;4", "url": "https://drafts.csswg.org/css-sizing-4/", "status": "ED" }, "CSS4 Text": { "name": "CSS Text Module Level&nbsp;4", "url": "https://drafts.csswg.org/css-text-4/", "status": "ED" }, "CSS4 Text Decoration": { "name": "CSS Text Decoration Module Level&nbsp;4", "url": "https://drafts.csswg.org/css-text-decor-4/", "status": "WD" }, "CSS4 Values": { "name": "CSS Values and Units Module Level&nbsp;4", "url": "https://drafts.csswg.org/css-values-4/", "status": "ED" }, "CSS4 Writing Modes": { "name": "CSS Writing Modes Level&nbsp;4", "url": "https://drafts.csswg.org/css-writing-modes-4/", "status": "CR" }, "CSS5 Cascade": { "name": "CSS Cascading and Inheritance Level&nbsp;5", "url": "https://drafts.csswg.org/css-cascade-5/", "status": "WD" }, "CSS5 Colors": { "name": "CSS Color Module Level&nbsp;5", "url": "https://drafts.csswg.org/css-color-5/", "status": "WD" }, "CSS5 Fonts": { "name": "CSS Fonts Module Level&nbsp;5", "url": "https://drafts.csswg.org/css-fonts-5/", "status": "WD" }, "CSS5 Media Queries": { "name": "Media Queries Level&nbsp;5", "url": "https://drafts.csswg.org/mediaqueries-5/", "status": "ED" }, "CSS Animation Worklet": { "name": "CSS Animation Worklet API", "url": "https://wicg.github.io/animation-worklet/", "status": "Draft" }, "CSS Containment": { "name": "CSS Containment Module Level 1", "url": "https://drafts.csswg.org/css-contain-1/", "status": "REC" }, "CSS Containment 2": { "name": "CSS Containment Module Level 2", "url": "https://drafts.csswg.org/css-contain-2/", "status": "WD" }, "CSS Color Adjust": { "name": "CSS Color Adjustment Module Level 1", "url": "https://drafts.csswg.org/css-color-adjust-1/", "status": "ED" }, "CSS Exclusions": { "name": "CSS Exclusions Module Level&nbsp;1", "url": "https://drafts.csswg.org/css-exclusions/", "status": "WD" }, "CSS Flexbox": { "name": "CSS Flexible Box Layout Module", "url": "https://drafts.csswg.org/css-flexbox-1/", "status": "CR" }, "CSS Font Rendering": { "name": "CSS Font Rendering Controls Module Level 1", "url": "https://tabatkins.github.io/specs/css-font-display/", "status": "Draft" }, "CSS Grid": { "name": "CSS Grid Layout", "url": "https://drafts.csswg.org/css-grid/", "status": "CR" }, "CSS Grid 2": { "name": "CSS Grid Layout Module Level 2", "url": "https://drafts.csswg.org/css-grid-2/", "status": "WD" }, "CSS Grid 3": { "name": "CSS Grid Layout Module Level 3", "url": "https://drafts.csswg.org/css-grid-3/", "status": "ED" }, "CSS Layout": { "name": "CSS Layout API Level 1", "url": "https://drafts.css-houdini.org/css-layout-api-1/", "status": "WD" }, "CSS Line Grid": { "name": "CSS Line Grid Module Level&nbsp;1", "url": "https://drafts.csswg.org/css-line-grid/", "status": "WD" }, "CSS Logical Properties": { "name": "CSS Logical Properties and Values Level&nbsp;1", "url": "https://drafts.csswg.org/css-logical/", "status": "ED" }, "CSS Masks": { "name": "CSS Masking Module Level&nbsp;1", "url": "https://drafts.fxtf.org/css-masking-1/", "status": "CR" }, "CSS Non-element Selectors": { "name": "Non-element Selectors Module Level&nbsp;1", "url": "https://drafts.csswg.org/selectors-nonelement/", "status": "WD" }, "CSS Painting API": { "name": "CSS Painting API Level 1", "url": "https://drafts.css-houdini.org/css-paint-api-1/", "status": "WD" }, "CSS Overscroll Behavior": { "name": "CSS Overscroll Behavior Module Level 1", "url": "https://drafts.csswg.org/css-overscroll-1/", "status": "WD" }, "CSS Properties and Values API": { "name": "CSS Properties and Values API Level&nbsp;1", "url": "https://drafts.css-houdini.org/css-properties-values-api-1/", "status": "WD" }, "CSS Rhythmic Sizing": { "name": "CSS Rhythmic Sizing", "url": "https://drafts.csswg.org/css-rhythm/", "status": "WD" }, "CSS Round Display": { "name": "CSS Round Display Level&nbsp;1", "url": "https://drafts.csswg.org/css-round-display/", "status": "WD" }, "CSS Scope": { "name": "CSS Scoping Module Level&nbsp;1", "url": "https://drafts.csswg.org/css-scoping/", "status": "WD" }, "CSS Scrollbars": { "name": "CSS Scrollbars Level&nbsp;1", "url": "https://drafts.csswg.org/css-scrollbars-1/", "status": "WD" }, "CSS Scroll Anchoring": { "name": "CSS Scroll Anchoring Module Level&nbsp;1", "url": "https://drafts.csswg.org/css-scroll-anchoring/", "status": "ED" }, "CSS Scroll Snap": { "name": "CSS Scroll Snap Module Level&nbsp;1", "url": "https://drafts.csswg.org/css-scroll-snap-1/", "status": "CR" }, "CSS Shadow Parts": { "name": "Shadow Parts", "url": "https://drafts.csswg.org/css-shadow-parts-1/", "status": "WD" }, "CSS Shapes": { "name": "CSS Shapes Module Level&nbsp;1", "url": "https://drafts.csswg.org/css-shapes/", "status": "CR" }, "CSS Shapes 2": { "name": "CSS Shapes Module Level&nbsp;2", "url": "https://drafts.csswg.org/css-shapes-2/", "status": "ED" }, "CSS Text Size Adjust": { "name": "CSS Mobile Text Size Adjustment Module Level&nbsp;1", "url": "https://drafts.csswg.org/css-size-adjust/", "status": "ED" }, "CSS Transforms 2": { "name": "CSS Transforms Level&nbsp;2", "url": "https://drafts.csswg.org/css-transforms-2/", "status": "ED" }, "CSS Typed OM": { "name": "CSS Typed OM Level 1", "url": "https://drafts.css-houdini.org/css-typed-om-1/", "status": "WD" }, "CSS Will Change": { "name": "CSS Will Change Module Level&nbsp;1", "url": "https://drafts.csswg.org/css-will-change/", "status": "CR" }, "CSSOM": { "name": "CSS Object Model (CSSOM)", "url": "https://drafts.csswg.org/cssom/", "status": "WD" }, "CSSOM View": { "name": "CSS Object Model (CSSOM) View Module", "url": "https://drafts.csswg.org/cssom-view/", "status": "WD" }, "Custom Scroll Restoration": { "name": "Custom Scroll Restoration - History-based API", "url": "https://majido.github.io/scroll-restoration-proposal/history-based-api.html", "status": "Draft" }, "Data Store API": { "name": "Data Store API", "url": "https://airpingu.github.io/data-store-api/index.html", "status": "Draft" }, "Device Memory": { "name": "Device Memory 1", "url": "https://w3c.github.io/device-memory/", "status": "ED" }, "Device Orientation": { "name": "DeviceOrientation Event Specification", "url": "https://w3c.github.io/deviceorientation/", "status": "ED" }, "Digest Headers": { "name": "Digest Headers", "url": "https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-digest-headers-05", "status": "Draft" }, "DOM Parsing": { "name": "DOM Parsing and Serialization", "url": "https://w3c.github.io/DOM-Parsing/", "status": "WD" }, "DOM WHATWG": { "name": "DOM", "url": "https://dom.spec.whatwg.org/", "status": "Living" }, "DOM1": { "name": "Document Object Model (DOM) Level 1 Specification", "url": "https://www.w3.org/TR/REC-DOM-Level-1/", "status": "Obsolete" }, "DOM2 Core": { "name": "Document Object Model (DOM) Level 2 Core Specification", "url": "https://www.w3.org/TR/DOM-Level-2-Core/", "status": "Obsolete" }, "DOM2 Events": { "name": "Document Object Model (DOM) Level 2 Events Specification", "url": "https://www.w3.org/TR/DOM-Level-2-Events/events.html", "status": "Obsolete" }, "DOM2 HTML": { "name": "Document Object Model (DOM) Level 2 HTML Specification", "url": "https://www.w3.org/TR/DOM-Level-2-HTML/", "status": "Obsolete" }, "DOM2 Style": { "name": "Document Object Model (DOM) Level 2 Style Specification", "url": "https://www.w3.org/TR/DOM-Level-2-Style/", "status": "Obsolete" }, "DOM2 Traversal_Range": { "name": "Document Object Model (DOM) Level 2 Traversal and Range Specification", "url": "https://www.w3.org/TR/DOM-Level-2-Traversal-Range/", "status": "Obsolete" }, "DOM3 Core": { "name": "Document Object Model (DOM) Level 3 Core Specification", "url": "https://www.w3.org/TR/DOM-Level-3-Core/", "status": "Obsolete" }, "DOM3 Events": { "name": "Document Object Model (DOM) Level 3 Events Specification", "url": "https://www.w3.org/TR/2014/WD-DOM-Level-3-Events-20140925/", "status": "Obsolete" }, "DOM3 XPath": { "name": "Document Object Model (DOM) Level 3 XPath Specification", "url": "https://www.w3.org/TR/DOM-Level-3-XPath/", "status": "REC" }, "DOM4": { "name": "DOM4", "url": "https://www.w3.org/TR/dom/", "status": "Obsolete" }, "Element Timing API": { "name": "Element Timing", "url": "https://wicg.github.io/element-timing/", "status": "ED" }, "Element Traversal": { "name": "Element Traversal Specification", "url": "https://www.w3.org/TR/ElementTraversal/", "status": "Obsolete" }, "EME": { "name": "Encrypted Media Extensions", "url": "https://w3c.github.io/encrypted-media/", "status": "REC" }, "Encoding": { "name": "Encoding", "url": "https://encoding.spec.whatwg.org/", "status": "Living" }, "ES1": { "name": "ECMAScript 1st Edition (ECMA-262)", "url": "https://www.ecma-international.org/publications/files/ECMA-ST-ARCH/ECMA-262,%201st%20edition,%20June%201997.pdf", "status": "Standard" }, "ES3": { "name": "ECMAScript 3rd Edition (ECMA-262)", "url": "https://www.ecma-international.org/publications/files/ECMA-ST-ARCH/ECMA-262,%203rd%20edition,%20December%201999.pdf", "status": "Standard" }, "ES5.1": { "name": "ECMAScript 5.1 (ECMA-262)", "url": "https://www.ecma-international.org/ecma-262/5.1/", "status": "Standard" }, "ES6": { "name": "ECMAScript 2015 (6th Edition, ECMA-262)", "url": "https://www.ecma-international.org/ecma-262/6.0/", "status": "Standard" }, "ES2016": { "name": "ECMAScript 2016 (ECMA-262)", "url": "https://www.ecma-international.org/ecma-262/7.0/", "status": "Standard" }, "ES2017": { "name": "ECMAScript 2017 (ECMA-262)", "url": "https://www.ecma-international.org/ecma-262/8.0/", "status": "Standard" }, "ES2018": { "name": "ECMAScript 2018 (ECMA-262)", "url": "https://www.ecma-international.org/ecma-262/9.0/", "status": "Standard" }, "ESDraft": { "name": "ECMAScript (ECMA-262)", "url": "https://tc39.es/ecma262/", "status": "Living" }, "ES Int 1.0": { "name": "ECMAScript Internationalization API 1.0 (ECMA-402)", "url": "https://www.ecma-international.org/ecma-402/1.0/", "status": "Standard" }, "ES Int 2.0": { "name": "ECMAScript Internationalization API 2.0 (ECMA-402)", "url": "https://www.ecma-international.org/ecma-402/2.0/", "status": "Standard" }, "ES Int Draft": { "name": "ECMAScript Internationalization API (ECMA-402)", "url": "https://tc39.es/ecma402/", "status": "Living" }, "Event Timing API": { "name": "Event Timing API", "url": "https://wicg.github.io/event-timing/", "status": "ED" }, "EyeDropper": { "name": "EyeDropper", "url": "https://wicg.github.io/eyedropper-api/", "status": "Draft" }, "Expect-CT": { "name": "Expect-CT Extension for HTTP", "url": "https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-expect-ct-08", "status": "Draft" }, "Feature Policy": { "name": "Permissions Policy", "url": "https://w3c.github.io/webappsec-permissions-policy/", "status": "ED" }, "Fetch": { "name": "Fetch", "url": "https://fetch.spec.whatwg.org/", "status": "Living" }, "Fetch Metadata": { "name": "Fetch Metadata Request Headers", "url": "https://w3c.github.io/webappsec-fetch-metadata/", "status": "ED" }, "File API": { "name": "File API", "url": "https://w3c.github.io/FileAPI/", "status": "WD" }, "File System Access API": { "name": "File System Access API", "url": "https://wicg.github.io/file-system-access/", "status": "WD" }, "File System API": { "name": "File and Directory Entries API", "url": "https://wicg.github.io/entries-api/", "status": "Draft" }, "FileSystem": { "name": "FileSystem API", "url": "https://w3c.github.io/filesystem-api/", "status": "ED" }, "Filters 1.0": { "name": "Filter Effects Module Level 1", "url": "https://drafts.fxtf.org/filter-effects/", "status": "WD" }, "Filters 2.0": { "name": "Filter Effects Module Level 2", "url": "https://drafts.fxtf.org/filter-effects-2/", "status": "ED" }, "Frame Timing": { "name": "Frame Timing", "url": "https://wicg.github.io/frame-timing/", "status": "Draft" }, "Fullscreen": { "name": "Fullscreen API", "url": "https://fullscreen.spec.whatwg.org/", "status": "Living" }, "Gamepad": { "name": "Gamepad", "url": "https://w3c.github.io/gamepad/", "status": "WD" }, "GamepadExtensions": { "name": "Gamepad Extensions", "url": "https://w3c.github.io/gamepad/extensions.html", "status": "ED" }, "Generic Sensor": { "name": "Generic Sensor API", "url": "https://www.w3.org/TR/generic-sensor/", "status": "CR" }, "Geolocation": { "name": "Geolocation API", "url": "https://w3c.github.io/geolocation-api/", "status": "REC" }, "Geometry Interfaces": { "name": "Geometry Interfaces Module Level 1", "url": "https://drafts.fxtf.org/geometry/", "status": "CR" }, "Gyroscope": { "name": "Gyroscope", "url": "https://www.w3.org/TR/gyroscope/", "status": "CR" }, "Highres Time": { "name": "High Resolution Time", "url": "https://www.w3.org/TR/hr-time-1/", "status": "REC" }, "Highres Time Level 2": { "name": "High Resolution Time Level 2", "url": "https://www.w3.org/TR/hr-time-2/", "status": "REC" }, "Highres Time Level 3": { "name": "High Resolution Time Level 3", "url": "https://w3c.github.io/hr-time/", "status": "ED" }, "HSTS": { "name": "HTTP Strict Transport Security (HSTS)", "url": "https://datatracker.ietf.org/doc/html/rfc6797", "status": "RFC" }, "HTML Editing": { "name": "HTML Editing APIs", "url": "https://w3c.github.io/editing/", "status": "ED" }, "HTML Imports": { "name": "HTML Imports", "url": "https://w3c.github.io/webcomponents/spec/imports/", "status": "WD" }, "HTML Media Capture": { "name": "HTML Media Capture", "url": "https://w3c.github.io/html-media-capture/", "status": "REC" }, "HTML Microdata": { "name": "HTML Microdata", "url": "https://w3c.github.io/microdata/", "status": "WD" }, "HTML4.01": { "name": "HTML 4.01 Specification", "url": "https://www.w3.org/TR/html401/", "status": "REC" }, "HTML5 W3C": { "name": "HTML5", "url": "https://www.w3.org/TR/html52/", "status": "REC" }, "HTML5.1": { "name": "HTML 5.1", "url": "https://www.w3.org/TR/html51/", "status": "REC" }, "HTML5.2": { "name": "HTML 5.2", "url": "https://www.w3.org/TR/html52/", "status": "REC" }, "HTML Sanitizer API": { "name": "HTML Sanitizer API", "url": "https://wicg.github.io/sanitizer-api/", "status": "WD" }, "HTML WHATWG": { "name": "HTML Living Standard", "url": "https://html.spec.whatwg.org/multipage/", "status": "Living" }, "IMSC 1.0.1": { "name": "TTML Profiles for Internet Media Subtitles and Captions 1.0.1 (IMSC1)", "url": "https://www.w3.org/TR/ttml-imsc1.0.1/", "status": "REC" }, "IMSC 1.1": { "name": "TTML Profiles for Internet Media Subtitles and Captions 1.1", "url": "https://www.w3.org/TR/ttml-imsc1.1/", "status": "PR" }, "IndexedDB": { "name": "Indexed Database API 2.0", "url": "https://www.w3.org/TR/IndexedDB/", "status": "REC" }, "IndexedDB 2": { "name": "Indexed Database API 2.0", "url": "https://www.w3.org/TR/IndexedDB/", "status": "REC" }, "IndexedDB 3": { "name": "Indexed Database API 3.0", "url": "https://w3c.github.io/IndexedDB/", "status": "ED" }, "Ink API": { "name": "Ink API", "url": "https://wicg.github.io/ink-enhancement/", "status": "Draft" }, "InputDeviceCapabilities": { "name": "InputDeviceCapabilities", "url": "https://wicg.github.io/InputDeviceCapabilities/", "status": "Draft" }, "InputEvents2": { "name": "Input Events Level 2", "url": "https://w3c.github.io/input-events/", "status": "WD" }, "IntersectionObserver": { "name": "Intersection Observer", "url": "https://w3c.github.io/IntersectionObserver/", "status": "WD" }, "Intl.DateTimeFormat.formatRange": { "name": "Intl.DateTimeFormat.formatRange", "url": "https://tc39.es/proposal-intl-DateTimeFormat-formatRange/", "status": "Draft" }, "Intl.DisplayNames": { "name": "Intl.DisplayNames", "url": "https://tc39.es/proposal-intl-displaynames/", "status": "Draft" }, "Intl.ListFormat": { "name": "Intl.ListFormat", "url": "https://tc39.es/proposal-intl-list-format/", "status": "Draft" }, "Keyboard Lock": { "name": "Keyboard Lock", "url": "https://wicg.github.io/keyboard-lock/", "status": "ED" }, "Keyboard Map": { "name": "Keyboard Map", "url": "https://wicg.github.io/keyboard-map/", "status": "ED" }, "Largest Contentful Paint": { "name": "Largest Contentful Paint", "url": "https://wicg.github.io/largest-contentful-paint/", "status": "ED" }, "Legacy RegExp features": { "name": "Legacy RegExp features in JavaScript", "url": "https://github.com/tc39/proposal-regexp-legacy-features/", "status": "Draft" }, "Linked Data Platform": { "name": "Linked Data Platform", "url": "https://www.w3.org/TR/ldp/", "status": "REC" }, "Local Font Access API": { "name": "Local Font Access API", "url": "https://wicg.github.io/local-font-access", "status": "Draft" }, "Logical Assignment": { "name": "Logical Assignment Operators", "url": "https://tc39.es/proposal-logical-assignment/", "status": "Draft" }, "Long Tasks": { "name": "Long Tasks API 1", "url": "https://w3c.github.io/longtasks/", "status": "WD" }, "Magnetometer": { "name": "Magnetometer", "url": "https://www.w3.org/TR/magnetometer/", "status": "CR" }, "Manifest": { "name": "Web App Manifest", "url": "https://w3c.github.io/manifest/", "status": "WD" }, "ManifestAppInfo": { "name": "Web App Manifest - Application Information", "url": "https://w3c.github.io/manifest-app-info/", "status": "ED" }, "MathML2": { "name": "MathML 2.0", "url": "https://www.w3.org/TR/MathML2/", "status": "REC" }, "MathML3": { "name": "MathML 3.0", "url": "https://www.w3.org/TR/MathML3/", "status": "REC" }, "MathMLCore": { "name": "MathML Core", "url": "https://mathml-refresh.github.io/mathml-core/", "status": "Draft" }, "Media Capabilities": { "name": "Media Capabilities", "url": "https://w3c.github.io/media-capabilities/", "status": "Draft" }, "Media Capture": { "name": "Media Capture and Streams", "url": "https://w3c.github.io/mediacapture-main/", "status": "CR" }, "Media Capture DOM Elements": { "name": "Media Capture from DOM Elements", "url": "https://w3c.github.io/mediacapture-fromelement/", "status": "WD" }, "Media Playback Quality": { "name": "Media Playback Quality", "url": "https://w3c.github.io/media-playback-quality/", "status": "ED" }, "Media Session": { "name": "Media Session Standard", "url": "https://w3c.github.io/mediasession/", "status": "Draft" }, "Media Source Extensions": { "name": "Media Source Extensions", "url": "https://w3c.github.io/media-source/", "status": "REC" }, "MediaStream Image": { "name": "MediaStream Image Capture", "url": "https://w3c.github.io/mediacapture-image/", "status": "WD" }, "MediaStream Recording": { "name": "MediaStream Recording", "url": "https://w3c.github.io/mediacapture-record/", "status": "WD" }, "MediaStreamTrackHint": { "name": "MediaStreamTrack Content Hints", "url": "https://wicg.github.io/mst-content-hint", "status": "Draft" }, "Messaging": { "name": "Messaging API", "url": "https://www.w3.org/2012/sysapps/messaging/", "status": "Obsolete" }, "Mixed Content": { "name": "Mixed Content", "url": "https://w3c.github.io/webappsec-mixed-content/", "status": "CR" }, "Motion Path Level 1": { "name": "Motion Path Module Level 1", "url": "https://drafts.fxtf.org/motion-1/", "status": "WD" }, "Navigation Timing": { "name": "Navigation Timing", "url": "https://www.w3.org/TR/navigation-timing/", "status": "REC" }, "Navigation Timing Level 2": { "name": "Navigation Timing Level 2", "url": "https://w3c.github.io/navigation-timing/", "status": "WD" }, "Network Information": { "name": "Network Information API", "url": "https://wicg.github.io/netinfo/", "status": "Draft" }, "OpenGL ES 2.0": { "name": "OpenGL ES 2.0", "url": "https://www.khronos.org/opengles/sdk/docs/man/xhtml/", "status": "Standard" }, "OpenGL ES 3.0": { "name": "OpenGL ES 3.0", "url": "https://www.khronos.org/opengles/sdk/docs/man3/html/", "status": "Standard" }, "Orientation Sensor": { "name": "Orientation Sensor", "url": "https://www.w3.org/TR/orientation-sensor/", "status": "CR" }, "Page Lifecycle 1": { "name": "Page Lifecycle 1", "url": "https://wicg.github.io/page-lifecycle/spec.html", "status": "Draft" }, "Paint Timing": { "name": "Paint Timing", "url": "https://w3c.github.io/paint-timing/", "status": "WD" }, "Page Visibility API": { "name": "Page Visibility (Second Edition)", "url": "https://www.w3.org/TR/page-visibility/", "status": "REC" }, "Payment": { "name": "Payment Request API", "url": "https://w3c.github.io/payment-request/", "status": "CR" }, "Payment Handler": { "name": "Payment Handler API", "url": "https://w3c.github.io/payment-handler/", "status": "WD" }, "Payment Method Identifiers": { "name": "Payment Method Identifiers", "url": "https://w3c.github.io/payment-method-id/", "status": "CR" }, "Periodic Background Sync": { "name": "Web Periodic Background Synchronization", "url": "https://wicg.github.io/periodic-background-sync/", "status": "WD" }, "Permissions API": { "name": "Permissions", "url": "https://w3c.github.io/permissions/", "status": "WD" }, "Performance Timeline": { "name": "Performance Timeline", "url": "https://www.w3.org/TR/performance-timeline/", "status": "REC" }, "Performance Timeline Level 2": { "name": "Performance Timeline Level 2", "url": "https://w3c.github.io/performance-timeline/", "status": "CR" }, "Permissions Policy": { "name": "Permissions Policy", "url": "https://w3c.github.io/webappsec-permissions-policy/", "status": "ED" }, "Picture-in-Picture": { "name": "Picture-in-Picture API", "url": "https://w3c.github.io/picture-in-picture/", "status": "Draft" }, "Pipeline operator": { "name": "Pipeline operator", "url": "https://tc39.es/proposal-pipeline-operator/", "status": "Draft" }, "Pointer Events": { "name": "Pointer Events", "url": "https://www.w3.org/TR/pointerevents1/", "status": "Obsolete" }, "Pointer Events 2": { "name": "Pointer Events – Level 2", "url": "https://www.w3.org/TR/pointerevents2/", "status": "REC" }, "Pointer Events 3": { "name": "Pointer Events – Level 3", "url": "https://w3c.github.io/pointerevents/", "status": "ED" }, "Portals": { "name": "Portals", "url": "https://wicg.github.io/portals/", "status": "ED" }, "Pointer Lock": { "name": "Pointer Lock", "url": "https://w3c.github.io/pointerlock/", "status": "CR" }, "Preload": { "name": "Preload", "url": "https://w3c.github.io/preload/", "status": "CR" }, "Presentation": { "name": "Presentation API", "url": "https://w3c.github.io/presentation-api/", "status": "CR" }, "Promise.any": { "name": "Promise.any", "url": "https://tc39.es/proposal-promise-any/", "status": "Draft" }, "Proximity Events": { "name": "Proximity Sensor", "url": "https://w3c.github.io/proximity/", "status": "WD" }, "Public and private instance fields": { "name": "Public and private instance fields", "url": "https://tc39.es/proposal-class-fields/", "status": "Draft" }, "Push API": { "name": "Push API", "url": "https://w3c.github.io/push-api/", "status": "WD" }, "Quota Management": { "name": "Quota Management API", "url": "https://w3c.github.io/quota-api/", "status": "Obsolete" }, "Referrer Policy": { "name": "Referrer Policy", "url": "https://w3c.github.io/webappsec-referrer-policy/", "status": "CR" }, "Relative Indexing Method": { "name": "Relative Indexing Method", "url": "https://tc39.es/proposal-relative-indexing-method/", "status": "Draft" }, "Remote Playback": { "name": "Remote Playback API", "url": "https://w3c.github.io/remote-playback/", "status": "CR" }, "Reporting API": { "name": "Reporting API", "url": "https://w3c.github.io/reporting/", "status": "ED" }, "RequestAnimationFrame": { "name": "Timing control for script-based animations", "url": "https://www.w3.org/TR/animation-timing/", "status": "Obsolete" }, "Resize Observer": { "name": "Resize Observer", "url": "https://drafts.csswg.org/resize-observer/", "status": "ED" }, "Resource Hints": { "name": "Resource Hints", "url": "https://www.w3.org/TR/resource-hints/", "status": "WD" }, "Resource Timing": { "name": "Resource Timing Level 1", "url": "https://www.w3.org/TR/resource-timing-1/", "status": "CR" }, "Resource Timing 2": { "name": "Resource Timing Level 2", "url": "https://www.w3.org/TR/resource-timing-2/", "status": "WD" }, "Resource Timing 3": { "name": "Resource Timing Level 3", "url": "https://w3c.github.io/resource-timing/", "status": "ED" }, "RFC 2295": { "name": "Transparent Content Negotiation in HTTP", "url": "https://www.rfc-editor.org/rfc/rfc2295", "status": "RFC" }, "RFC 2324": { "name": "Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0)", "url": "https://www.rfc-editor.org/rfc/rfc2324", "status": "RFC" }, "RFC 2774": { "name": "An HTTP Extension Framework", "url": "https://www.rfc-editor.org/rfc/rfc2774", "status": "RFC" }, "RFC 2965": { "name": "HTTP State Management Mechanism", "url": "https://www.rfc-editor.org/rfc/rfc2965", "status": "RFC" }, "RFC 4918": { "name": "HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)", "url": "https://www.rfc-editor.org/rfc/rfc4918", "status": "RFC" }, "RFC 5789": { "name": "PATCH Method for HTTP", "url": "https://www.rfc-editor.org/rfc/rfc5789", "status": "RFC" }, "RFC 5842": { "name": "Binding Extensions to Web Distributed Authoring and Versioning (WebDAV)", "url": "https://www.rfc-editor.org/rfc/rfc5842", "status": "RFC" }, "RFC 6585": { "name": "Additional HTTP Status Codes", "url": "https://www.rfc-editor.org/rfc/rfc6585", "status": "RFC" }, "RFC 7168": { "name": "The Hyper Text Coffee Pot Control Protocol for Tea Efflux Appliances (HTCPCP-TEA)", "url": "https://www.rfc-editor.org/rfc/rfc7168", "status": "RFC" }, "RFC 7486": { "name": "HTTP Origin-Bound Authentication (HOBA)", "url": "https://www.rfc-editor.org/rfc/rfc7486", "status": "RFC" }, "RFC 8288": { "name": "Web Linking", "url": "https://www.rfc-editor.org/rfc/rfc8288", "status": "RFC" }, "RFC 8297": { "name": "An HTTP Status Code for Indicating Hints", "url": "https://www.rfc-editor.org/rfc/rfc8297", "status": "RFC" }, "Screen Capture": { "name": "Screen Capture", "url": "https://w3c.github.io/mediacapture-screen-share/", "status": "WD" }, "Screen Orientation": { "name": "Screen Orientation API", "url": "https://w3c.github.io/screen-orientation/", "status": "WD" }, "Screen Wake Lock": { "name": "Screen Wake Lock API", "url": "https://w3c.github.io/screen-wake-lock/", "status": "ED" }, "Scroll Anchoring": { "name": "Scroll Anchoring", "url": "https://wicg.github.io/ScrollAnchoring/", "status": "Draft" }, "Secure Contexts": { "name": "Secure Contexts", "url": "https://w3c.github.io/webappsec-secure-contexts/", "status": "CR" }, "Selection API": { "name": "Selection API", "url": "https://w3c.github.io/selection-api/", "status": "WD" }, "Service Workers": { "name": "Service Workers", "url": "https://w3c.github.io/ServiceWorker/", "status": "WD" }, "Selectors API Level 1": { "name": "Selectors API Level 1", "url": "https://www.w3.org/TR/selectors-api/", "status": "Obsolete" }, "Selectors API Level 2": { "name": "Selectors API Level 2", "url": "https://dev.w3.org/2006/webapi/selectors-api2/", "status": "Obsolete" }, "Server Timing": { "name": "Server Timing", "url": "https://w3c.github.io/server-timing/", "status": "WD" }, "Shadow DOM": { "name": "Shadow DOM", "url": "https://w3c.github.io/webcomponents/spec/shadow/", "status": "Obsolete" }, "Shape Detection API": { "name": "Accelerated Shape Detection in Images", "url": "https://wicg.github.io/shape-detection-api/", "status": "Draft" }, "Source Map": { "name": "Source Map", "url": "https://sourcemaps.info/spec.html", "status": "Standard" }, "Static Range": { "name": "Static Range", "url": "https://w3c.github.io/staticrange/", "status": "ED" }, "Storage": { "name": "Storage", "url": "https://storage.spec.whatwg.org/", "status": "Living" }, "Streams": { "name": "Streams", "url": "https://streams.spec.whatwg.org/", "status": "Living" }, "Subresource Integrity": { "name": "Subresource Integrity", "url": "https://w3c.github.io/webappsec-subresource-integrity/", "status": "REC" }, "SVG and HTML": { "name": "Inline SVG in HTML5 and XHTML", "url": "https://dev.w3.org/SVG/proposals/svg-html/svg-html-proposal.html", "status": "ED" }, "SVG Animations 2": { "name": "SVG Animations Level&nbsp;2", "url": "https://svgwg.org/specs/animations/", "status": "ED" }, "SVG Markers": { "name": "SVG Markers", "url": "https://svgwg.org/specs/markers/", "status": "WD" }, "SVG Paths": { "name": "SVG Paths", "url": "https://svgwg.org/specs/paths/", "status": "WD" }, "SVG Strokes": { "name": "SVG Strokes", "url": "https://svgwg.org/specs/strokes/", "status": "WD" }, "SVG1.1": { "name": "Scalable Vector Graphics (SVG) 1.1 (Second Edition)", "url": "https://www.w3.org/TR/SVG11/", "status": "REC" }, "SVG2": { "name": "Scalable Vector Graphics (SVG) 2", "url": "https://svgwg.org/svg2-draft/", "status": "CR" }, "Telephony API": { "name": "Web Telephony API", "url": "https://wiki.mozilla.org/WebAPI/WebTelephony", "status": "Draft" }, "Top Level Await": { "name": "Top Level Await", "url": "https://tc39.es/proposal-top-level-await/", "status": "Draft" }, "Touch Events": { "name": "Touch Events", "url": "https://www.w3.org/TR/touch-events/", "status": "REC" }, "Touch Events 2": { "name": "Touch Events – Level 2", "url": "https://w3c.github.io/touch-events/", "status": "Draft" }, "Tracking": { "name": "Tracking Preference Expression (DNT)", "url": "https://www.w3.org/TR/tracking-dnt/", "status": "Obsolete" }, "Typed Array": { "name": "Typed Array Specification", "url": "https://www.khronos.org/registry/typedarray/specs/latest/", "status": "Obsolete" }, "Trusted Types": { "name": "Trusted Types", "url": "https://w3c.github.io/trusted-types/dist/spec/", "status": "ED" }, "UI Events": { "name": "UI Events", "url": "https://w3c.github.io/uievents/", "status": "WD" }, "UI Events Code": { "name": "UI Events KeyboardEvent code Values", "url": "https://www.w3.org/TR/uievents-code/", "status": "CR" }, "UI Events Key": { "name": "UI Events KeyboardEvent key Values", "url": "https://www.w3.org/TR/uievents-key/", "status": "CR" }, "Undo Manager": { "name": "UndoManager and DOMTransaction", "url": "https://dvcs.w3.org/hg/undomanager/raw-file/tip/undomanager.html", "status": "ED" }, "Upgrade Insecure Requests": { "name": "Upgrade Insecure Requests", "url": "https://w3c.github.io/webappsec-upgrade-insecure-requests/", "status": "CR" }, "URL": { "name": "URL", "url": "https://url.spec.whatwg.org/", "status": "Living" }, "User Timing": { "name": "User Timing", "url": "https://www.w3.org/TR/user-timing/", "status": "REC" }, "User Timing Level 2": { "name": "User Timing Level 2", "url": "https://w3c.github.io/user-timing/", "status": "WD" }, "vCard": { "name": "vCard Format Specification", "url": "https://datatracker.ietf.org/doc/html/rfc6350", "status": "RFC" }, "Vibration API": { "name": "Vibration API", "url": "https://dev.w3.org/2009/dap/vibration/", "status": "REC" }, "Visual Viewport": { "name": "Visual Viewport API", "url": "https://wicg.github.io/visual-viewport/", "status": "Draft" }, "WeakRefs": { "name": "WeakRefs", "url": "https://tc39.es/proposal-weakrefs/", "status": "Draft" }, "Web Animations": { "name": "Web Animations", "url": "https://drafts.csswg.org/web-animations-1/", "status": "WD" }, "Web Animations 2": { "name": "Web Animations Level 2", "url": "https://drafts.csswg.org/web-animations-2/", "status": "Draft" }, "WebAssembly Core": { "name": "WebAssembly Core Specification", "url": "https://webassembly.github.io/spec/core/bikeshed/", "status": "WD" }, "WebAssembly Embedding": { "name": "WebAssembly features for web embedding", "url": "https://webassembly.org/docs/web/", "status": "Draft" }, "WebAssembly JS": { "name": "WebAssembly JavaScript Interface", "url": "https://webassembly.github.io/spec/js-api/", "status": "WD" }, "WebAssembly Web API": { "name": "WebAssembly Web API", "url": "https://webassembly.github.io/spec/web-api/", "status": "WD" }, "Web Audio API": { "name": "Web Audio API", "url": "https://www.w3.org/TR/webaudio/", "status": "REC" }, "Web Bluetooth": { "name": "Web Bluetooth", "url": "https://webbluetoothcg.github.io/web-bluetooth/", "status": "Draft" }, "Web Budget API": { "name": "Web Budget API", "url": "https://wicg.github.io/budget-api/", "status": "Draft" }, "Web Crypto API": { "name": "Web Cryptography API", "url": "https://www.w3.org/TR/WebCryptoAPI/", "status": "REC" }, "WebGL": { "name": "WebGL 1.0", "url": "https://www.khronos.org/registry/webgl/specs/latest/1.0/", "status": "REC" }, "WebGL2": { "name": "WebGL 2.0", "url": "https://www.khronos.org/registry/webgl/specs/latest/2.0/", "status": "ED" }, "WebHID": { "name": "WebHID API", "url": "https://wicg.github.io/webhid/", "status": "Draft" }, "Web NFC": { "name": "Web NFC", "url": "https://w3c.github.io/web-nfc/", "status": "Draft" }, "WebOTP": { "name": "WebOTP", "url": "https://wicg.github.io/web-otp/", "status": "Draft" }, "WindowControlsOverlay": { "name": "WindowControlsOverlay", "url": "https://wicg.github.io/window-controls-overlay/", "status": "Draft" }, "EXT_blend_minmax": { "name": "EXT_blend_minmax", "url": "https://www.khronos.org/registry/webgl/extensions/EXT_blend_minmax/", "status": "REC" }, "ANGLE_instanced_arrays": { "name": "ANGLE_instanced_arrays", "url": "https://www.khronos.org/registry/webgl/extensions/ANGLE_instanced_arrays/", "status": "REC" }, "EXT_color_buffer_float": { "name": "EXT_color_buffer_float", "url": "https://www.khronos.org/registry/webgl/extensions/EXT_color_buffer_float/", "status": "REC" }, "EXT_color_buffer_half_float": { "name": "EXT_color_buffer_half_float", "url": "https://www.khronos.org/registry/webgl/extensions/EXT_color_buffer_half_float/", "status": "REC" }, "EXT_disjoint_timer_query": { "name": "EXT_disjoint_timer_query", "url": "https://www.khronos.org/registry/webgl/extensions/EXT_disjoint_timer_query/", "status": "WD" }, "EXT_frag_depth": { "name": "EXT_frag_depth", "url": "https://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/", "status": "REC" }, "EXT_shader_texture_lod": { "name": "EXT_shader_texture_lod", "url": "https://www.khronos.org/registry/webgl/extensions/EXT_shader_texture_lod/", "status": "REC" }, "EXT_sRGB": { "name": "EXT_sRGB", "url": "https://www.khronos.org/registry/webgl/extensions/EXT_sRGB/", "status": "REC" }, "EXT_texture_filter_anisotropic": { "name": "EXT_texture_filter_anisotropic", "url": "https://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotropic/", "status": "REC" }, "EXT_texture_norm16": { "name": "EXT_texture_norm16", "url": "https://www.khronos.org/registry/webgl/extensions/EXT_texture_norm16/", "status": "REC" }, "KHR_parallel_shader_compile": { "name": "KHR_parallel_shader_compile", "url": "https://www.khronos.org/registry/webgl/extensions/KHR_parallel_shader_compile/", "status": "REC" }, "OES_element_index_uint": { "name": "OES_element_index_uint", "url": "https://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/", "status": "REC" }, "OES_standard_derivatives": { "name": "OES_standard_derivatives", "url": "https://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/", "status": "REC" }, "OES_texture_float": { "name": "OES_texture_float", "url": "https://www.khronos.org/registry/webgl/extensions/OES_texture_float/", "status": "REC" }, "OES_texture_float_linear": { "name": "OES_texture_float_linear", "url": "https://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/", "status": "REC" }, "OES_texture_half_float": { "name": "OES_texture_half_float", "url": "https://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/", "status": "REC" }, "OES_texture_half_float_linear": { "name": "OES_texture_half_float_linear", "url": "https://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linear/", "status": "REC" }, "OES_vertex_array_object": { "name": "OES_vertex_array_object", "url": "https://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/", "status": "REC" }, "WebAuthn": { "name": "Web Authentication: An API for accessing Public Key Credentials Level 1", "url": "https://w3c.github.io/webauthn/", "status": "REC" }, "WebDriver": { "name": "WebDriver", "url": "https://w3c.github.io/webdriver/", "status": "Living" }, "WEBGL_color_buffer_float": { "name": "WEBGL_color_buffer_float", "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_color_buffer_float/", "status": "REC" }, "WEBGL_compressed_texture_s3tc": { "name": "WEBGL_compressed_texture_s3tc", "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3tc/", "status": "REC" }, "WEBGL_compressed_texture_s3tc_srgb": { "name": "WEBGL_compressed_texture_s3tc_srgb", "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3tc_srgb/", "status": "REC" }, "WEBGL_compressed_texture_etc": { "name": "WEBGL_compressed_texture_etc", "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_etc/", "status": "Draft" }, "WEBGL_compressed_texture_pvrtc": { "name": "WEBGL_compressed_texture_pvrtc", "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvrtc/", "status": "Draft" }, "WEBGL_compressed_texture_etc1": { "name": "WEBGL_compressed_texture_etc1", "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_etc1/", "status": "Draft" }, "WEBGL_compressed_texture_astc": { "name": "WEBGL_compressed_texture_astc", "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_astc/", "status": "REC" }, "WEBGL_compressed_texture_atc": { "name": "WEBGL_compressed_texture_atc", "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc/", "status": "Draft" }, "WEBGL_depth_texture": { "name": "WEBGL_depth_texture", "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/", "status": "REC" }, "WEBGL_debug_renderer_info": { "name": "WEBGL_debug_renderer_info", "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/", "status": "REC" }, "WEBGL_debug_shaders": { "name": "WEBGL_debug_shaders", "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/", "status": "REC" }, "WEBGL_draw_buffers": { "name": "WEBGL_draw_buffers", "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_draw_buffers/", "status": "REC" }, "WEBGL_lose_context": { "name": "WEBGL_lose_context", "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/", "status": "REC" }, "WEBGL_multi_draw": { "name": "WEBGL_multi_draw", "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_multi_draw/", "status": "REC" }, "WebIDL": { "name": "Web IDL", "url": "https://heycam.github.io/webidl/", "status": "CR" }, "Web Locks": { "name": "Web Locks API", "url": "https://wicg.github.io/web-locks/", "status": "Draft" }, "WebMIDI API": { "name": "Web MIDI API", "url": "https://webaudio.github.io/web-midi-api/", "status": "WD" }, "Web Notifications": { "name": "Notifications API", "url": "https://notifications.spec.whatwg.org/", "status": "Living" }, "WebRTC 1.0": { "name": "WebRTC 1.0: Real-time Communication Between Browsers", "url": "https://w3c.github.io/webrtc-pc/", "status": "CR" }, "WebRTC Identity": { "name": "Identity for WebRTC", "url": "https://w3c.github.io/webrtc-identity/", "status": "CR" }, "WebRTC Statistics Identifiers": { "name": "Identifiers for WebRTC's Statistics API", "url": "https://w3c.github.io/webrtc-stats/", "status": "CR" }, "Web Serial API": { "name": "Web Serial API", "url": "https://wicg.github.io/serial/", "status": "Draft" }, "Web Share API": { "name": "Web Share API", "url": "https://w3c.github.io/web-share/", "status": "Draft" }, "Web Share API 2": { "name": "Web Share API - Level 2", "url": "https://w3c.github.io/web-share/level-2/", "status": "Draft" }, "Web Speech API": { "name": "Web Speech API", "url": "https://wicg.github.io/speech-api/", "status": "Draft" }, "Web Telephony": { "name": "Web Telephony", "url": "https://wiki.mozilla.org/WebAPI/WebTelephony", "status": "Draft" }, "Web USB": { "name": "WebUSB", "url": "https://wicg.github.io/webusb/", "status": "Draft" }, "WebVR 1.1": { "name": "WebVR 1.1", "url": "https://immersive-web.github.io/webvr/spec/1.1/", "status": "Draft" }, "WebVTT": { "name": "WebVTT: The Web Video Text Tracks Format", "url": "https://w3c.github.io/webvtt/", "status": "CR" }, "WebXR": { "name": "WebXR Device API", "url": "https://immersive-web.github.io/webxr/", "status": "WD" }, "WebXR AR Module": { "name": "WebXR Augmented Reality Module", "url": "https://immersive-web.github.io/webxr-ar-module/", "status": "ED" }, "WebXR Gamepads Module": { "name": "WebXR Gamepads Module", "url": "https://immersive-web.github.io/webxr-gamepads-module/", "status": "ED" }, "WOFF1.0": { "name": "WOFF File Format 1.0", "url": "https://www.w3.org/TR/WOFF/", "status": "REC" }, "WOFF2.0": { "name": "WOFF File Format 2.0", "url": "https://www.w3.org/TR/WOFF2/", "status": "REC" }, "Worklets": { "name": "Worklets Level 1", "url": "https://drafts.css-houdini.org/worklets/", "status": "WD" }, "XMLHttpRequest": { "name": "XMLHttpRequest", "url": "https://xhr.spec.whatwg.org/", "status": "Living" }, "XPath1": { "name": "XPath 1.0", "url": "https://www.w3.org/TR/xpath-10/", "status": "REC" }, "XPath2": { "name": "XPath 2.0", "url": "https://www.w3.org/TR/xpath20/", "status": "REC" }, "XPath3": { "name": "XPath 3.0", "url": "https://www.w3.org/TR/xpath-30/", "status": "REC" }, "XPath3.1": { "name": "XPath 3.1", "url": "https://www.w3.org/TR/xpath-31/", "status": "REC" }, "XSLT 3.0": { "name": "XSLT 3.0", "url": "https://www.w3.org/TR/xslt-30/", "status": "REC" } }
0