diff options
author | Florian Merz <me@fiji-flo.de> | 2021-02-23 15:56:25 +0100 |
---|---|---|
committer | Florian Merz <me@fiji-flo.de> | 2021-02-23 15:56:25 +0100 |
commit | 05b2650717b84d199f6ebd5df8a8f9d1e3b23f3f (patch) | |
tree | 3a996b21e1eb1ed852ab792b9752648783a87a75 /files/ja/web/api/htmlhyperlinkelementutils | |
parent | 10701ffef1cb57f06970990b9b7086ea7f24a019 (diff) | |
download | translated-content-05b2650717b84d199f6ebd5df8a8f9d1e3b23f3f.tar.gz translated-content-05b2650717b84d199f6ebd5df8a8f9d1e3b23f3f.tar.bz2 translated-content-05b2650717b84d199f6ebd5df8a8f9d1e3b23f3f.zip |
sync: move
Diffstat (limited to 'files/ja/web/api/htmlhyperlinkelementutils')
13 files changed, 0 insertions, 778 deletions
diff --git a/files/ja/web/api/htmlhyperlinkelementutils/hash/index.html b/files/ja/web/api/htmlhyperlinkelementutils/hash/index.html deleted file mode 100644 index 293b73e2f0..0000000000 --- a/files/ja/web/api/htmlhyperlinkelementutils/hash/index.html +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: HTMLHyperlinkElementUtils.hash -slug: Web/API/HTMLHyperlinkElementUtils/hash -tags: - - API - - Experimental - - HTMLHyperlinkElementUtils - - Property - - Reference - - URL API -translation_of: Web/API/HTMLHyperlinkElementUtils/hash ---- -<div>{{ APIRef("URLUtils") }}</div> - -<p><span class="seoSummary"><strong><code>HTMLHyperlinkElementUtils.hash</code></strong> プロパティは、<code>'#'</code> の後に URL のフラグメント識別子が続く {{domxref("USVString")}} を返します。</span></p> - -<p>フラグメントは<a href="/ja/docs/Glossary/percent-encoding">パーセントデコード</a>されていません。 URL にフラグメント識別子がない場合、このプロパティには空の文字列 <code>""</code> が含まれます。</p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="syntaxbox"><em>string</em> = <em>object</em>.hash; -<em>object</em>.hash = <em>string</em>; -</pre> - -<h2 id="Examples" name="Examples">例</h2> - -<pre class="brush: html"><a id="myAnchor" href="/en-US/docs/HTMLHyperlinkElementUtils.href#Examples">Examples</a> -<script> - var anchor = document.getElementById("myAnchor"); - console.log(anchor.hash); // 戻り値は '#Examples' -</script></pre> - -<h2 id="Specifications" name="Specifications">仕様</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">仕様</th> - <th scope="col">状態</th> - <th scope="col">コメント</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', '#dom-hyperlink-hash', 'HTMLHyperlinkElementUtils.hash')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>初期定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - - - -<p>{{Compat("api.HTMLHyperlinkElementUtils.hash")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>{{domxref("HTMLHyperlinkElementUtils")}} ミックスインに属します。</li> -</ul> diff --git a/files/ja/web/api/htmlhyperlinkelementutils/host/index.html b/files/ja/web/api/htmlhyperlinkelementutils/host/index.html deleted file mode 100644 index 876dd935c1..0000000000 --- a/files/ja/web/api/htmlhyperlinkelementutils/host/index.html +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: HTMLHyperlinkElementUtils.host -slug: Web/API/HTMLHyperlinkElementUtils/host -tags: - - API - - Experimental - - HTMLHyperlinkElementUtils - - Property - - Reference - - URL API -translation_of: Web/API/HTMLHyperlinkElementUtils/host ---- -<div>{{ApiRef("URL API")}}</div> - -<p><span class="seoSummary"><strong><code>HTMLHyperlinkElementUtils.host</code></strong>プロパティは、ホストを含む {{domxref("USVString")}} です。 ホストは、<em>ホスト名</em>の後に、URL の<em>ポート</em>が空でない場合、<code>':'</code>、および URL の<em>ポート</em>が続きます。</span></p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="syntaxbox"><em>string</em> = <em>object</em>.host; -<em>object.<code>host</code></em> = <em>string</em>; -</pre> - -<h2 id="Examples" name="Examples">例</h2> - -<pre class="brush: js">var anchor = document.createElement("a"); - -anchor.href = "https://developer.mozilla.org/en-US/HTMLHyperlinkElementUtils.host" -anchor.host == "developer.mozilla.org" - -anchor.href = "https://developer.mozilla.org:443/en-US/HTMLHyperlinkElementUtils.host" -anchor.host == "developer.mozilla.org" -// 443 がスキームのデフォルトポートであるため、ポート番号は含まれません - -anchor.href = "https://developer.mozilla.org:4097/en-US/HTMLHyperlinkElementUtils.host" -anchor.host == "developer.mozilla.org:4097" -</pre> - -<h2 id="Specifications" name="Specifications">仕様</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">仕様</th> - <th scope="col">状態</th> - <th scope="col">コメント</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', '#dom-hyperlink-host', 'HTMLHyperlinkElementUtils.host')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>初期定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - - - -<p>{{Compat("api.HTMLHyperlinkElementUtils.host")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>{{domxref("HTMLHyperlinkElementUtils")}} ミックスインに属します。</li> -</ul> diff --git a/files/ja/web/api/htmlhyperlinkelementutils/hostname/index.html b/files/ja/web/api/htmlhyperlinkelementutils/hostname/index.html deleted file mode 100644 index 46c38302f1..0000000000 --- a/files/ja/web/api/htmlhyperlinkelementutils/hostname/index.html +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: HTMLHyperlinkElementUtils.hostname -slug: Web/API/HTMLHyperlinkElementUtils/hostname -tags: - - API - - Experimental - - HTMLHyperlinkElementUtils - - Property - - Reference - - URL API -translation_of: Web/API/HTMLHyperlinkElementUtils/hostname ---- -<p>{{ApiRef("URL API")}}</p> - -<p><span class="seoSummary"><strong><code>HTMLHyperlinkElementUtils.hostname</code></strong> プロパティは、URL のドメインを含む {{domxref("USVString")}} です。</span></p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="syntaxbox"><em>string</em> = <em>object</em>.hostname; -<em>object.</em>hostname = <em>string</em>; -</pre> - -<h2 id="Examples" name="Examples">例</h2> - -<pre class="brush: js">// <a id="myAnchor" href="https://developer.mozilla.org/en-US/docs/HTMLHyperlinkElementUtils.hostname"> 要素がドキュメントにあるとします -var anchor = document.getElementByID("myAnchor"); -var result = anchor.hostname; // 戻り値: 'developer.mozilla.org'</pre> - -<h2 id="Specifications" name="Specifications">仕様</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">仕様</th> - <th scope="col">状態</th> - <th scope="col">コメント</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', '#dom-hyperlink-hostname', 'HTMLHyperlinkElementUtils.hostname')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>初期定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - - - -<p>{{Compat("api.HTMLHyperlinkElementUtils.hostname")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>{{domxref("HTMLHyperlinkElementUtils")}} ミックスインに属します。</li> -</ul> diff --git a/files/ja/web/api/htmlhyperlinkelementutils/href/index.html b/files/ja/web/api/htmlhyperlinkelementutils/href/index.html deleted file mode 100644 index a371695230..0000000000 --- a/files/ja/web/api/htmlhyperlinkelementutils/href/index.html +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: HTMLHyperlinkElementUtils.href -slug: Web/API/HTMLHyperlinkElementUtils/href -tags: - - API - - Experimental - - HTMLHyperlinkElementUtils - - Location - - Property - - Reference - - URL API -translation_of: Web/API/HTMLHyperlinkElementUtils/href ---- -<p>{{ApiRef("URL API")}}</p> - -<p><strong><code>HTMLHyperlinkElementUtils.href</code></strong> プロパティは、URL 全体を含む {{domxref("USVString")}} です。</p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="syntaxbox"><em>string</em> = <em>object</em>.href; -<em>object</em>.href = <em>string</em>; -</pre> - -<h2 id="Examples" name="Examples">例</h2> - -<pre class="brush: js">// <a id="myAnchor" href="https://developer.mozilla.org/en-US/HTMLHyperlinkElementUtils/href"> 要素がドキュメントにあるとします -var anchor = document.getElementById("myAnchor"); -var result = anchor.href; // 戻り値: 'https://developer.mozilla.org/en-US/HTMLHyperlinkElementUtils/href' -</pre> - -<h2 id="Specifications" name="Specifications">仕様</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">仕様</th> - <th scope="col">状態</th> - <th scope="col">コメント</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', '#dom-hyperlink-href', 'HTMLHyperlinkElementUtils.href')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>初期定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - - - -<p>{{Compat("api.HTMLHyperlinkElementUtils.href")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>{{domxref("HTMLHyperlinkElementUtils")}} ミックスインに属します。</li> -</ul> diff --git a/files/ja/web/api/htmlhyperlinkelementutils/index.html b/files/ja/web/api/htmlhyperlinkelementutils/index.html deleted file mode 100644 index bc0b1f182a..0000000000 --- a/files/ja/web/api/htmlhyperlinkelementutils/index.html +++ /dev/null @@ -1,88 +0,0 @@ ---- -title: HTMLHyperlinkElementUtils -slug: Web/API/HTMLHyperlinkElementUtils -tags: - - API - - Experimental - - Mixin - - URL API -translation_of: Web/API/HTMLHyperlinkElementUtils ---- -<p>{{ApiRef("URL API")}}{{SeeCompatTable}}</p> - -<p><span class="seoSummary"><strong><code>HTMLHyperlinkElementUtils</code></strong> ミックスインは、{{domxref("HTMLAnchorElement")}} および {{domxref("HTMLAreaElement")}} と連携するユーティリティのメソッドとプロパティを定義します。 これらのユーティリティを使用すると、URL などの一般的な機能を処理できます。</span></p> - -<p>このタイプのオブジェクトはありませんが、いくつかのオブジェクトの {{domxref("HTMLAnchorElement")}} および {{domxref("HTMLAreaElement")}} がそれを実装しています。</p> - -<h2 id="Properties" name="Properties">プロパティ</h2> - -<div class="note"> -<p><strong>注</strong>: このインターフェイスはプロパティを継承しません。</p> -</div> - -<dl> - <dt>{{domxref("HTMLHyperlinkElementUtils.href")}}</dt> - <dd>これは、URL 全体を含む {{domxref("USVString")}} です。</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.protocol")}}</dt> - <dd>これは、最後の <code>':'</code> を含む URL のプロトコルスキームを含む {{domxref("USVString")}} です。</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.host")}}</dt> - <dd>これは、ホストを含む {{domxref("USVString")}} です。 ホストは、<em>ホスト名</em>の後に、URL の<em>ポート</em>が空でない場合、<code>':'</code>、および URL の<em>ポート</em>が続きます(空は、指定されていないか、URL のスキームのデフォルトポートとして指定されているために発生する可能性があります)。</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.hostname")}}</dt> - <dd>これは、URL のドメイン(ホスト名)を含む {{domxref("USVString")}} です。</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.port")}}</dt> - <dd>これは、URL のポート番号を含む {{domxref("USVString")}} です。</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.pathname")}}</dt> - <dd>これは、最初の <code>'/'</code> とその後に続く URL のパスを含む {{domxref("USVString")}} です。</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.search")}}</dt> - <dd>これは、<code>'?'</code> とその後に続く URL のパラメーターを含む {{domxref("USVString")}} です。</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.hash")}}</dt> - <dd>これは、<code>'#'</code> とその後に続く URL のフラグメント識別子を含む {{domxref("USVString")}} です。</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.username")}}</dt> - <dd>これは、ドメイン名の前に指定されたユーザー名を含む {{domxref("USVString")}} です。</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.password")}}</dt> - <dd>これは、ドメイン名の前に指定されたパスワードを含む {{domxref("USVString")}} です。</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.origin")}} {{readonlyInline}}</dt> - <dd>これは、URL のオリジン(スキーム、ドメイン、ポート)を含む {{domxref("USVString")}} を返します。</dd> -</dl> - -<h2 id="Methods" name="Methods">メソッド</h2> - -<div class="note"> -<p><strong>注</strong>: このインターフェイスはメソッドを継承しません。</p> -</div> - -<dl> - <dt>{{domxref("HTMLHyperlinkElementUtils.toString()")}}</dt> - <dd>これは、URL 全体を含む {{domxref("USVString")}} を返します。 {{domxref("HTMLHyperlinkElementUtils.href")}} の同義語ですが、値を変更するために使用することはできません。</dd> -</dl> - -<h2 id="Specifications" name="Specifications">仕様</h2> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">仕様</th> - <th scope="col">状態</th> - <th scope="col">コメント</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName('HTML WHATWG', '#htmlhyperlinkelementutils', 'HTMLHyperlinkElementUtils')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>初期定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - - - -<p>{{Compat("api.HTMLHyperlinkElementUtils")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>これを実装するインターフェイス: {{domxref("HTMLAnchorElement")}}、{{domxref("HTMLAreaElement")}}</li> -</ul> diff --git a/files/ja/web/api/htmlhyperlinkelementutils/origin/index.html b/files/ja/web/api/htmlhyperlinkelementutils/origin/index.html deleted file mode 100644 index 8353b66f0a..0000000000 --- a/files/ja/web/api/htmlhyperlinkelementutils/origin/index.html +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: HTMLHyperlinkElementUtils.origin -slug: Web/API/HTMLHyperlinkElementUtils/origin -tags: - - API - - Experimental - - HTMLHyperlinkElementUtils - - Property - - Read-only - - Reference - - URL API -translation_of: Web/API/HTMLHyperlinkElementUtils/origin ---- -<p>{{APIRef("URL API")}}</p> - -<p><span class="seoSummary"><strong><code>HTMLHyperlinkElementUtils.origin</code></strong> 読み取り専用プロパティは、表現された URL のオリジンの Unicode シリアル化を含む {{domxref("USVString")}} です。</span> それは、</p> - -<ul> - <li><code>http</code> または <code>https</code> を使用する URL の場合、スキームの後に <code>'://'</code>、ドメイン、<code>':'</code>、ポートの順になります。 (ポート部分は、明示的に指定されていて、それがデフォルトポートでない場合に存在します。 それぞれのデフォルトポートは、<code>80</code> と <code>443</code> です。)</li> - <li><code>file:</code> スキームを使用する URL の場合、値はブラウザーに依存します。</li> - <li><code>blob:</code> スキームを使用する URL の場合、<code>blob:</code> に続く URL のオリジンです。 例えば、<code>"blob:https://mozilla.org"</code> では <code>"https://mozilla.org"</code> です。</li> -</ul> - -<p>{{AvailableInWorkers}}</p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="syntaxbox"><em>string</em> = <em>object</em>.origin; -</pre> - -<h2 id="Examples" name="Examples">例</h2> - -<pre class="brush: js">// このページのオリジンを返します -var result = window.location.origin; // 戻り値: 'https://developer.mozilla.org' -</pre> - -<h2 id="Specifications" name="Specifications">仕様</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">仕様</th> - <th scope="col">状態</th> - <th scope="col">コメント</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', '#dom-hyperlink-origin', 'HTMLHyperlinkElementUtils.origin')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>初期定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - - - -<p>{{Compat("api.HTMLHyperlinkElementUtils.origin")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>{{domxref("HTMLHyperlinkElementUtils")}} ミックスインに属します。</li> -</ul> diff --git a/files/ja/web/api/htmlhyperlinkelementutils/password/index.html b/files/ja/web/api/htmlhyperlinkelementutils/password/index.html deleted file mode 100644 index d973268e54..0000000000 --- a/files/ja/web/api/htmlhyperlinkelementutils/password/index.html +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: HTMLHyperlinkElementUtils.password -slug: Web/API/HTMLHyperlinkElementUtils/password -tags: - - API - - Experimental - - HTMLHyperlinkElementUtils - - Property - - URL API -translation_of: Web/API/HTMLHyperlinkElementUtils/password ---- -<p>{{ApiRef("URL API")}}</p> - -<p><span class="seoSummary"><code>HTMLHyperlinkElementUtils.password</code> プロパティは、ドメイン名の前に指定されたパスワードを含む {{domxref("USVString")}} です。</span></p> - -<p>最初に <code><a href="/ja/docs/Web/API/HTMLHyperlinkElementUtils/username">username</a></code> プロパティを設定せずに設定しようとすると、静かに失敗します。</p> - -<h2 id="Examples" name="Examples">構文</h2> - -<pre class="syntaxbox"><em>string</em> = <em>object</em>.password; -<em>object</em>.password = <em>string</em>; -</pre> - -<h2 id="Examples" name="Examples">例</h2> - -<pre class="brush: js">// <a id="myAnchor" href="https://anonymous:flabada@developer.mozilla.org/en-US/docs/HTMLHyperlinkElementUtils.username"> 要素がドキュメントにあるとします -var anchor = document.getElementByID("myAnchor"); -var result = anchor.password; // 戻り値: 'flabada' -</pre> - -<h2 id="Specifications" name="Specifications">仕様</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">仕様</th> - <th scope="col">状態</th> - <th scope="col">コメント</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', '#dom-hyperlink-password', 'HTMLHyperlinkElementUtils.password')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>初期定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - - - -<p>{{Compat("api.HTMLHyperlinkElementUtils.password")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>{{domxref("HTMLHyperlinkElementUtils")}} ミックスインに属します。</li> -</ul> diff --git a/files/ja/web/api/htmlhyperlinkelementutils/pathname/index.html b/files/ja/web/api/htmlhyperlinkelementutils/pathname/index.html deleted file mode 100644 index a8b227269c..0000000000 --- a/files/ja/web/api/htmlhyperlinkelementutils/pathname/index.html +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: HTMLHyperlinkElementUtils.pathname -slug: Web/API/HTMLHyperlinkElementUtils/pathname -tags: - - API - - Experimental - - HTMLHyperlinkElementUtils - - Property - - Reference - - URL API -translation_of: Web/API/HTMLHyperlinkElementUtils/pathname ---- -<p>{{ApiRef("URL API")}}</p> - -<p><span class="seoSummary"><strong><code>HTMLHyperlinkElementUtils.pathname</code></strong> プロパティは、最初の <code>'/'</code> とその後に続く URL のパス(または、パスがない場合は空の文字列)を含む {{domxref("USVString")}} です。</span></p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="syntaxbox"><em>string</em> = <em>object</em>.pathname; -<em>object</em>.pathname = <em>string</em>; -</pre> - -<h2 id="Examples" name="Examples">例</h2> - -<pre class="brush: js">// <a id="myAnchor" href="https://developer.mozilla.org/en-US/docs/HTMLHyperlinkElementUtils.pathname"> 要素がドキュメントにあるとします -var anchor = document.getElementById("myAnchor"); -var result = anchor.pathname; // 戻り値: '/en-US/docs/HTMLHyperlinkElementUtils.pathname' -</pre> - -<h2 id="Specifications" name="Specifications">仕様</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">仕様</th> - <th scope="col">状態</th> - <th scope="col">コメント</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', '#dom-hyperlink-pathname', 'HTMLHyperlinkElementUtils.pathname')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>初期定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - - - -<p>{{Compat("api.HTMLHyperlinkElementUtils.pathname")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>{{domxref("HTMLHyperlinkElementUtils")}} ミックスインに属します。</li> -</ul> diff --git a/files/ja/web/api/htmlhyperlinkelementutils/port/index.html b/files/ja/web/api/htmlhyperlinkelementutils/port/index.html deleted file mode 100644 index a97a28511a..0000000000 --- a/files/ja/web/api/htmlhyperlinkelementutils/port/index.html +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: HTMLHyperlinkElementUtils.port -slug: Web/API/HTMLHyperlinkElementUtils/port -tags: - - API - - Experimental - - HTMLHyperlinkElementUtils - - Property - - Reference - - URL API -translation_of: Web/API/HTMLHyperlinkElementUtils/port ---- -<p>{{ApiRef("URL API")}}</p> - -<p><span class="seoSummary"><strong><code>HTMLHyperlinkElementUtils.port</code></strong> プロパティは、URL のポート番号を含む {{domxref("USVString")}} です。 URL に明示的なポート番号が含まれていない場合は、<code>''</code> に設定されます。</span></p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="syntaxbox"><em>string</em> = <em>object</em>.port; -<em>object</em>.port = <em>string</em>; -</pre> - -<h2 id="Examples" name="Examples">例</h2> - -<pre class="brush: js">// <a id="myAnchor" href="https://developer.mozilla.org:443/en-US/docs/HTMLHyperlinkElementUtils.port"> 要素がドキュメントにあるとします -var anchor = document.getElementByID("myAnchor"); -var result = anchor.port; // 戻り値: '443' -</pre> - -<h2 id="Specifications" name="Specifications">仕様</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">仕様</th> - <th scope="col">状態</th> - <th scope="col">コメント</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', '#dom-hyperlink-port', 'HTMLHyperlinkElementUtils.port')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>初期定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - - - -<p>{{Compat("api.HTMLHyperlinkElementUtils.port")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>{{domxref("HTMLHyperlinkElementUtils")}} ミックスインに属します。</li> -</ul> diff --git a/files/ja/web/api/htmlhyperlinkelementutils/protocol/index.html b/files/ja/web/api/htmlhyperlinkelementutils/protocol/index.html deleted file mode 100644 index 9b800001ea..0000000000 --- a/files/ja/web/api/htmlhyperlinkelementutils/protocol/index.html +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: HTMLHyperlinkElementUtils.protocol -slug: Web/API/HTMLHyperlinkElementUtils/protocol -tags: - - API - - Experimental - - HTMLHyperlinkElementUtils - - Property - - URL API -translation_of: Web/API/HTMLHyperlinkElementUtils/protocol ---- -<p>{{ApiRef("URL API")}}</p> - -<p><span class="seoSummary"><code><strong>HTMLHyperlinkElementUtils</strong></code><strong><code>.protocol</code></strong> プロパティは、最後の <code>':'</code> を含む URL のプロトコルスキームを表す {{domxref("USVString")}} です。</span></p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="syntaxbox"><em>string</em> = <em>object</em>.protocol; -<em>object</em>.protocol = <em>string</em>; -</pre> - -<h2 id="Examples" name="Examples">例</h2> - -<pre class="brush: js">// <a id="myAnchor" href="https://developer.mozilla.org/en-US/HTMLHyperlinkElementUtils.protocol"> 要素がドキュメントにあるとします -var anchor = document.getElementById("myAnchor"); -var result = anchor.protocol; // 戻り値: 'https:' -</pre> - -<h2 id="Specifications" name="Specifications">仕様</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">仕様</th> - <th scope="col">状態</th> - <th scope="col">コメント</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', '#dom-hyperlink-protocol', 'HTMLHyperlinkElementUtils.protocol')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>初期定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - - - -<p>{{Compat("api.HTMLHyperlinkElementUtils.protocol")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>{{domxref("HTMLHyperlinkElementUtils")}} ミックスインに属します。</li> -</ul> diff --git a/files/ja/web/api/htmlhyperlinkelementutils/search/index.html b/files/ja/web/api/htmlhyperlinkelementutils/search/index.html deleted file mode 100644 index 3d09ac6610..0000000000 --- a/files/ja/web/api/htmlhyperlinkelementutils/search/index.html +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: HTMLHyperlinkElementUtils.search -slug: Web/API/HTMLHyperlinkElementUtils/search -tags: - - API - - Experimental - - HTMLHyperlinkElementUtils - - Property - - Reference - - URL API -translation_of: Web/API/HTMLHyperlinkElementUtils/search ---- -<div>{{ApiRef("URL API")}}</div> - -<p><span class="seoSummary"><strong><code>HTMLHyperlinkElementUtils.search</code></strong> プロパティは、<em>クエリー文字列</em>とも呼ばれる検索文字列、つまり <code>'?'</code> とその後に続く URL のパラメーターを含む {{domxref("USVString")}} です。</span></p> - -<p>最新のブラウザーでは、<code><a href="/ja/docs/Web/API/URLSearchParams/get#Examples">URLSearchParams</a></code> と <code><a href="/ja/docs/Web/API/URL/searchParams#Examples">URL.searchParams</a></code> を提供して、クエリー文字列からパラメーターを簡単に解析できるようにしています。</p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="syntaxbox"><em>string</em> = <em>object</em>.search; -<em>object</em>.search = <em>string</em>; -</pre> - -<h2 id="Examples" name="Examples">例</h2> - -<pre class="brush: js">// <a id="myAnchor" href="https://developer.mozilla.org/en-US/docs/HTMLHyperlinkElementUtils.search?q=123"> 要素がドキュメントにあるとします -var anchor = document.getElementById("myAnchor"); -var queryString = anchor.search; // 戻り値: '?q=123' - -// Further parsing: -let params = new URLSearchParams(queryString); -let q = parseInt(params.get("q") // 数値の 123 です -</pre> - -<h2 id="Specifications" name="Specifications">仕様</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">仕様</th> - <th scope="col">状態</th> - <th scope="col">コメント</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', '#dom-hyperlink-search', 'HTMLHyperlinkElementUtils.search')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>初期定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - - - -<p>{{Compat("api.HTMLHyperlinkElementUtils.search")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>{{domxref("HTMLHyperlinkElementUtils")}} ミックスインに属します。</li> -</ul> diff --git a/files/ja/web/api/htmlhyperlinkelementutils/tostring/index.html b/files/ja/web/api/htmlhyperlinkelementutils/tostring/index.html deleted file mode 100644 index 1edb61e862..0000000000 --- a/files/ja/web/api/htmlhyperlinkelementutils/tostring/index.html +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: HTMLHyperlinkElementUtils.toString() -slug: Web/API/HTMLHyperlinkElementUtils/toString -tags: - - API - - Experimental - - HTMLHyperlinkElementUtils - - Location - - Method - - Stringifier - - URL API -translation_of: Web/API/HTMLHyperlinkElementUtils/toString ---- -<p>{{ApiRef("URL API")}}</p> - -<p><span class="seoSummary"><strong><code>HTMLHyperlinkElementUtils.toString()</code></strong> 文字列化メソッドは、URL 全体を含む {{domxref("USVString")}} を返します。 これは、{{domxref("HTMLHyperlinkElementUtils.href")}} の読み取り専用バージョンです。</span></p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="syntaxbox"><em>string</em> = <em>object</em>.toString();</pre> - -<h2 id="Examples" name="Examples">例</h2> - -<pre class="brush: js">// <a id="myAnchor" href="https://developer.mozilla.org/en-US/docs/HTMLHyperlinkElementUtils/toString"> 要素がドキュメントにあるとします -var anchor = document.getElementById("myAnchor"); -var result = anchor.toString(); // 戻り値: 'https://developer.mozilla.org/en-US/docs/HTMLHyperlinkElementUtils/toString' -</pre> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - - - -<p>{{Compat("api.HTMLHyperlinkElementUtils.toString")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>{{domxref("HTMLHyperlinkElementUtils")}} ミックスインに属します。</li> -</ul> diff --git a/files/ja/web/api/htmlhyperlinkelementutils/username/index.html b/files/ja/web/api/htmlhyperlinkelementutils/username/index.html deleted file mode 100644 index 2bda58e2d2..0000000000 --- a/files/ja/web/api/htmlhyperlinkelementutils/username/index.html +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: HTMLHyperlinkElementUtils.username -slug: Web/API/HTMLHyperlinkElementUtils/username -tags: - - API - - Experimental - - HTMLHyperlinkElementUtils - - Property - - Reference - - URL API -translation_of: Web/API/HTMLHyperlinkElementUtils/username ---- -<p>{{ApiRef("URL API")}}</p> - -<p><span class="seoSummary"><strong><code>HTMLHyperlinkElementUtils.username</code></strong> プロパティは、ドメイン名の前に指定されたユーザー名を含む {{domxref("USVString")}} です。</span></p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="syntaxbox"><em>string</em> = <em>object</em>.username; -<em>object</em>.username = <em>string</em>; -</pre> - -<h2 id="Examples" name="Examples">例</h2> - -<pre class="brush: js">// <a id="myAnchor" href="https://anonymous:flabada@developer.mozilla.org/en-US/docs/HTMLHyperlinkElementUtils.username"> 要素がドキュメントにあるとします -var anchor = document.getElementByID("myAnchor"); -var result = anchor.username; // 戻り値: 'anonymous' -</pre> - -<h2 id="Specifications" name="Specifications">仕様</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">仕様</th> - <th scope="col">状態</th> - <th scope="col">コメント</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', '#dom-hyperlink-username', 'HTMLHyperlinkElementUtils.username')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>初期定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - - - -<p>{{Compat("api.HTMLHyperlinkElementUtils.username")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>{{domxref("HTMLHyperlinkElementUtils")}} ミックスインに属します。</li> -</ul> |