⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.60
Server IP:
68.65.123.197
Server:
Linux premium49.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
smarbgfw
/
public_html
/
Edit File: 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); } });
Simpan