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
0
1
667

RT

window.open(url, '_self')
window.open(url, 'custom')
window.location.replace (url)

滿天的星座
滿天的星座

reply all(1)
迷茫

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!