Top Level Namespace
Defined Under Namespace
Modules: Browser, Kernel Classes: Hash, NilClass, Numeric, Object, Proc, Promise, String
Constant Summary collapse
- BROWSER_ENGINE =
The engine the browser is running on.
Keep in mind it uses the user agent to know, so it's not reliable in case of spoofing.
`/MSIE|WebKit|Presto|Gecko/.exec(navigator.userAgent)[0]`.downcase rescue :unknown