That you can use on your marketing needs and don't let your customers leave you site!
For programming needs that you dont want users to accidentally close the tab.
How to use?
Simply copy the code above and paste anywhere on your source code that you want to show the warning pop up box. Preferrable inside the