browser_detector

Class browser_detector This class is an experiment for the job of correctly detecting browsers and settings needed for them. - Detects the following browsers - Opera, Webkit, Firefox, Web_tv, Konqueror, IE, Gecko - Webkit variants: Chrome, iphone, blackberry, android, safari, ipad, ipod - Opera Versions: 6, 7, 8 ... 10 ... and mobile mini and mobi - Firefox Versions: 1, 2, 3 .... 11 ... - Chrome Versions: 1 ... 18 ... - IE Versions: 4, 5, 5.5, 6, 7, 8, 9, 10 ... mobile and Mac - MS Edge - Nokia
Methods Summary
public
# detectBrowser( )
The main method of this class, you know the one that does the job: detect the thing. - determines the user agent (browser) as best it can.
public
# isOpera( )
Determine if the browser is Opera or not
public
# isIe( )
Determine if the browser is IE or not
public
# isIe11( )
Determine if the browser is IE11 or not
public
# isEdge( )
Determine if the browser is Edge or not
public
# isWebkit( )
Determine if the browser is a Webkit based one or not
public
# isFirefox( )
Determine if the browser is Firefox or one of its variants
public
# isWebTv( )
Determine if the browser is WebTv or not
public
# isKonqueror( )
Determine if the browser is konqueror or not
public
# isGecko( )
Determine if the browser is Gecko or not
public
# isOperaMini( )
Determine if the browser is Opera Mini or not
public
# isOperaMobi( )
Determine if the browser is Opera Mobile or not
public
# fillInformation( )
Fill out the historical array - needed to support old mods that don't use isBrowser