PageSourceSearch

https://nuphoto.com.tw/OneSignalInit.js?ver=2

js nuphoto.com.tw collected 2026-10-02 15:16:47 UTC 3,427 bytes, 74 lines download raw bytes

1/*var OneSignal = window.OneSignal || [];
2  OneSignal.push(["init", {
3    appId: "24ae6050-acce-4202-9de2-c59ff52ffd90",
4    autoRegister: true,
5    notifyButton: {
6      enable: true, // Required to use the notify button
7      size: 'medium', // One of 'small', 'medium', or 'large'
8      colors: { // Customize the colors of the main button and dialog popup button
9        'circle.background': '#4fabff',
10        'circle.foreground': 'white',
11        'badge.background': '#2f6699',
12        'badge.foreground': 'white',
13        'badge.bordercolor': 'white',
14        'pulse.color': 'white',
15        'dialog.button.background.hovering': 'rgb(77, 101, 113)',
16        'dialog.button.background.active': 'rgb(70, 92, 103)',
17        'dialog.button.background': 'rgb(84,110,123)',
18        'dialog.button.foreground': 'white'
19      },
20      position: 'bottom-left', // Either 'bottom-left' or 'bottom-right'
21      offset: {
22        bottom: '50px',
23        left: '50px', // Only applied if bottom-left
24        right: '50px' // Only applied if bottom-right
25      },
26      prenotify: true, // Show an icon with 1 unread message for first-time site visitors
27      showCredit: false, // Hide the OneSignal logo
28      text: {
29        'tip.state.unsubscribed': '請訂閱通知,優惠訊息不漏接',
30        'tip.state.subscribed': "您已允許通知",
31        'tip.state.blocked': "您已停止通知",
32        'message.prenotify': '請點選圖示以訂閱通知,優惠訊息不漏接',
33        'message.action.subscribed': "感謝訂閱!",
34        'message.action.resubscribed': "感謝訂閱!",
35        'message.action.unsubscribed': "您已關閉通知,請點選圖示再次訂閱通知",
36        'dialog.main.title': 'nuPhoto拍立洗通知',
37        'dialog.main.button.subscribe': '訂閱',
38        'dialog.main.button.unsubscribe': '關閉通知',
39        'dialog.blocked.title': '開啓通知',
40        'dialog.blocked.message': "請依照指示來允許nuPhoto的通知:"
41      }         
42    },
43    promptOptions: {
44      showCredit: false, // Hide Powered by OneSignal
45      actionMessage: '',
46      exampleNotificationTitleDesktop: 'nuPhoto拍立洗需要您同意接受通知',
47      exampleNotificationMessageDesktop: '請您同意接受,優惠訊息不漏接',
48      exampleNotificationTitleMobile: ' nuPhoto拍立洗需要您同意接受通知',
49      exampleNotificationMessageMobile: '請您同意接受,優惠訊息不漏接',
50      exampleNotificationCaption: '(未來隨時可關閉通知)',
51      acceptButtonText: '同意'.toUpperCase(),
52      cancelButtonText: '不同意'.toUpperCase()
53    },
54    welcomeNotification: {
55      disable: true
56    },     
57    safari_web_id: 'web.onesignal.auto.2eb33d58-6740-481f-b49f-67bae0b73a06'
58  }]);*/
59
60var urlParams = new URLSearchParams(window.location.search);
61if (urlParams.has('campaign')) {
62  var campaign = urlParams.get('campaign');
63  localStorage.setItem('FBAdString', campaign);
64  window.history.replaceState(null, null, ".");
65}
66/*
67var initUrlJS = window.location.href;
68var campaignKeyJS = "?campaign=";
69var campaignIndexJS = initUrlJS.indexOf(campaignKeyJS);
70if (campaignIndexJS != -1) {
71  var campaignStringJS = initUrlJS.substring(campaignIndexJS+campaignKeyJS.length);
72  localStorage.setItem('FBAdString', campaignStringJS);
73  window.history.replaceState(null, null, ".");
74}*/

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.