1 Star 0 Fork 23

InkBottle/uajs

forked from 乐异欢/uajs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
demo.html 888 Bytes
一键复制 编辑 原始数据 按行查看 历史
乐异欢 提交于 2016-03-10 09:29 +08:00 . 修复微信无法识别的情况
<!DOCTYPE html>
<html>
<head>
<title>TODO supply a title</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="uajsapi/uajsapi.js" type="text/javascript"></script>
</head>
<body>
<div>TODO write content</div>
<script type="text/javascript">
var uainfo=new UaInfo();
document.writeln("操作系统:" + uainfo.osinfo.osname);
document.writeln("操作系统版本:" + uainfo.osinfo.osver);
document.writeln("设备名称:" + uainfo.deviceinfo);
document.writeln("应用名称:" + uainfo.appinfo.appname);
document.writeln("应用版本:" + uainfo.appinfo.appver);
if(uainfo.hasApplePay){
document.writeln("support apple pay");
}
</script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/touchx/uajs.git
git@gitee.com:touchx/uajs.git
touchx
uajs
uajs
master

搜索帮助