changing window.beforeunload message
<p>I'm wondering if can I change the <code>window.beforeunload</code> message.  All examples on the internet are similar to this:</p>

<pre><code>$(window).bind('beforeunload', function() {
    return 'You have unsaved changes. If you leave the page these changes will be lost.';
});
</code></pre>

<p>That's cool, and in Google Chrome my message will be displayed, but in Firefox the default message is displayed. How can i trick Firefox to display my message and not the default message?</p>
