使用 navigator.sendBeacon 上报数据

NoSuchKey