Home > Article > Web Front-end > The difference between javascript opening page window.location and window.open_Basic knowledge
window.location = "http://www.xxxxxxxx.net" There is a back function after the jump
In fact, it should be window.location.href
window.location.replace("http://www.xxxxxxxx. net") There is no back function after jumping
window.open("http://www.xxxxxxxx.net") To open a link in a new window
This is generally used for simple pop-up pages. Now Basically all are blocked