PageSourceSearch

https://www.lift-online.de/typo3conf/ext/sitepackage/Resources/Public/JavaScript/popupNote.1699274296.js

js lift-online.de collected 2026-10-04 11:49:28 UTC 1,484 bytes, 44 lines download raw bytes

1let wNote = {
2    init: function () {
3        var self = this,
4            cookieName = 'wNote',
5            $wNote = $('#wNote');
6        if ($wNote.length) {
7            if (self.getCookie(cookieName) === false) {
8                $wNote.removeClass('cc-invisible');
9                var $wClose = $wNote.find('#wNoteConfirm');
10                $wClose.click(function () {
11                    self.setCookie(cookieName, 'ok', false);
12                    $wNote.addClass('cc-invisible');
13                    $('html').removeClass('pNoteActive');
14                });
15                $('html').addClass('pNoteActive');
16            } else {
17                $('html').removeClass('pNoteActive');
18            }
19        }
20    },
21    setCookie(name, value, days) {
22        var expires = "";
23        if (days) {
24            var date = new Date();
25            date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
26            expires = "; expires=" + date.toUTCString();
27        }
28        document.cookie = name + "=" + (value || "") + expires + "; path=/";
29    },
30    getCookie(name) {
31        var nameEQ = name + "=";
32        var ca = document.cookie.split(';');
33        for (var i = 0; i < ca.length; i++) {
34            var c = ca[i];
35            while (c.charAt(0) === ' ') c = c.substring(1, c.length);
36            if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);
37        }
38        return false;
39    }
40}
41
42$(document).ready(function () {
43    wNote.init();
44});

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.