BrowserInfo_v3 Op
Reports the browser being used
Summary (oneliner)
Performs a browser check. Some ops only work with certain browsers, you can use this op to create fallbacks.
iOS detection is not very reliable, there is no safe and futureproof way to detect it anymore.
- Ops.Devices.Browser.BrowserInfo_v3
- Core Op - Official cables op
- MIT
- Platform.js (A platform detection library that works on nearly all JavaScript platforms.)
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch BrowserCheck - example
OUTPUT PORTS
true if mobile platform, false if not
True if the browser is any of IE 9, IE 10, IE 11
True if the browser is Edge
True if the browser is Chrome or Chrome Mobile
True if the browser is Firefox or Firefox mobile
True if the browser is Opera
True if the browser is Safari (iOS & macOS & OS X)
true if operating system is windows
true if operating system is linux
true if operating system is mac
true if operating system is iOS
true if operating system is Android
true if cables electron app is used
exact name of the operating system
name of the browser
version of the os
browser language
current user agent