se19.biz
Open in
urlscan Pro
51.15.15.159
Public Scan
URL:
https://se19.biz/sw/w1s.js
Submission: On October 28 via api from LU — Scanned from GB
Submission: On October 28 via api from LU — Scanned from GB
Form analysis
0 forms found in the DOMText Content
'use strict'; var host = 'https://se19.biz/'; self.addEventListener('install', function (event) { event.waitUntil(self.skipWaiting()); }); self.addEventListener('activate', function(event) { event.waitUntil(clients.claim()); }); self.addEventListener('push', function(event) { event.waitUntil( self.registration.pushManager.getSubscription() .then(function(subscription) { self.navigator.userAgentData.getHighEntropyValues(['mobile', 'model', 'platform', 'platformVersion', 'uaFullVersion', 'fullVersionList', 'architecture']) .then(function(ua) { fetch(host + '?endpoint=' + subscription.endpoint.split('/').pop() + '&ver=2',{method: 'POST', body: JSON.stringify(ua)}) .then(function(response) { return response.json() .then(function(data) { return self.registration.showNotification(data.title, data.body); }); }); }); }) ); }); self.addEventListener('notificationclick', function(event) { const target = event.notification.data.url; event.notification.close(); event.waitUntil(clients.matchAll({ type: 'window', includeUncontrolled: true }).then(function(clientList) { for (var i = 0; i < clientList.length; i++) { var client = clientList[i]; if (client.url == target && 'focus' in client) { return client.focus(); } } return clients.openWindow(target); }) ); });