Can someone make a plugin that triggers when page unloads

Could someone make a free plugin for when a page unloads

A plugin just like this-

Why don’t buy this one?

1 Like

Because I like to see the code and learn from it

Search for this kind of code over internet in javascript. You will find similar script that is probably in plugin.

I have all the scripts but I dont really understand how to make it trigger a event.
do you want to help do it?