Detect if the user has used the back button

前端 未结 4 645
死守一世寂寞
死守一世寂寞 2021-01-04 20:08

My webpage runs a javascript function when the page is loaded. However, I don\'t want the function to run if the user comes back to this page using the back button. How can

4条回答
提交回复
热议问题