You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using window.onbeforeunload to open a popup or confirmation alert to leave the web app, I notice that when I run window.onbeforeunload on devtools console, it returns skyway's function, not the function i provided to show and alert. Is there a way to override it?
The text was updated successfully, but these errors were encountered:
I override it with my own function, now my problem is how do i get the previous function work as it always do. window.onbeforeunload=function(b){a.destroy()}} on https://skyway.io/dist/0.3/peer.js...
It seems it needs window.onbeforeunload to close some sockets.
I'm using
window.onbeforeunload
to open a popup or confirmation alert to leave the web app, I notice that when I runwindow.onbeforeunload
on devtools console, it returns skyway's function, not the function i provided to show and alert. Is there a way to override it?The text was updated successfully, but these errors were encountered: