diff options
| author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
|---|---|---|
| committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
| commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
| tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/api/performancenavigation/index.html | |
| parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
| download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip | |
initial commit
Diffstat (limited to 'files/ja/web/api/performancenavigation/index.html')
| -rw-r--r-- | files/ja/web/api/performancenavigation/index.html | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/files/ja/web/api/performancenavigation/index.html b/files/ja/web/api/performancenavigation/index.html new file mode 100644 index 0000000000..6cde3aa5a3 --- /dev/null +++ b/files/ja/web/api/performancenavigation/index.html @@ -0,0 +1,87 @@ +--- +title: PerformanceNavigation +slug: Web/API/PerformanceNavigation +tags: + - API + - PerformanceNavigation + - legacy + - インターフェイス + - タイミング + - ナビゲーションタイミング + - ナビゲーションタイミング API + - パフォーマンス + - リファレンス + - 後方互換性 + - 非推奨 +translation_of: Web/API/PerformanceNavigation +--- +<p>{{APIRef("Navigation Timing")}}</p> + +<div class="warning"> +<p>このインターフェイスは <a href="https://w3c.github.io/navigation-timing/#obsolete">Navigation Timing Level 2 仕様</a>では非推奨です。代わりに {{domxref("PerformanceNavigationTiming")}} インターフェイスを使用してください。</p> +</div> + +<p>従来の <strong><code>PerformanceNavigation</code></strong> インターフェイスは、現在のドキュメントへのナビゲーションがどのように行われたかに関する情報を表します。</p> + +<p>このタイプのオブジェクトは、{{domxref("Performance.navigation")}} 読み取り専用属性を呼び出すことによって取得できます。</p> + +<h2 id="プロパティ">プロパティ</h2> + +<p><em><code>PerformanceNavigation</code> インターフェイスはプロパティを継承しません。</em></p> + +<dl> + <dt>{{deprecated_inline}} {{domxref("PerformanceNavigation.type")}} {{readonlyInline}}</dt> + <dd>このページへのナビゲーションがどのように行われたかを示す<code>unsigned short</code>。可能な値は次のとおりです: + <dl> + <dt><code>TYPE_NAVIGATE</code> (0)</dt> + <dd>リンク、ブックマーク、フォーム送信、またはスクリプトを使用するか、アドレスバーに URL を入力してページにアクセスしました。</dd> + <dt><code>TYPE_RELOAD</code> (1)</dt> + <dd>このページには、[再読み込み] ボタンをクリックするか、{{domxref("Location.reload()")}} メソッドを介してアクセスしました。</dd> + <dt><code>TYPE_BACK_FORWARD</code> (2)</dt> + <dd>このページには履歴をたどってアクセスしました。</dd> + <dt><code>TYPE_RESERVED</code> (255)</dt> + <dd>その他の方法で。</dd> + </dl> + </dd> + <dt>{{deprecated_inline}} {{domxref("PerformanceNavigation.redirectCount")}} {{readonlyInline}}</dt> + <dd>ページに到達する前に行われた REDIRECT の数を表す <code>unsigned short</code>。</dd> +</dl> + +<h2 id="メソッド">メソッド</h2> + +<p><em><em><code>Performance</code> インターフェイス</em>はメソッドを継承しません。</em></p> + +<dl> + <dt>{{deprecated_inline}} {{domxref("PerformanceNavigation.toJSON()")}}</dt> + <dd><code>PerformanceNavigation</code> オブジェクトを表す json オブジェクトを返す jsonizer です。</dd> +</dl> + +<h2 id="仕様">仕様</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">仕様書</th> + <th scope="col">ステータス</th> + <th scope="col">コメント</th> + </tr> + <tr> + <td>{{SpecName('Navigation Timing', '#sec-navigation-info-interface', 'PerformanceNavigation')}}</td> + <td>{{Spec2('Navigation Timing')}}</td> + <td>初期定義</td> + </tr> + </tbody> +</table> + +<h2 id="ブラウザの互換性">ブラウザの互換性</h2> + +<div class="hidden">このページの互換性テーブルは構造化データから生成されます。データに貢献したい場合は <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> をチェックして、プルリクエストを送ってください。</div> + +<p>{{Compat("api.PerformanceNavigation")}}</p> + +<h2 id="あわせて参照">あわせて参照</h2> + +<ul> + <li>この型のオブジェクトへのアクセスを許可する {{domxref("Performance")}}</li> + <li>{{domxref("PerformanceNavigationTiming")}} (ナビゲーションタイミングレベル 2 の一部) {{experimental_inline}}</li> +</ul> |
