Closed
Bug 784630
Opened 12 years ago
Closed 12 years ago
onbeforeunload
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 641509
People
(Reporter: tec_feng, Unassigned)
Details
User Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.2)
Steps to reproduce:
I want to alter the Dialog message when quit forefox.but I can't.It's default like "This page asking you to confirm that you want to leave - you input the data may not be saved".
Actual results:
this is my codding.
<script type="text/javascript">
window.onbeforeunload = function(){
return "OK";
}
</script>
Expected results:
Why not the default message Instead of my information(OK).
Updated•12 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•