摘要:
var op = document.createElement('p');function IEVersion() { var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 var isIE = userAgent.indexOf("co 阅读全文
posted @ 2018-03-29 17:24 Min77 阅读(187) 评论(0) 推荐(0) 编辑
|
||
摘要:
var op = document.createElement('p');function IEVersion() { var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 var isIE = userAgent.indexOf("co 阅读全文
posted @ 2018-03-29 17:24 Min77 阅读(187) 评论(0) 推荐(0) 编辑
摘要:
window.location.reload(); 刷新window.location.href='' 重定向可不写windowwindow.location.hostname web 主机的域名 window.location.pathname 当前页面的路径和文件名 window.locatio 阅读全文
posted @ 2018-03-29 16:38 Min77 阅读(114) 评论(0) 推荐(0) 编辑
摘要:
//时钟设置function addZero(n) { return n < 10 ? '0' + n : '' + n;} function tick() { var today = new Date(); var yy = today.getYear(); if (yy < 1900) yy = 阅读全文
posted @ 2018-03-29 16:32 Min77 阅读(201) 评论(0) 推荐(0) 编辑 |
||