oscar.Util

Summary
oscar.Util
Functions
getBrowserNameReturns: {String} A string which specifies which is the current browser in which we are running.
getElement This is the old $() from prototype
getTimeStampUsed to append to a URL to prevent caching

Functions

getBrowserName

oscar.Util.getBrowserName = function()

Returns: {String} A string which specifies which is the current browser in which we are running.

Currently-supported browser detection and codes: * ‘opera’ -- Opera * ‘msie’ -- Internet Explorer * ‘safari’ -- Safari * ‘firefox’ -- FireFox * ‘mozilla’ -- Mozilla

If we are unable to property identify the browser, we return an empty string.

getElement This is the old $() from prototype

getTimeStamp

oscar.Util.getTimeStamp = function()

Used to append to a URL to prevent caching

Returns

{String} Returns a key value pair.

Example

timestamp=421564215

oscar.Util.getBrowserName = function()
Returns: {String} A string which specifies which is the current browser in which we are running.
oscar.Util.getTimeStamp = function()
Used to append to a URL to prevent caching