PageSourceSearch

https://www.lumit-energieportal.de/login?p_p_id=CustomLogin_WAR_lu…=default&_CustomLogin_WAR_lumepjsf_v=0_0

js lumit-energieportal.de collected 2026-10-04 21:15:06 UTC 2,243 bytes, 77 lines download raw bytes

1jQueryLumitJsf(document).ready(function () {
2    setLumitWindowId();
3
4    jQueryLumitJsf(window).focus(function () {
5        setLumitWindowId();
6    });
7});
8
9// Set the name of the hidden property and the change event for visibility
10var hidden, visibilityChange;
11if (typeof document.hidden !== "undefined") { // Opera 12.10 and Firefox 18
12    // and later support
13    hidden = "hidden";
14    visibilityChange = "visibilitychange";
15} else if (typeof document.msHidden !== "undefined") {
16    hidden = "msHidden";
17    visibilityChange = "msvisibilitychange";
18} else if (typeof document.webkitHidden !== "undefined") {
19    hidden = "webkitHidden";
20    visibilityChange = "webkitvisibilitychange";
21}
22
23function handleVisibilityChange() {
24    if (document[hidden]) {
25        removeLumitWindowIdCookie();
26    } else {
27        setLumitWindowId();
28    }
29}
30
31// Warn if the browser doesn't support addEventListener or the Page Visibility
32// API
33if (typeof document.addEventListener === "undefined"
34    || typeof document[hidden] === "undefined") {
35    console
36        .log("This demo requires a browser, such as Google Chrome or Firefox, that supports the Page Visibility API.");
37} else {
38    // Handle page visibility change
39    document.addEventListener(visibilityChange, handleVisibilityChange, false);
40}
41
42function setLumitWindowId() {
43    if (sessionStorage.getItem("LumitWindowId") == null) {
44        sessionStorage.setItem("LumitWindowId", guid());
45        removeLumitWindowIdCookie();
46        storeLumitWindowIdCookie();
47    }
48
49    if (Cookies.get("LUMIT_WINDOW_ID") !== sessionStorage.getItem("LumitWindowId")) {
50        removeLumitWindowIdCookie();
51        storeLumitWindowIdCookie();
52    }
53}
54
55function storeLumitWindowIdCookie() {
56    var cookieValue = sessionStorage.getItem("LumitWindowId");
57    if (cookieValue != null) {
58        Cookies.set("LUMIT_WINDOW_ID", cookieValue, {
59            path: '/'
60        });
61    }
62}
63
64function removeLumitWindowIdCookie() {
65    Cookies.remove('LUMIT_WINDOW_ID', {
66        path: '/'
67    });
68}
69
70function guid() {
71    return s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4()
72        + s4() + s4();
73}
74
75function s4() {
76    return Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1);
77}

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.