当前位置:网站首页>简单使用JS
简单使用JS
2022-06-21 18:16:00 【天,菩萨】
JavaScript 判断当前设备是否是移动端还是PC
if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){
alert('移动端')
}else {
alert('PC端')
}
微信URL Scheme,URL唤起微信
微信URL Scheme
在外部浏览器中,可以通过<a href="weixin://">打开微信APP
也可以通过加一些参数,打开微信APP里的指定页面
<a href="weixin://dl/scan">扫一扫</a>
<a href="weixin://dl/feedback">反馈</a>
<a href="weixin://dl/moments">朋友圈</a>
<a href="weixin://dl/settings">设置</a>
<a href="weixin://dl/notifications">消息通知设置</a>
<a href="weixin://dl/general">通用设置</a>
<a href="weixin://dl/officialaccounts">公众号</a>
<a href="weixin://dl/games">游戏</a>
<a href="weixin://dl/help">反馈</a>
<a href="weixin://dl/profile">个人信息</a>
<a href="weixin://dl/features">功能</a>
边栏推荐
- 动态规划【一】(背包问题)
- W10 add system environment variable path
- 508. Most Frequent Subtree Sum
- inno setup 更改安装路径学习
- 系统集成项目管理工程师(软考中级)怎么备考?
- manjaro安装下载的ttf字体文件
- R语言使用plyr包的rbind.fill函数纵向合并两个数据列不同的dataframe数据
- How to temporarily modify samesite=none and secure in Chrome browser
- R语言使用epiDisplay包的followup.plot函数可视化多个ID(病例)监测指标的纵向随访图、使用line.col参数自定义曲线的颜色(色彩)
- 决策树的实现和调优(sklearn,GridSearchCV)
猜你喜欢

Yolov5 trains its own data set to report error records

论文解读(USIB)《Towards Explanation for Unsupervised Graph-Level Representation Learning》

After the 80 version of Google browser, how to deal with the problem samesite cross domain problem

Datagear uses coordinate mapping table to make geographic coordinate data visualization Kanban

Jupyter Notebook启动方式及相关问题

Startup mode of Jupiter notebook and related problems

Gradle download and installation configuration

TensorFlow 2:使用神经网络对Fashion MNIST分类并进行比较分析

jvm造轮子

【干货知识】Redis:从应用到底层,一文帮你搞定
随机推荐
A simple architecture design logic | acquisition technology
记一些PAT题目(一)
Using fastjson to deserialize simplegrantedauthority in the security framework
ArrayList源码解析
nacos-配置中心-源码
2022年6月25日PMP考试通关宝典-3
医疗费用清单秒速录入,OCR识别助力效率倍增
When the move protocol beta is in progress, the ecological core equity Momo is divided
动态规划【二】(线性dp)
With a playback volume of up to 4000w+, how do couples get out of the ring by scattering dog food?
机器学习之聚类和降维与度量技术
在 KubeSphere 上部署 Apache Pulsar
Jupyter notebook compiles ipynb files into latex and then converts them into PDF
2022年下半年深圳地区数据分析师认证(CPDA),[进入查看]
MySQL-CentOS安装MySQL8
[interval and topic prefix sum] line segment tree (dynamic open point) application problem
NSIS 运行bat的方法汇总
Cloudcompare & PCL point cloud point matching (based on European distance)
Codeforces Round #394 (Div. 2) E. Dasha and Puzzle
508. Most Frequent Subtree Sum