Skip to content

Crossbrowser Javascript with custom message on onbeforeunload event

License

Notifications You must be signed in to change notification settings

mrk1989/crossbrowser-onbeforeunload

 
 

Repository files navigation

crossbrowser-onbeforeunload

Crossbrowser Javascript with custom message on onbeforeunload event.

Tested with :

  • Firefox (Gecko) >= 1
  • Chrome >= 1
  • Internet Explorer >= 4
  • Opera >= 12
  • Safari (Webkit) >= 3

Special behaviour for Firefox which decided to prevent dialog with onbeforeunload event : https://developer.mozilla.org/en-US/docs/Web/API/window.onbeforeunload

Licence Creative Commons
crossbrowser-onbeforeunload est mis à disposition selon les termes de la licence Creative Commons Attribution - Pas d’Utilisation Commerciale - Partage dans les Mêmes Conditions 4.0 International.

About

Crossbrowser Javascript with custom message on onbeforeunload event

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 62.8%
  • CSS 20.7%
  • HTML 16.5%