Get the latest tech news

Say Bye with JavaScript Beacon


Send data, say goodbye, and move on. That's JavaScript's Beacon in one line.

Sometimes we want to send a piece of data to our servers when user leaves our website or webapp. It will be a bad experience for user to have delay when they close the tab or move to a different website. But hey, for it’s intended use, tiny important message sent as the page closes, it works beautifully.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Bye

Bye

Photo of JavaScript Beacon

JavaScript Beacon

Related news:

News photo

Bye, Glyph interface — Nothing drops a Glyph Matrix teaser for the Phone 3

News photo

Bye, Prime

News photo

Airbn-bye: Barcelona bans short-term apartment rentals for tourists