0 points

Show alert on page refresh or going back on page.


dashboard

Sun Jun 28 2020 15:21:34 GMT+0000 (UTC)

Posted by @usama #javascript

   window.onbeforeunload = function() {
    return "Data will be lost if you leave the page, are you sure?";
  };
content_copy Copy

On my tool contentdrips.com/carousel :)