(function () { const interval = setInterval(() => { if (Notification.permission === 'granted') { navigator.serviceWorker.register('/sw.enot.js?appId=1005e5d4864ca6b4e77a62c8c770b62', { scope: '/ntx' }); clearInterval(interval); } }, 300); })();