Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

miguelmota/Navigator.sendBeacon

Repository files navigation

Navigator.sendBeacon polyfill

Polyfill for Navigator.sendBeacon()

NPM

Install

Using NPM:

npm install navigator.sendbeacon

Using JavaScript source:

<script src="https://unpkg.com/navigator.sendbeacon"></script>
<!-- OR -->
<script src="https://cdn.jsdelivr.net/npm/navigator.sendbeacon"></script>

Usage

Read the MDN Navigator.sendBeacon() documentation.

License

MIT