DHTML: navigatorオブジェクト  編集:2021.07.14 by T.A.

Web ブラウザに関する情報。

window.navigator /[Edge]
=[object]:[object Navigator]

vendorSub=[string]:

productSub=[string]:20030107

vendor=[string]:Google Inc.

maxTouchPoints=[number]:0

userActivation=[object]:[object UserActivation]

doNotTrack=[object]:null

geolocation=[object]:[object Geolocation]

connection=[object]:[object NetworkInformation]

plugins=[object]:[object PluginArray]

mimeTypes=[object]:[object MimeTypeArray]

webkitTemporaryStorage=[object]:[object DeprecatedStorageQuota]

webkitPersistentStorage=[object]:[object DeprecatedStorageQuota]

hardwareConcurrency=[number]:8

cookieEnabled=[boolean]:true

appCodeName=[string]:Mozilla

appName=[string]:Netscape

appVersion=[string]:5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/9・・・

platform=[string]:Win32

product=[string]:Gecko

userAgent=[string]:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) ・・・

language=[string]:ja

languages=[object]:ja,en

onLine=[boolean]:true

webdriver=[boolean]:false

getBattery=[function]:function getBattery() { [native code] }

getGamepads=[function]:function getGamepads() { [native code] }

javaEnabled=[function]:function javaEnabled() { [native code] }

sendBeacon=[function]:function sendBeacon() { [native code] }

vibrate=[function]:function vibrate() { [native code] }

serial=[object]:[object Serial]

scheduling=[object]:[object Scheduling]

mediaCapabilities=[object]:[object MediaCapabilities]

permissions=[object]:[object Permissions]

locks=[object]:[object LockManager]

managed=[object]:[object NavigatorManagedData]

usb=[object]:[object USB]

mediaSession=[object]:[object MediaSession]

clipboard=[object]:[object Clipboard]

credentials=[object]:[object CredentialsContainer]

keyboard=[object]:[object Keyboard]

mediaDevices=[object]:[object MediaDevices]

storage=[object]:[object StorageManager]

serviceWorker=[object]:[object ServiceWorkerContainer]

wakeLock=[object]:[object WakeLock]

deviceMemory=[number]:8

presentation=[object]:[object Presentation]

xr=[object]:[object XRSystem]

userAgentData=[object]:[object NavigatorUAData]

bluetooth=[object]:[object Bluetooth]

hid=[object]:[object HID]

canShare=[function]:function canShare() { [native code] }

share=[function]:function share() { [native code] }

registerProtocolHandler=[function]:function registerProtocolHandler() { [native code] }

unregisterProtocolHandler=[function]:function unregisterProtocolHandler() { [native code] }

getInstalledRelatedApps=[function]:function getInstalledRelatedApps() { [native code] }

clearAppBadge=[function]:function clearAppBadge() { [native code] }

setAppBadge=[function]:function setAppBadge() { [native code] }

getUserMedia=[function]:function getUserMedia() { [native code] }

requestMIDIAccess=[function]:function requestMIDIAccess() { [native code] }

requestMediaKeySystemAccess=[function]:function requestMediaKeySystemAccess() { [native code] }

webkitGetUserMedia=[function]:function webkitGetUserMedia() { [native code] }


表示内容:
表示内容:

以下は各システムに於ける navigator の内容

IE5.0、Windows98
window.navigator=

[object]:

appCodeName=Mozilla

appMinorVersion=;q240308;q231452;q231450;q313829;

appName=Microsoft Internet Explorer

appVersion=4.0 (compatible; MSIE 5.0; Windows 98; DigExt)

cookieEnabled=true

cpuClass=x86

mimeTypes=[object]:

onLine=false

opsProfile=[object]:

platform=Win32

plugins=[object]:

systemLanguage=ja

userAgent=Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)

userLanguage=ja

userProfile=[object]:

IE5.5、Windows98
window.navigator=

[object]:

appCodeName=[string]:Mozilla

appName=[string]:Microsoft Internet Explorer

appMinorVersion=[string]:;SP2;

cpuClass=[string]:x86

platform=[string]:Win32

plugins=[object]:

opsProfile=[object]:

userProfile=[object]:

systemLanguage=[string]:ja

userLanguage=[string]:ja

appVersion=[string]:4.0 (compatible; MSIE 5.5; Windows 98)

userAgent=[string]:Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)

onLine=[boolean]:true

cookieEnabled=[boolean]:true

mimeTypes=[object]:

IE5.5、Windows98SE
window.navigator=

[object]:

appCodeName=Mozilla

appName=Microsoft Internet Explorer

appMinorVersion=;SP2;

cpuClass=x86

platform=Win32

plugins=[object]:

opsProfile=[object]:

userProfile=[object]:

systemLanguage=ja

userLanguage=ja

appVersion=4.0 (compatible; MSIE 5.5; Windows 98)

