Rozładuj w jQuery
// The unload() method attaches an event handler to the unload event but was
// deprecated in jQuery version 1.8 and removed in version 3.0.
.on( "unload", handler ) // unload event handler
.trigger( "unload" ) //maunually trigger unload event
.off( "unload" ) // close handler
COoDiE Monsta