public class Navigator extends SimpleScriptable
Navigator.| Constructor and Description |
|---|
Navigator()
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAppCodeName()
Returns the property "appCodeName".
|
String |
getAppMinorVersion()
Returns the property "appMinorVersion".
|
String |
getAppName()
Returns the property "appName".
|
String |
getAppVersion()
Returns the property "appVersion".
|
String |
getBrowserLanguage()
Returns the language of the browser (for IE).
|
String |
getBuildID()
Returns the buildID.
|
boolean |
getCookieEnabled()
Returns the property "cookieEnabled".
|
String |
getCpuClass()
Returns the property "cpuClass".
|
String |
getDoNotTrack()
Returns the doNotTrack.
|
Geolocation |
getGeolocation()
Returns the
geolocation property. |
String |
getLanguage()
Returns the language of the browser.
|
Object |
getMimeTypes()
Returns an empty array because HtmlUnit does not support embedded objects.
|
String |
getMsDoNotTrack()
Returns the msDoNotTrack.
|
boolean |
getOnLine()
Returns the property "onLine".
|
String |
getOscpu()
Returns the oscpu.
|
String |
getPlatform()
Returns the property "platform".
|
Object |
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 |
getSystemLanguage()
Returns the property "systemLanguage".
|
String |
getUserAgent()
Returns the property "userAgent".
|
String |
getUserLanguage()
Returns the property "userLanguage".
|
String |
getVendor()
Returns the vendor.
|
String |
getVendorSub()
Returns the vendorSub.
|
boolean |
javaEnabled()
Indicates if Java is enabled.
|
boolean |
taintEnabled()
Returns
false always as data tainting support is not enabled in HtmlUnit. |
clone, equivalentValues, get, getBrowserVersion, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, isReadOnlySettable, makeScriptableFor, setCaseSensitive, setDomNode, setDomNode, setHtmlElementdefineFunctionProperties, defineProperty, getClassName, setClassName, setParentScopeapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setPrototype, sizepublic String getAppCodeName()
public String getAppMinorVersion()
public String getAppName()
public String getAppVersion()
public String getBrowserLanguage()
public String getLanguage()
public boolean getCookieEnabled()
public String getCpuClass()
public boolean getOnLine()
public String getPlatform()
public String getProduct()
product property.product propertypublic String getProductSub()
public String getSystemLanguage()
public String getUserAgent()
public String getUserLanguage()
public Object getPlugins()
public Object getMimeTypes()
public boolean javaEnabled()
WebClientOptions.isAppletEnabled()public boolean taintEnabled()
false always as data tainting support is not enabled in HtmlUnit.public Geolocation getGeolocation()
geolocation property.geolocation propertypublic String getBuildID()
public String getVendor()
public String getVendorSub()
public String getDoNotTrack()
public String getMsDoNotTrack()
public String getOscpu()
Copyright © 2002–2016 Gargoyle Software Inc.. All rights reserved.