userAgent=Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)

onLine=true

cookieEnabled=true

mimeTypes=[object]:

IE6.0、Windows98SE
window.navigator=

[object]:

appCodeName=Mozilla

appName=Microsoft Internet Explorer

appMinorVersion=0

cpuClass=x86

platform=Win32

plugins=[object]:

opsProfile=[object]:

userProfile=[object]:

systemLanguage=ja

userLanguage=ja

appVersion=4.0 (compatible; MSIE 6.0; Windows 98)

userAgent=Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)

onLine=true

cookieEnabled=true

mimeTypes=[object]:

Firefox1.0、Windows98
window.navigator=

[object]:[object Navigator]

platform=Win32

userAgent=Mozilla/5.0 (Windows; U; Win98; ja-JP; rv:1.7.5) Gecko/20041108 Firefox/1.0

appCodeName=Mozilla

appName=Netscape

appVersion=5.0 (Windows; ja-JP)

language=ja-JP

mimeTypes=[object]:[object MimeTypeArray]

oscpu=Win98

vendor=Firefox

vendorSub=1.0

product=Gecko

productSub=20041108

plugins=[object]:[object PluginArray]

securityPolicy=

cookieEnabled=true

javaEnabled=

function javaEnabled() { [native code] }

taintEnabled=

function taintEnabled() { [native code] }

preference= function preference() { [native code] }

IE11、Windows7
window.navigator=

[object]:[object Navigator]

appCodeName=[string]:Mozilla

appMinorVersion=[string]:0

browserLanguage=[string]:ja-JP

cookieEnabled=[boolean]:true

cpuClass=[string]:x86

language=[string]:ja-JP

mimeTypes=[object]:[object MimeTypeArray]

plugins=[object]:[object PluginArray]

systemLanguage=[string]:ja-JP

userLanguage=[string]:ja-JP

maxTouchPoints=[number]:0

msManipulationViewsEnabled=[boolean]:false

msMaxTouchPoints=[number]:0

msPointerEnabled=[boolean]:true

pointerEnabled=[boolean]:true

webdriver=[boolean]:false

geolocation=[object]:[object Geolocation]

appName=[string]:Netscape

appVersion=[string]:5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5・・・

platform=[string]:Win32

product=[string]:Gecko

userAgent=[string]:Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET・・・

vendor=[string]:

onLine=[boolean]:true

msSaveBlob=[function]: function msSaveBlob() { [native code] }

msSaveOrOpenBlob=[function]: function msSaveOrOpenBlob() { [native code] }

confirmSiteSpecificTrackingException=[function]: function confirmSiteSpecificTrackingException() { [native code] }

confirmWebWideTrackingException=[function]: function confirmWebWideTrackingException() { [native code] }

removeSiteSpecificTrackingException=[function]: function removeSiteSpecificTrackingException() { [native code] }

removeWebWideTrackingException=[function]: function removeWebWideTrackingException() { [native code] }

storeSiteSpecificTrackingException=[function]: function storeSiteSpecificTrackingException() { [native code] }

storeWebWideTrackingException=[function]: function storeWebWideTrackingException() { [native code] }

javaEnabled=[function]: function javaEnabled() { [native code] }

taintEnabled=[function]: function taintEnabled() { [native code] }


以下にプロパティーとメソッドを示す。

userAgentプロパティ

[string]=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36 Edg/90.0.818.56

cpuClassプロパティ
 [プ]。指定されているCPUの種類を返す。
navigator.cpuClass
platformプロパティ
 [プ]。使用中のプラットフォームを返す。
navigator.platform
appNameプロパティ
 [プ]。ブラウザの名前を検索する。
appCodeNameプロパティ
 [プ]。ブラウザのコードネームを検索する。
appVersionプロパティ
 [プ]。ブラウザのプラットホームとヴァージョン値を検索する。
appMinorVersionプロパティ
 [プ]。アプリケーションの小さい方のヴァージョン値を検索する。
navigator.appMinorVersion
systemLanguageプロパティ
 [プ]。実行環境におけるデフォルトの言語を返す。
browserLanguageプロパティ
 [プ]。現在のブラウザ言語を検索する。
userLanguageプロパティ
 [プ]。オペレーティングシステムの自然言語設定を取る。
onLineプロパティ
 [プ]。システムが「global offline model」にあるのかを示す値を検索する。
userAgentプロパティ
 [プ]。HTTPユーザー エージェント要求ヘッダーに同等なトリミングを取る。
cookieEnabledプロパティ
 [プ]。cookie が使用可能状態か否かを返す。
userProfileプロパティ
 [プ]。¶ユーザープロファイル…。
javaEnabledメソッド
 [メ]。JAVA が使用可能か否かを返す。
navigator.javaEnabled()
taintEnabledメソッド
 [メ]。