Wednesday, 7 May 2014

Detect Browser name and version in zk ?

Execution exec = Executions.getCurrent();
exec.getBrowser()// => Returns the name of the browser, or null if not identifiable.
exec.getBrowser(String name) // => Returns the version of the given browser name, or null if the client is not the given browsers.

1 comment: