luminate:移动设备是否正在查看页面

author author     2023-03-23     382

关键词:

  1. <!-- Copyright 2010 Convio, Inc. -->
  2.  
  3. <!--
  4. Conditional for detecting mobile devices
  5. [[?xx::x[[S80:isMobile]]x::
  6. isMobile is not yet set
  7. [[?xx::x[[S80:UserAgentLowerCase]]x::
  8. UserAgentLowerCase is not yet set
  9. Convert User-Agent from HTTP request header to lower case
  10. [[U0:UserAgentLowerCase=[[E130:"[[S50:User-Agent]]" "A" "a" replaceall "B" "b" replaceall "C" "c" replaceall "D" "d" replaceall "E" "e" replaceall "F" "f" replaceall "G" "g" replaceall "H" "h" replaceall "I" "i" replaceall "J" "j" replaceall "K" "k" replaceall "L" "l" replaceall "M" "m" replaceall "N" "n" replaceall "O" "o" replaceall "P" "p" replaceall "Q" "q" replaceall "R" "r" replaceall "S" "s" replaceall "T" "t" replaceall "U" "u" replaceall "V" "v" replaceall "W" "w" replaceall "X" "x" replaceall "Y" "y" replaceall "Z" "z" replaceall]]]]
  11. ::
  12. ]]
  13. Test for mobile device User-Agents
  14. The string "CONVIO" is used as a prefix when testing for UAs that begin with a given value, like ^ in a regex
  15. [[?
  16. [[?[[S80:UserAgentLowerCase]]::176x220::T::]]
  17. [[?[[S80:UserAgentLowerCase]]::240x320::T::]]
  18. [[?[[S80:UserAgentLowerCase]]::320x320::T::]]
  19. [[?[[S80:UserAgentLowerCase]]::alcatel::T::]]
  20. [[?[[S80:UserAgentLowerCase]]::amoi::T::]]
  21. [[?[[S80:UserAgentLowerCase]]::android::T::]]
  22. [[?CONVIO[[S80:UserAgentLowerCase]]::CONVIObenq::T::]]
  23. [[?CONVIO[[S80:UserAgentLowerCase]]::CONVIObird::T::]]
  24. [[?[[S80:UserAgentLowerCase]]::blackberry::T::]]
  25. [[?[[S80:UserAgentLowerCase]]::blazer::T::]]
  26. [[?[[S80:UserAgentLowerCase]]::bunjalloo::T::]]
  27. [[?[[S80:UserAgentLowerCase]]::coolpad::T::]]
  28. [[?[[S80:UserAgentLowerCase]]::docomo::T::]]
  29. [[?[[S80:UserAgentLowerCase]]::dopod::T::]]
  30. [[?[[S80:UserAgentLowerCase]]::foma::T::]]
  31. [[?[[S80:UserAgentLowerCase]]::ericsson::T::]]
  32. [[?[[S80:UserAgentLowerCase]]::gionee::T::]]
  33. [[?[[S80:UserAgentLowerCase]]::haier::T::]]
  34. [[?[[S80:UserAgentLowerCase]]::helio::T::]]
  35. [[?[[S80:UserAgentLowerCase]]::hiptop::T::]]
  36. [[?[[S80:UserAgentLowerCase]]::hosin::T::]]
  37. [[?[[S80:UserAgentLowerCase]]::htc::T::]]
  38. [[?[[S80:UserAgentLowerCase]]::huawei::T::]]
  39. [[?[[S80:UserAgentLowerCase]]::iemobile::T::]]
  40. [[?[[S80:UserAgentLowerCase]]::iphone::T::]]
  41. [[?[[S80:UserAgentLowerCase]]::jig browser::T::]]
  42. [[?[[S80:UserAgentLowerCase]]::kddi::T::]]
  43. [[?[[S80:UserAgentLowerCase]]::ktouch::T::]]
  44. [[?CONVIO[[S80:UserAgentLowerCase]]::CONVIOlct::T::]]
  45. [[?CONVIO[[S80:UserAgentLowerCase]]::CONVIOlge::T::]]
  46. [[?[[S80:UserAgentLowerCase]]::longcos::T::]]
  47. [[?[[S80:UserAgentLowerCase]]::maui::T::]]
  48. [[?[[S80:UserAgentLowerCase]]::midp::T::]]
  49. [[?CONVIO[[S80:UserAgentLowerCase]]::CONVIOmot-::T::]]
  50. [[?[[S80:UserAgentLowerCase]]::motorola::T::]]
  51. [[?[[S80:UserAgentLowerCase]]::netfront::T::]]
  52. [[?[[S80:UserAgentLowerCase]]::nexian::T::]]
  53. [[?[[S80:UserAgentLowerCase]]::nokia::T::]]
  54. [[?[[S80:UserAgentLowerCase]]::novarra::T::]]
  55. [[?[[S80:UserAgentLowerCase]]::opera mini::T::]]
  56. [[?[[S80:UserAgentLowerCase]]::opera mobi::T::]]
  57. [[?[[S80:UserAgentLowerCase]]::palmsource::T::]]
  58. [[?[[S80:UserAgentLowerCase]]::pantech::T::]]
  59. [[?[[S80:UserAgentLowerCase]]::philips::T::]]
  60. [[?[[S80:UserAgentLowerCase]]::phone::T::]]
  61. [[?[[S80:UserAgentLowerCase]]::portalmmm::T::]]
  62. [[?[[S80:UserAgentLowerCase]]::sagem::T::]]
  63. [[?CONVIO[[S80:UserAgentLowerCase]]::CONVIOsam-::T::]]
  64. [[?[[S80:UserAgentLowerCase]]::samsung::T::]]
  65. [[?[[S80:UserAgentLowerCase]]::sch-::T::]]
  66. [[?[[S80:UserAgentLowerCase]]::sgh-::T::]]
  67. [[?CONVIO[[S80:UserAgentLowerCase]]::CONVIOsie-::T::]]
  68. [[?[[S80:UserAgentLowerCase]]::smartphone::T::]]
  69. [[?[[S80:UserAgentLowerCase]]::softbank::T::]]
  70. [[?CONVIO[[S80:UserAgentLowerCase]]::CONVIOspice::T::]]
  71. [[?[[S80:UserAgentLowerCase]]::symbian::T::]]
  72. [[?[[S80:UserAgentLowerCase]]::techfaith::T::]]
  73. [[?CONVIO[[S80:UserAgentLowerCase]]::CONVIOucweb::T::]]
  74. [[?[[S80:UserAgentLowerCase]]::up.browser::T::]]
  75. [[?[[S80:UserAgentLowerCase]]::up.link::T::]]
  76. [[?[[S80:UserAgentLowerCase]]::wap::T::]]
  77. [[?[[S80:UserAgentLowerCase]]::webos::T::]]
  78. [[?[[S80:UserAgentLowerCase]]::wellcom::T::]]
  79. [[?[[S80:UserAgentLowerCase]]::windows ce::T::]]
  80. [[?CONVIO[[S80:UserAgentLowerCase]]::CONVIOzte-::T::]]
  81. ::T::
  82. [[U0:isMobile=1]]
  83. ::
  84. Test for presence of x-wap-profile and/or Profile HTTP request headers
  85. If either has a value, this is a mobile device
  86. This is important for mobile devices that run something other than their native browser
  87. For example, Firefox on a Blackberry sends the Firefox UA string with nothing to set it aside from Firefox on a PC
  88. [[?
  89. [[?xx::x[[S50:X-WAP-PROFILE]]x::::T]]
  90. [[?xx::x[[S50:PROFILE]]x::::T]]
  91. ::T::
  92. [[U0:isMobile=1]]
  93. ::
  94. [[U0:isMobile=0]]
  95. ]]]]
  96. ::
  97. isMobile session variable is set to [[S80:isMobile]]
  98. ]]
  99. -->
  100.  

检测移动设备[重复]

】检测移动设备[重复]【英文标题】:Detectingmobiledevice[duplicate]【发布时间】:2015-02-1105:20:11【问题描述】:我有一个基本的CSS弹出层,一旦单击图像就会被激活。我在编写代码时遇到问题,其中脚本检测个人是否正在从移动设... 查看详情

检查移动设备是不是正在请求桌面站点

】检查移动设备是不是正在请求桌面站点【英文标题】:Checkifamobiledeviceisrequestingthedesktopsite检查移动设备是否正在请求桌面站点【发布时间】:2016-08-2210:01:22【问题描述】:我在我的MVC网站上使用51度作为为我的页面提供服务的... 查看详情

是否可以在移动设备上将 Facebook 应用程序显示为页面选项卡?

】是否可以在移动设备上将Facebook应用程序显示为页面选项卡?【英文标题】:IsitpossibletoshowaFacebookappasaPageTabonmobiledevices?【发布时间】:2011-11-0510:36:01【问题描述】:例如,以下URL在选项卡中显示应用程序:https://www.facebook.com/j... 查看详情

是否可以在页面中嵌入移动设备的 YouTube 视频,而不是链接到 YouTube?

】是否可以在页面中嵌入移动设备的YouTube视频,而不是链接到YouTube?【英文标题】:IsitpossibletoembedaYouTubevideoformobiledevicesinapage,ratherthanlinkingtoYouTube?【发布时间】:2011-07-1414:52:03【问题描述】:我有一个嵌入了YouTube视频的页面... 查看详情

如何在移动设备的 JavaScript 中查看光标在哪个 div 上?

