How can I close all notifications of a page before unload it (without use Window#onunload)?
I wonder if you can add some javascript to the notification popup and settimeout withing the actual popup, that way it will close eventually.
I will have to try and test this out.
Use this :)
$(window).on('beforeunload', function() { closeAll();});