browser"

From Documentation
m
Line 12: Line 12:
 
* type - the type of the browser.
 
* type - the type of the browser.
 
:Allowed values include "robot", "ie", "ie6", "ie6-", "ie7", "ie8", "ie9", "ie7-", "ie8-",
 
:Allowed values include "robot", "ie", "ie6", "ie6-", "ie7", "ie8", "ie9", "ie7-", "ie8-",
:"gecko", "gecko2", "gecko3", "gecko2-", "opara", "safari"
+
:"gecko", "gecko2", "gecko3", "gecko2-", "opera", "safari"
 
:Note: "ie6-" means Internet Explorer 6 only; not Internet Explorer 7 or other.  
 
:Note: "ie6-" means Internet Explorer 6 only; not Internet Explorer 7 or other.  
  

Revision as of 09:45, 27 January 2011

boolean browser(String type);
i.e., ServletFns.isBrowser(String)

Returns whether the current request is coming from the browser of the specified type.

Parameters:

  • type - the type of the browser.
Allowed values include "robot", "ie", "ie6", "ie6-", "ie7", "ie8", "ie9", "ie7-", "ie8-",
"gecko", "gecko2", "gecko3", "gecko2-", "opera", "safari"
Note: "ie6-" means Internet Explorer 6 only; not Internet Explorer 7 or other.

Version History

Last Update : 2011/01/27


Version Date Content
     



Last Update : 2011/01/27

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.