Hi, 
Currently confirm navigations works well with ajax, if there is some unsubmitted form in the page. But I was thinking this confirm dialog should trigger for similar case if a user accidently press backspace, reloads or perform some operation that results in new page load. I have written the script but I couldn't get which is the perfect js file for adding this feature.
Can anyone help me here?

Minhaz
cistoner.org