public class Navigator extends HtmlUnitScriptable
Navigator.org.htmlunit.corejs.javascript.ScriptableObject.DescriptorInfo, org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator, org.htmlunit.corejs.javascript.ScriptableObject.LambdaGetterFunction, org.htmlunit.corejs.javascript.ScriptableObject.LambdaSetterFunctionCONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTNOT_FOUND| Constructor and Description |
|---|
Navigator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAppCodeName()
Returns the
appCodeName property. |
String |
getAppName()
Returns the
appName property. |
String |
getAppVersion()
Returns the
appVersion property. |
String |
getBuildID()
Returns the
buildID property. |
NetworkInformation |
getConnection()
Returns the
connection property. |
Object |
getDoNotTrack()
Returns the
doNotTrack property. |
Geolocation |
getGeolocation()
Returns the
geolocation property. |
String |
getLanguage()
Returns the language of the browser.
|
org.htmlunit.corejs.javascript.Scriptable |
getLanguages()
Returns the language of the browser.
|
MediaDevices |
getMediaDevices()
Returns the
mimeTypes property. |
MimeTypeArray |
getMimeTypes()
Returns the
mimeTypes property. |
String |
getOscpu()
Returns the
oscpu property. |
String |
getPlatform()
Returns the
platform property. |
PluginArray |
getPlugins()
Returns an empty array because HtmlUnit does not support embedded objects.
|
String |
getProduct()
Returns the
product property. |
String |
getProductSub()
Returns the build number of the current browser.
|
String |
getUserAgent()
Returns the property
userAgent. |
String |
getVendor()
Returns the
vendor property. |
String |
getVendorSub()
Returns the
vendorSub property. |
boolean |
isCookieEnabled()
Returns the
cookieEnabled property. |
boolean |
isOnLine()
Returns the
onLine property. |
boolean |
isPdfViewerEnabled() |
boolean |
javaEnabled()
Indicates if Java is enabled.
|
void |
jsConstructor()
JavaScript constructor.
|
boolean |
taintEnabled()
Returns
false always as data tainting support is not enabled in HtmlUnit. |
clone, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getWindow, getWindow, getWindowFromTopCallScope, getWithPreemption, has, hasInstance, initParentScope, makeScriptableFor, put, setClassName, setDomNode, setDomNode, setParentScope, setupPromise, setupRejectedPromiseapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkNotSealed, checkPropertyChangeForSlot, checkPropertyChangeForSlot, checkPropertyDefinition, checkSlotRemoval, defineBuiltInProperty, defineBuiltInProperty, defineBuiltInProperty, defineBuiltInProperty, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureScriptableObjectButNotSymbol, ensureSymbolScriptable, ensureType, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSuperProperty, getSuperProperty, getSuperProperty, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putOwnProperty, putOwnProperty, putOwnProperty, putProperty, putProperty, putProperty, putSuperProperty, putSuperProperty, putSuperProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setPrototype, sizecreateSlotMappublic void jsConstructor()
public String getAppCodeName()
appCodeName property.appCodeName propertypublic String getAppName()
appName property.appName propertypublic String getAppVersion()
appVersion property.appVersion propertypublic String getLanguage()
public org.htmlunit.corejs.javascript.Scriptable getLanguages()
public boolean isCookieEnabled()
cookieEnabled property.cookieEnabled propertypublic boolean isOnLine()
onLine property.onLine propertypublic String getPlatform()
platform property.platform propertypublic String getProduct()
product property.product propertypublic String getProductSub()
public String getUserAgent()
userAgent.userAgentpublic PluginArray getPlugins()
public MimeTypeArray getMimeTypes()
mimeTypes property.mimeTypes propertypublic boolean javaEnabled()
public boolean taintEnabled()
false always as data tainting support is not enabled in HtmlUnit.public Geolocation getGeolocation()
geolocation property.geolocation propertypublic boolean isPdfViewerEnabled()
public String getBuildID()
buildID property.buildID propertypublic String getVendor()
vendor property.vendor propertypublic String getVendorSub()
vendorSub property.vendorSub propertypublic Object getDoNotTrack()
doNotTrack property.doNotTrack propertypublic String getOscpu()
oscpu property.oscpu propertypublic NetworkInformation getConnection()
connection property.connection propertypublic MediaDevices getMediaDevices()
mimeTypes property.mimeTypes propertyCopyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.