Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1014017 // jsIsDesktopChrome

JavaX fragment (include)

sS jsIsDesktopChrome() {
  ret hjavascript([[
    function isDesktopChrome() {
     var ua = navigator.userAgent;

     return /Chrome/i.test(ua) && !/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Mobile|mobile|CriOS/i.test(ua);
  }]]);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1014017
Snippet name: jsIsDesktopChrome
Eternal ID of this version: #1014017/1
Text MD5: ffed1f18d98133dc36584383dcbe1a99
Author: stefan
Category: javax / javascript
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-22 17:41:47
Source code size: 261 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 404 / 420
Referenced in: [show references]