sendbeacon-polyfill

Polyfill for navigator.sendBeacon()

Usage no npm install needed!

<script type="module">
  import sendbeaconPolyfill from 'https://cdn.skypack.dev/sendbeacon-polyfill';
</script>

README

sendbeacon-polyfill

Polyfill for Navigator.sendBeacon()

NPM

Install

Using NPM:

npm install sendbeacon-polyfill

Using JavaScript source:

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

Usage

Read the MDN Navigator.sendBeacon() documentation.

License

MIT