⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
cleanexg
/
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