var timestamp = Date.parse(new Date()); timestamp = timestamp / 1000; window.location.href = "http://totei.com.cn/user/prepare?t="+timestamp;