摘要: 1.知识点:Navigator 对象属性 2.判断pc端还是移动端 function isPC() { var userAgentInfo = navigator.userAgent; var Agents = ["Android", "iPhone", "SymbianOS", "Windows 阅读全文
posted @ 2018-09-11 19:55 justSmile2 阅读(152) 评论(0) 推荐(0)
摘要: 上源码 (function() { window.onclick = function(event) { var heart = document.createElement("b"); heart.onselectstart = new Function('event.returnValue=fa 阅读全文
posted @ 2018-09-11 19:30 justSmile2 阅读(90) 评论(0) 推荐(0)