PageSourceSearch

https://www.thewom.it/content/plugins/push_notification/js/push_notification_messenger.js?ver=1635868654

js thewom.it collected 2026-10-01 10:27:12 UTC 2,941 bytes, 62 lines download raw bytes

1var Push_Notification_Messenger = {
2    success: function (title, message) {
3        title = typeof title !== 'undefined' ? title : '';
4        message = typeof message !== 'undefined' ? message : '';
5        bg_color = typeof push_notification_frontend_data !== 'undefined' && typeof push_notification_frontend_data.messenger_background_color !== 'undefined' &&
6            typeof push_notification_frontend_data.messenger_background_color.success !== 'undefined' ? push_notification_frontend_data.messenger_background_color.success : '';
7
8        iziToast.success({
9            title: title,
10            message: message,
11            position: 'bottomCenter',
12            icon: '',
13            iconText: '',
14            backgroundColor: bg_color
15        });
16    },
17    info: function (title, message) {
18        title = typeof title !== 'undefined' ? title : '';
19        message = typeof message !== 'undefined' ? message : '';
20        bg_color = typeof push_notification_frontend_data !== 'undefined' && typeof push_notification_frontend_data.messenger_background_color !== 'undefined' &&
21            typeof push_notification_frontend_data.messenger_background_color.info !== 'undefined' ? push_notification_frontend_data.messenger_background_color.info : '';
22
23        iziToast.info({
24            title: title,
25            message: message,
26            position: 'bottomCenter',
27            icon: '',
28            iconText: '',
29            backgroundColor: bg_color
30        });
31    },
32    error: function (title, message) {
33        title = typeof title !== 'undefined' ? title : '';
34        message = typeof message !== 'undefined' ? message : '';
35        bg_color = typeof push_notification_frontend_data !== 'undefined' && typeof push_notification_frontend_data.messenger_background_color !== 'undefined' &&
36            typeof push_notification_frontend_data.messenger_background_color.error !== 'undefined' ? push_notification_frontend_data.messenger_background_color.error : '';
37
38        iziToast.error({
39            title: title,
40            message: message,
41            position: 'bottomCenter',
42            icon: '',
43            iconText: '',
44            backgroundColor: bg_color
45        });
46    },
47    warning: function (title, message) {
48        title = typeof title !== 'undefined' ? title : '';
49        message = typeof message !== 'undefined' ? message : '';
50        bg_color = typeof push_notification_frontend_data !== 'undefined' && typeof push_notification_frontend_data.messenger_background_color !== 'undefined' &&
51            typeof push_notification_frontend_data.messenger_background_color.warning !== 'undefined' ? push_notification_frontend_data.messenger_background_color.warning : '';
52
53        iziToast.warning({
54            title: title,
55            message: message,
56            position: 'bottomCenter',
57            icon: '',
58            iconText: '',
59            backgroundColor: bg_color
60        });
61    }
62};

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.