标签:location 页面 parse turn oca arch 时间戳 arc sea
timestamp=getUrlParam("timestamps");
function getUrlParam(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);
if (r != null) return unescape(r[2]); return null;
}
var timestamp1 = Date.parse(new Date());
var times = timestamp1-timestamp;
标签:location 页面 parse turn oca arch 时间戳 arc sea
原文地址:http://www.cnblogs.com/cuijinlong/p/6668496.html