BrowserInfo_v3 Op

BrowserInfo

Reports the browser being used


<p>Performs a browser check. Some ops only work with certain browsers, you can use this op to create fallbacks.</p> <p>iOS detection is not very reliable, there is no safe and futureproof way to detect it anymore.</p>


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 (

<i>boolean</i>

Number)

<p>true if mobile platform, false if not</p>

Is Touchscreen (

<i>boolean</i>

Number)

Is IE (

<i>boolean</i>

Number)

<p>True if the browser is any of IE 9, IE 10, IE 11</p>

Is Edge (

<i>boolean</i>

Number)

<p>True if the browser is Edge </p>

Is Chrome (

<i>boolean</i>

Number)

<p>True if the browser is Chrome or Chrome Mobile</p>

Is Firefox (

<i>boolean</i>

Number)

<p>True if the browser is Firefox or Firefox mobile</p>

Is Opera (

<i>boolean</i>

Number)

<p>True if the browser is Opera</p>

Is Safari (

<i>boolean</i>

Number)

<p>True if the browser is Safari (iOS &amp; macOS &amp; OS X)</p>

Is Windows (

<i>boolean</i>

Number)

<p>true if operating system is windows</p>

Is Linux (

<i>boolean</i>

Number)

<p>true if operating system is linux </p>

Is Mac (

<i>boolean</i>

Number)

<p>true if operating system is mac</p>

Is iOS (

<i>boolean</i>

Number)

<p>true if operating system is iOS</p>

Is Android (

<i>boolean</i>

Number)

<p>true if operating system is Android</p>

Is Electron (

<i>boolean</i>

Number)

<p>true if cables electron app is used</p>

Operating System (String)

<p>exact name of the operating system</p>

Browser Name (String)

<p>name of the browser</p>

OS Version (String)

<p>version of the os</p>

Language (String)

<p>browser language</p>

User Agent (String)

<p>current user agent </p>

Platform Object (Object)

Patches using BrowserInfo_v3

  • Examples
  • Public
  • My Patches

Changelog


cloned op from Ops.Html.BrowserCheck_v2user avatarsimod - 2020-10-15 13:11
added lib: platform.jsuser avatarsimod - 2020-10-15 13:13
Ops.User.cables.BrowserCheck renamed to Ops.Html.BrowserInfouser avatarsimod - 2020-10-15 13:16
Ops.Html.BrowserInfo renamed to Ops.Html.BrowserCheck_v3user avatarcables - 2020-10-15 13:59
Ops.Html.BrowserCheck_v3 renamed to Ops.Html.BrowserInfouser avatarpandur - 2020-12-01 08:30
Ops.Html.BrowserInfo renamed to Ops.Html.BrowserInfo_v3user avatarpandur - 2020-12-01 08:33
Ops.Html.BrowserInfo_v3 renamed to Ops.Browser.BrowserInfo_v3user avatarpandur - 2022-06-07 08:47
renameOps.Browser.BrowserInfo_v3 renamed to Ops.Devices.Browser.BrowserInfo_v3user avatarpandur - 2023-12-06 09:24