-
Notifications
You must be signed in to change notification settings - Fork 0
System
Sys is object which methods are based globally and have next methods and variables.
Used to get language client is running on.
@string
sys.lang
Used to get platform client is running on.
@string
sys.os
Store maximal amount of touches device is capable off. Used on devices with screentouch, normal screens have touches equal to 0.
@integer
sys.maxTouches
Get list of all plugins running in your browser.
sys.plugins
Check is browser online.
sys.online
Check if cookies are enabled in browser.
sys.cookieEnabled
Print results to console log, also it can store all logs to local storage.
sys.log("Test log")
This method will just print out results to console log.
sys.log("Test log", "Log Storage", true)
This method print out and store results in local storage under "Log Storage" name.
This method is used to detect which browser client is using, and return name of browser Internet Explorer, Google Chrome, Opera, Mozzila Firefox.
@return string
sys.browser.name()
Store server host url.
sys.server.host
- Core
- select
- System
- sys.lang
- sys.os
- sys.maxTouches
- sys.plugins
- sys.online
- sys.cookieEnabled
- sys.log()
- Browser
- sys.browser.name()