From 05b2650717b84d199f6ebd5df8a8f9d1e3b23f3f Mon Sep 17 00:00:00 2001 From: Florian Merz Date: Tue, 23 Feb 2021 15:56:25 +0100 Subject: sync: move --- .../htmlhyperlinkelementutils/protocol/index.html | 106 --------------------- 1 file changed, 106 deletions(-) delete mode 100644 files/ru/web/api/htmlhyperlinkelementutils/protocol/index.html (limited to 'files/ru/web/api/htmlhyperlinkelementutils/protocol/index.html') diff --git a/files/ru/web/api/htmlhyperlinkelementutils/protocol/index.html b/files/ru/web/api/htmlhyperlinkelementutils/protocol/index.html deleted file mode 100644 index d7b3b4327f..0000000000 --- a/files/ru/web/api/htmlhyperlinkelementutils/protocol/index.html +++ /dev/null @@ -1,106 +0,0 @@ ---- -title: HTMLHyperlinkElementUtils.protocol -slug: Web/API/HTMLHyperlinkElementUtils/protocol -tags: - - API - - Experimental - - HTMLHyperlinkElementUtils - - Property - - URL API -translation_of: Web/API/HTMLHyperlinkElementUtils/protocol ---- -

{{ApiRef("URL API")}}

- -

Свойство HTMLHyperlinkElementUtils.protocol это {{domxref("USVString")}}, содержащий протокол URL включая ':' в конце.

- -

Синтаксис

- -
string = object.protocol;
-object.protocol = string;
-
- -

Примеры

- -
// Допустим, что документ содержит элемент <a id="myAnchor" href="https://developer.mozilla.org/en-US/HTMLHyperlinkElementUtils.protocol">
-var anchor = document.getElementByID("myAnchor");
-var result = anchor.protocol; // Вернет: 'https:'
-
- -

Спецификации

- - - - - - - - - - - - - - -
СпецификацияСтатусКомментарий
{{SpecName('HTML WHATWG', '#dom-hyperlink-protocol', 'HTMLHyperlinkElementUtils.protocol')}}{{Spec2('HTML WHATWG')}}Изначальное определение.
- -

Совместимость с браузерами

- -

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
ВозможностьChromeFirefox (Gecko)Internet ExplorerOperaSafari
Базовая поддержка{{CompatNo}} [1]{{CompatGeckoDesktop("22")}} [2]{{CompatNo}} [1]{{CompatNo}} [1]{{CompatNo}} [1]
-
- -
- - - - - - - - - - - - - - - - - - - - - -
ВозможностьAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Базовая поддержка{{CompatNo}} [1]{{CompatNo}} [1]{{CompatGeckoMobile("22")}} [2]{{CompatNo}} [1]{{CompatNo}} [1]{{CompatNo}} [1]
-
- -

[1] Хотя оно и не включено в один абстрактный интерфейс, это свойство напрямую доступно в интерфейсах, которые его реализуют.

- -

[2] С Gecko 22 по Gecko 44, это свойство находилось в URLUtils. Оно было перемещено или в HTMLHyperlinkElementUtils, или напрямую в интерфейс.

- -

Смотрите также

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