The default is to open the URL of the current page. Is there any way to specify the URL to open?
学习是最好的投资!
var stateObj = { foo: "bar" }; window.history.pushState(stateObj, "page 2", "http://your.url/name.html");
After your page is loaded, use the above code to add a URL to the browsing history in setTimeOut that you want to open in the browser.
After your page is loaded, use the above code to add a URL to the browsing history in setTimeOut that you want to open in the browser.