Skip to content

Deprecating the unload event  #980

Open
@Garnet-Fox

Description

@Garnet-Fox

Good day.
There is an "unload" event in the source code, chromium browsers are already complaining about it. Currently, I noticed that on mobile devices like chromium, unload does not fire or does not always fire, the return cache does not work correctly.
What is the correct way to replace it with “pagehide” or “beforeunload” or "visibilitychange"?
Google Deprecating the unload event

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions