-
Notifications
You must be signed in to change notification settings - Fork 4
$.browser
public static property.
This object has follwing properties, and methods.
- Properties
- .original
- .version
- .opera
- .operamini
- .operamobile
- .msie
- .edge
- .firefox
- .chrome
- .browser
- .safari
- .silk
- .mercury
- .webkit
- .trident
- .khtml
- .gecko
- .presto
- .x86
- .x64
- .arm
- .ia64
- .unknown
- Methods
- .initialize( string )
- .is( string )
type : string
This property has identified string for browser type.
type : VersionInfo
This property has version information.
Please see $.browser.version for details.
type : boolean
Get the value indicating whether the client browser is "Opera" or not.
type : boolean
Get the value indicating whether the client browser is "Opera Mini" or not.
type : boolean
Get the value indicating whether the client browser is "Opera Mobile" or not.
type : boolean
Get the value indicating whether the client browser is "Internet Explorer" or not.
type : boolean
Get the value indicating whether the client browser is "Microsoft Edge" or not.
type : boolean
Get the value indicating whether the client browser is "Firefox" or not.
type : boolean
Get the value indicating whether the client browser is "Chrome" or not.
type : boolean
Get the value indicating whether the client browser is "Android Default Browser" or not.
type : boolean
Get the value indicating whether the client browser is "Safari" or not.
type : boolean
Get the value indicating whether the client browser is "Silk" or not.
type : boolean
Get the value indicating whether the client browser is "Mercury" or not.
type : boolean
Get the value indicating whether the client HTML rendering engine is "Apple Webkit" or not.
type : boolean
Get the value indicating whether the client HTML rendering engine is "Trident" or not.
type : boolean
Get the value indicating whether the client HTML rendering engine is "KHTML" or not.
type : boolean
Get the value indicating whether the client HTML rendering engine is "Gecko" or not.
type : boolean
Get the value indicating whether the client HTML rendering engine is "Presto" or not.
type : boolean
Get the value indicating whether the browser execution mode is 32bit browser or not.
In case of 32bit browser on 64bit OS, this value is true.
type : boolean
Get the value indicating whether the browser execution mode is 64bit browser or not.
type : boolean
Get the value indicating whether the browser execution mode is ARM or not.
type : boolean
Get the value indicating whether the browser execution mode is Itanium or not.
type : boolean
Get the value indicating whether the client browser can not detect.
Initialize BrowserInfo class instance. This method set properties according to the given string.
Syntax:
private {void} initialize(
{string} useragent
)
Parameter:
-
{string}useragent
userAgent string.
Return:
-
{void}
no return value.
Get the value indicating whether the current browser is equal to the specified browser or not.
Syntax:
public {boolean} is(
{string} type
)
Parameter:
-
{string}type
Browser type string.
Return:
-
{boolean}
Whether the current browser is equal to the specified browser.