var msg = "Are you sure?";
if (confirm(msg)) window.location.replace('http://yahoo.com');
The code above pop-ups an alert when it is loading.
When the alert pops, the user can see the text "top
", but can't see the text body
I like to make it the text body
seen to the user.
Can I do it with your help?