javascript - I remember that there is a way in js to open a window to replace the current page, and you cannot click the return button. It is similar to the payment page (safe). I have been looking for it for a long time today and couldn't find it. Could you please tell me?
滿天的星座
2017-05-16 13:21:48
RT
window.open(url, '_self')
window.open(url, 'custom')
window.location.replace (url)
The replace() method does not generate a new record in the History object. When using this method, the new URL will overwrite the current record in the History object.
HTML DOM replace() method