How to send request in browser switch tabs or close a tab

  1. fetch() + keepalive
  2. Navigator.sendBeacon()
创建时间:6/26/2022 2:09:41 AM 修改时间:3/16/2023 10:50:36 AM