BrowserInfo_v3 Op

BrowserInfo

Reports the browser being used


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.


Full Name
  • Ops.Devices.Browser.BrowserInfo_v3
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest PatchesJavascript Libraries
  • Platform.js (A platform detection library that works on nearly all JavaScript platforms.)



OUTPUT PORTS


Is Mobile (booleanNumber)

true if mobile platform, false if not

Is Touchscreen (booleanNumber)
Is IE (booleanNumber)

True if the browser is any of IE 9, IE 10, IE 11

Is Edge (booleanNumber)

True if the browser is Edge

Is Chrome (booleanNumber)

True if the browser is Chrome or Chrome Mobile

Is Firefox (booleanNumber)

True if the browser is Firefox or Firefox mobile

Is Opera (booleanNumber)

True if the browser is Opera

Is Safari (booleanNumber)

True if the browser is Safari (iOS & macOS & OS X)

Is Windows (booleanNumber)

true if operating system is windows

Is Linux (booleanNumber)

true if operating system is linux

Is Mac (booleanNumber)

true if operating system is mac

Is iOS (booleanNumber)

true if operating system is iOS

Is Android (booleanNumber)

true if operating system is Android

Is Electron (booleanNumber)

true if cables electron app is used

Operating System (String)

exact name of the operating system

Browser Name (String)

name of the browser

Browser Version (String)
OS Version (String)

version of the os

Language (String)

browser language

User Agent (String)

current user agent

Platform Object (Object)

Patches using BrowserInfo_v3

  • Examples
  • Public
  • My Patches

Changelog


renameOps.Browser.BrowserInfo_v3 renamed to Ops.Devices.Browser.BrowserInfo_v3user avatarpandur - 2023-12-06 09:24
featureOutputs browser versionuser avatarpandur - 2024-10-30 17:37