From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/glossary/user_agent/index.html | 56 +++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 files/ja/glossary/user_agent/index.html (limited to 'files/ja/glossary/user_agent') diff --git a/files/ja/glossary/user_agent/index.html b/files/ja/glossary/user_agent/index.html new file mode 100644 index 0000000000..944694e0a4 --- /dev/null +++ b/files/ja/glossary/user_agent/index.html @@ -0,0 +1,56 @@ +--- +title: User agent (ユーザーエージェント) +slug: Glossary/User_agent +tags: + - Browser + - Glossary + - UA + - User-agent + - Web Browser + - WebMechanics + - agent + - user agent + - userAgent +translation_of: Glossary/User_agent +--- +

ユーザーエージェントは個人を表すコンピューターのプログラムで、例えば{{Glossary("World Wide Web", "ウェブ")}}における{{Glossary("Browser","ブラウザー")}}に当たるものです。

+ +

ブラウザーのほかに、ウェブページをスクレイピングするボット、ダウンロードマネージャー、その他のウェブにアクセスするアプリがユーザーエージェントになる可能性もあります。ブラウザーはサーバーに対してリクエストを行う際に毎回、 {{Glossary("HTTP")}} の {{HTTPHeader("User-Agent")}} ヘッダーに、ユーザーエージェント (UA) 文字列と呼ばれる自分自身を識別する文字列を含めます。この文字列はブラウザー、バージョン番号、ホストのオペレーティングシステムなどを識別します。

+ +

スパムボット、ダウンロードマネージャー、一部のブラウザーは、異なるクライアントであると見せかけるために偽の UA 文字列を送ることがあります。これは user agent spoofing と呼ばれています。

+ +

ユーザーエージェント文字列は、クライアント側の {{Glossary("JavaScript")}} で {{domxref("navigator.userAgent")}} を使用することでアクセスできます。

+ +

ユーザーエージェント文字列は、 "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0" のようなものが一般的です。

+ +

関連情報

+ +

一般知識

+ + + +

技術リファレンス

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