top
<script type="text/javascript">
var msg = "Are you sure?";
if (confirm(msg)) window.location.replace('http://yahoo.com');
else window.history.back();
</script>
body
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.