】如何在移动设备的JavaScript中查看光标在哪个div上?【英文标题】:HowtoseewhichdivthecursorisoninJavaScriptformobiledevices?【发布时间】:2020-05-1911:17:59【问题描述】:我正在开发一款游戏,我想使用JavaScript查看光标位于哪个div上。这是... 查看详情

所有移动/桌面设备的地理位置

】所有移动/桌面设备的地理位置【英文标题】:GeoLocationforallMobile/DesktopDevices【发布时间】:2011-03-0804:44:52【问题描述】:我正在使用gears.js和geo.js试图涵盖所有领域,以查找用户的地理位置。所以如果用户使用的不是IE9,我可... 查看详情

判断是否为移动设备

if(/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)){//执行相应代码或直接跳转到手机页面}else{//执行桌面端代码}单独检测当前设备是否是某种指定的设备例如if(iPhone.test(navigator.userAgent)){document.write("<h2>这是iPhone 查看详情

页面滚动时移动设备上的织物(画布)

】页面滚动时移动设备上的织物(画布)【英文标题】:Fabric(Canvas)onMobileDeviceswhilepagescroll【发布时间】:2015-07-0422:51:16【问题描述】:我观察到我们无法通过在移动设备上滑动手指来滚动网页,我们使用了链接到Fabric的Canvas覆... 查看详情

在模拟器和移动设备中查看时布局错位

】在模拟器和移动设备中查看时布局错位【英文标题】:Layouthasbeenmisplacedwhileviewinemulatorandmobile【发布时间】:2020-04-2616:44:59【问题描述】:我正在实现登录屏幕,同时在AndroidStudio中实现它,设计看起来不错,但是在将应用程序... 查看详情

我的图像是不是正在加载到移动设备上? [复制]

】我的图像是不是正在加载到移动设备上?[复制]【英文标题】:AremyimagesbeingloadedonMobile?[duplicate]我的图像是否正在加载到移动设备上?[复制]【发布时间】:2017-05-2523:57:14【问题描述】:在我的网页上,我有一个使用以下CSS和HT... 查看详情

是否可以监控移动设备上的登录活动?

】是否可以监控移动设备上的登录活动?【英文标题】:Isitpossibletomonitorloginactivityonmobiledevices?【发布时间】:2020-07-0116:57:45【问题描述】:例如,是否可以授予本机应用程序权限以实时监控设备本身的失败登录尝试次数?或者... 查看详情

是否可以从移动设备获取唯一标识号?

】是否可以从移动设备获取唯一标识号?【英文标题】:isitpossibletogetauniqueidentificationnumberfromamobiledevice?【发布时间】:2010-07-2810:22:27【问题描述】:我目前正在开发移动设备Web应用程序,我想知道每个设备是否有某种可以通过... 查看详情

在移动设备上查看时 div 周围的边框

】在移动设备上查看时div周围的边框【英文标题】:Borderarounddivswhenviewingonmobiledevice【发布时间】:2014-01-0920:06:04【问题描述】:我的网站主页即将完成,但是当我在移动设备上查看该页面时出现了小而明显的边框/轮廓。这不会... 查看详情

h5移动端布局

在开始移动端布局前要先了解一下设备宽度,页面大小,浏览器视口三者之间的区别  设备宽度:实物设备的大小,设备的分辨率,具体数据是设备生产的厂家给的。  页面大小:设计稿上规定的页面的宽度和高度  浏览... 查看详情

在移动设备中显示时的 Bootstrap 4 问题

】在移动设备中显示时的Bootstrap4问题【英文标题】:Bootstrap4issuewhendisplayinginmobile【发布时间】:2021-08-1104:52:39【问题描述】:我的引导页面有问题。我正在尝试创建一个带有标题徽标的登录表单,但是当我在手机中查看它时,... 查看详情

引导卡 - 在移动设备上查看时出现居中问题

】引导卡-在移动设备上查看时出现居中问题【英文标题】:BootstrapCards-issuewithcenteringwhenviewedonmobiledevice【发布时间】:2019-06-1304:30:46【问题描述】:我对此进行了广泛的研究,但无济于事。我正在使用以下代码输出其下方的屏... 查看详情

无法滚动在移动设备上使用 Xamarin.Forms 创建的 xaml 页面

】无法滚动在移动设备上使用Xamarin.Forms创建的xaml页面【英文标题】:CannotscrollxamlpagecreatedwithXamarin.Formsonmobiledevice【发布时间】:2021-10-2717:52:44【问题描述】:滚动在我的XAML文件中不起作用。它削减内容并不显示所有内容。即... 查看详情

jQuery 在移动设备上不可靠

】jQuery在移动设备上不可靠【英文标题】:jQueryunreliableonmobiledevice【发布时间】:2014-09-2920:03:58【问题描述】:我查看了其他一些问题,看看他们是否回答了我的问题,但我没有找到任何问题,所以我发布了这个。我正在为网站... 查看详情