jquery 不支持$.browser
2024-09-29 23:07:28
if (!$.browser) {
$.browser = {
mozilla : /firefox/.test(navigator.userAgent.toLowerCase()),
webkit : /webkit/.test(navigator.userAgent.toLowerCase()),
opera : /opera/.test(navigator.userAgent.toLowerCase()),
msie : /msie/.test(navigator.userAgent.toLowerCase())
};
}
最新文章
- 数据库开发基础-SQl Server 控制数据库的服务+数据库的创建与管理(增删改查)
- 网站开发技巧, 使用byte[]持久化用户个性设置
- WINDOWS xp用户账户怎么没了怎么办?
- Linux之TCPIP内核参数优化
- DataTable相关操作,筛选,取前N条数据,获取指定列数据
- 《C++ Primer》之面向对象编程(二)
- equals()和==的区别
- webpack3中使用postcss-loader和autoprefixer给css3样式添加浏览器兼容
- 洛伦兹曲线(Lorenz curve)提升指数、提升表和提升图
- android BLE Peripheral 模拟 ibeacon 发出ble 广播
- Elasticsearch集群运维
- kubernetes endpoint一会消失一会出现的问题剖析
- How to configure Samba Server share on Debian 9 Stretch Linux
- switch语句(初学者)
- 【DS】排序算法的稳定性
- MySQL InnoDB Engine--缓冲器数据交换
- Android画图之抗锯齿 paint 和 Canvas 两种方式
- PHP中return,exit,die的区别
- Xmind 8 update5 破解
- python list中append()与extend()用法
热门文章
- Codeforces 1108E2 Array and Segments (Hard version) 差分, 暴力
- 【eclipse插件开发实战】 Eclipse插件开发6——eclipse在线翻译插件Translator开发实例详解
- TypeScript完全解读(26课时)_15.模块和命名空间
- 技术胖Flutter第四季-20导航的参数传递和接受-1
- Ubuntu下对与rtl8723be网卡频繁断网问题解决
- Bootstrap表格添加搜索栏
- 看后端程序员调试CORS的姿势
- T^TOJ - 2360 - Home_W的超级数学题 - 莫比乌斯反演 - 质因数分解
- 3DMAX 7 角色建模1 人头建模
- NDAP 日志