Tell me how to modify the script so that it displays a pop-up window at intervals of 24 hours (regardless of the pages visited, only once a day to one person when visiting any page of the site) I would be overly grateful.
<script type="text/javascript"> $(document).ready(function() { if($(window).width() > 992) { var show_after = parseInt('50', 20); var autoclose_after = parseInt('', 20); setTimeout(function () { $.magnificPopup.open({ items: { src: '#popup-11', type: 'inline' }, tLoading: '', mainClass: 'popup-module mfp-with-zoom popup-type-1', removalDelay: 200, }); if (autoclose_after > 0) { setTimeout(function () { $.magnificPopup.close(); }, autoclose_after); } }, show_after); } }); </script>