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
Chrome will soon soft deprecate the unload event. The functionality will be inoperable on all sites by Q1 2025 unless an opt-in is utilised. Note that the opt-in is expected to be a temporary measure and hard deprecation will follow which will see the event become completely inoperable.
Propose we switch unload to pagehide to detect when a user is leaving a course. Note that like beforeunload/unload this event is also unreliable, but we mitigate this by persisting data on visibilitychange (hidden) by default.
Your environment
Relevant to all browsers and devices
The text was updated successfully, but these errors were encountered:
Subject of the issue
Chrome will soon soft deprecate the
unload
event. The functionality will be inoperable on all sites by Q1 2025 unless an opt-in is utilised. Note that the opt-in is expected to be a temporary measure and hard deprecation will follow which will see the event become completely inoperable.Propose we switch
unload
topagehide
to detect when a user is leaving a course. Note that likebeforeunload
/unload
this event is also unreliable, but we mitigate this by persisting data onvisibilitychange
(hidden) by default.Your environment
Relevant to all browsers and devices
The text was updated successfully, but these errors were encountered: