摘要:
1 pushHistory(); 2 3 function pushHistory() { 4 var state = { 5 title: "title", 6 url: "#" 7 }; 8 window.history.pushState(state, "title", "#"); 9 } ... 阅读全文
摘要:
//获取URL的参数 var $_GET = (function () { var url = window.document.location.href.toString(); var u = url.split("?"); if (typeof (u[1]) == "string") { ... 阅读全文