public class Navigator extends SimpleScriptable
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.
|
String |
getLanguage()
Returns the language of the browser (for Mozilla).
|
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 property "product".
|
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, defineFunctionProperties, defineProperty, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, isReadOnlySettable, makeScriptableFor, setCaseSensitive, setClassName, setDomNode, setDomNode, setHtmlElement, setParentScope
applyDescriptorToAttributeBitset, 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, size
public 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()
public 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()
public Geolocation getGeolocation()
public String getBuildID()
public String getVendor()
public String getVendorSub()
public String getDoNotTrack()
public String getMsDoNotTrack()
public String getOscpu()
Copyright © 2002–2015 Gargoyle Software Inc.. All rights reserved.