PageSourceSearch

https://www.misbar.com/firebase-messaging-sw.js

js misbar.com collected 2026-10-02 06:09:32 UTC 492 bytes, 15 lines download raw bytes

1importScripts('https://www.gstatic.com/firebasejs/7.18.0/firebase-app.js');
2importScripts('https://www.gstatic.com/firebasejs/7.18.0/firebase-messaging.js');
3importScripts('firebase-config.js');
4
5firebase.initializeApp(FIREBASE_CONFIG);
6
7messaging = firebase.messaging();
8
9self.addEventListener('notificationclick', function(event) {
10  event.notification.close();
11
12  if (event.notification.data.url != null) {
13    event.waitUntil(self.clients.openWindow(event.notification.data.url));
14  }
15});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.