1 | sS jsIsDesktopChrome() { |
2 | ret hjavascript([[ |
3 | function isDesktopChrome() { |
4 | var ua = navigator.userAgent; |
5 | |
6 | return /Chrome/i.test(ua) && !/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Mobile|mobile|CriOS/i.test(ua); |
7 | }]]); |
8 | } |
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: | 406 / 423 |
Referenced in: | [show references] |