On page refresh I wanna throw pop up to the user "You'll go to default screen". So I wrote a code in my Jquery as
return window.confirm("You'll go to default screen");
It works fine but it always throw the different message as "Changes you made may not have been saved.", instead I need my custom message over here.
Thanks in advance !