PageSourceSearch

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

js busaness.com collected 2026-10-05 03:14:11 UTC 1,143 bytes, 32 lines download raw bytes

1
2importScripts('https://www.gstatic.com/firebasejs/10.8.1/firebase-app-compat.js');
3importScripts('https://www.gstatic.com/firebasejs/10.8.1/firebase-messaging-compat.js');
4
5firebase.initializeApp({
6    "apiKey":"AIzaSyCUvqdiTWG7gu0_7F83TLej8BF-fDKfCyM",
7    "authDomain":"wworkcation-fdbdf.firebaseapp.com",
8    "projectId":"workcation-fdbdf",
9    "storageBucket":"workcation-fdbdf.firebasestorage.app",
10    "messagingSenderId":25868735225,
11    "appId":"1:25868735225:web:79dd231ec24428f8b64828"});
12
13const messaging = firebase.messaging();
14
15messaging.onBackgroundMessage((payload) => {
16    console.log('📩 백그라운드 메시지 수신@@@@@2:', payload);
17
18    // const { title, body, icon } = payload.data;
19
20    // self.registration.showNotification(title, {
21    //     body,
22    //     icon: icon || '/icon.png'
23    // });
24
25    // // 이미 FCM 알림이 있는 경우, 직접 띄우지 말고 무시
26    // if (!payload.notification) return;
27    
28    // self.registration.showNotification(payload.notification.title, {
29    //     body: payload.notification.body,
30    //     icon: '/icon.png', // 푸시 알림 아이콘
31    // });
32});

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.