shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
isUcBrowser
Type:Function
Status:stable
Since:1.0.0
Platform:js
@blackbyte.sugar.js.is
Detect if is the UC stock browser that is running the page
Params
- ua”navigator.userAgent”String
The user agent on which to make the test
Return
- -Boolean
true if is UC browser, false if not
Example
import { isUcBrowser } from '@blackbyte/sugar/is'
if (isUcBrowser()) {
// do something
}Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space