概述
返回所使用浏览器的构建标识符.
语法
buildID = navigator.buildID;
buildID
是一个字符串,表示应用程序的构建标识符. 格式为 YYYYMMDDHH
.
例子
dump(window.navigator.buildID); // 控制台输出"2006090803"
备注
Firefox 2 (Gecko 1.8.1)以上版本可用. 查看 bug 345993.
规范
DOM Level 0 不属于任何标准.
返回所使用浏览器的构建标识符.
buildID = navigator.buildID;
buildID
是一个字符串,表示应用程序的构建标识符. 格式为 YYYYMMDDHH
.
dump(window.navigator.buildID); // 控制台输出"2006090803"
Firefox 2 (Gecko 1.8.1)以上版本可用. 查看 bug 345993.
DOM Level 0 不属于任何标准.
Navigator
NavigatorID.appCodeName
NavigatorID.appName
NavigatorID.appVersion
Navigator.battery
Navigator.buildID
Navigator.cookieEnabled
Navigator.doNotTrack
NavigatorGeolocation.geolocation
Navigator.id
NavigatorLanguage.language
NavigatorLanguage.languages
Navigator.maxTouchPoints
Navigator.mozAlarms
Navigator.mozApps
Navigator.mozAudioChannelManager
Navigator.mozBluetooth
Navigator.mozCamera
Navigator.mozCameras
Navigator.mozContacts
Navigator.mozFMRadio
Navigator.mozMobileConnections
Navigator.mozMobileMessage
Navigator.mozNetworkStats
Navigator.mozNfc
Navigator.mozNotification
Navigator.mozPermissionSettings
Navigator.mozPower
Navigator.mozSettings
Navigator.mozSms
Navigator.mozSocial
Navigator.mozTCPSocket
Navigator.mozTelephony
Navigator.mozTime
Navigator.mozVoicemail
Navigator.mozWifiManager
NavigatorOnLine.onLine
Navigator.oscpu
NavigatorID.platform
NavigatorID.product
Navigator.productSub
Navigator.push
Navigator.serviceWorker
NavigatorID.userAgent
Navigator.vendor
Navigator.vendorSub
Navigator.addIdleObserver()
Navigator.getBattery()
Navigator.getDataStores()
Navigator.getDeviceStorage()
Navigator.getDeviceStorages()
Navigator.getGamepads()
Navigator.mozHasPendingMessage()
Navigator.mozIsLocallyAvailable()
Navigator.mozPay()
Navigator.mozSetMessageHandler()
Navigator.registerContentHandler()
Navigator.registerProtocolHandler()
Navigator.removeIdleObserver()
Navigator.requestWakeLock()
Navigator.sendBeacon()
NavigatorID.taintEnabled()
Navigator.vibrate()
BeforeUnloadEvent
DOMStringMap
DataTransfer
DragEvent
ErrorEvent
GlobalEventHandlers
HTMLAnchorElement
HTMLAreaElement
HTMLAudioElement
HTMLBRElement
HTMLBaseElement
HTMLBaseFontElement
HTMLBodyElement
HTMLButtonElement
HTMLCanvasElement
HTMLContentElement
HTMLDListElement
HTMLDataElement
HTMLDataListElement
HTMLDialogElement
HTMLDivElement
HTMLDocument
HTMLElement
HTMLEmbedElement
HTMLFieldSetElement
HTMLFormControlsCollection
HTMLFormElement
HTMLFrameSetElement
HTMLHRElement
HTMLHeadElement
HTMLHeadingElement
HTMLHtmlElement
HTMLIFrameElement
HTMLImageElement
HTMLInputElement
HTMLIsIndexElement
HTMLKeygenElement
HTMLLIElement
HTMLLabelElement
HTMLLegendElement
HTMLLinkElement
HTMLMapElement
HTMLMediaElement
HTMLMetaElement
HTMLMeterElement
HTMLModElement
HTMLOListElement
HTMLObjectElement
HTMLOptGroupElement
HTMLOptionElement
HTMLOptionsCollection
HTMLOutputElement
HTMLParagraphElement
HTMLParamElement
HTMLPictureElement
HTMLPreElement
HTMLProgressElement
HTMLQuoteElement
HTMLScriptElement
HTMLSelectElement
HTMLShadowElement
HTMLSourceElement
HTMLSpanElement
HTMLStyleElement
HTMLTableCaptionElement
HTMLTableCellElement
HTMLTableColElement
HTMLTableDataCellElement
HTMLTableElement
HTMLTableHeaderCellElement
HTMLTableRowElement
HTMLTableSectionElement
HTMLTextAreaElement
HTMLTimeElement
HTMLTitleElement
HTMLTrackElement
HTMLUListElement
HTMLUnknownElement
HTMLVideoElement
HashChangeEvent
History
ImageData
Location
MessageChannel
MessageEvent
MessagePort
NavigatorGeolocation
NavigatorID
NavigatorLanguage
NavigatorOnLine
NavigatorPlugins
PageTransitionEvent
Plugin
PluginArray
PopStateEvent
PortCollection
RadioNodeList
Transferable
ValidityState
WebVTT
Window
WindowBase64
WindowEventHandlers
WindowTimers