Is there any way that I can identify that the user clicked the "Back" button before this page? This is the none-existed example I have in my head:
window.onload = new function(e){
if(e.type == "back"){
//do some operation
}
}
Is there a way to know that? Thanks