PushHistory ();
Window. The addEventListener (' popstate ', function (e) {
Alert (1)
//a custom action
SetTimeout (function () {
Window. The location. Href="https://bbs.csdn.net/ko/onePage.jsp? OpenId="+ getParam (" openId)" + "& amp; Number="+ Math. The random ();
}, 100);
}, false);
})
The function pushHistory () {
Var state={
Title: "title",
Url: "#"
};
Window. The history. PushState (state, "title", "#");
}
In huawei for unlimited 7 phone WeChat number does not perform in public
CodePudding user response:
After the page is loaded, pushHistory ()?CodePudding user response:
After the page is loaded, pushHistory () also does not perform