PageSourceSearch

https://www.elle.cz/js/upscore.js?v=Gwa9djKqF4z6t76oV9I0lpbGJ3nbjqkaIE4fTgPPAE8

js elle.cz collected 2026-10-02 07:55:19 UTC 902 bytes, 34 lines download raw bytes

1(function () {
2  const analyticsPurposeId = 'publishers-Kqq3iPge';
3  let initialized = false;
4
5  const hasAnalyticsConsent = () => {
6    if (!window.Didomi || typeof window.Didomi.getUserConsentStatusForPurpose !== 'function') {
7      return false;
8    }
9
10    return window.Didomi.getUserConsentStatusForPurpose(analyticsPurposeId) === true;
11  };
12
13  const initialize = () => {
14    if (initialized || !hasAnalyticsConsent()) {
15      return;
16    }
17
18    if (typeof initUpScore === 'function') {
19      Promise.resolve(initUpScore()).then(() => {
20        initialized = true;
21        console.log('UpScore initialized');
22      });
23    }
24  };
25
26  window.didomiOnReady = window.didomiOnReady || [];
27  window.didomiOnReady.push(initialize);
28
29  window.didomiEventListeners = window.didomiEventListeners || [];
30  window.didomiEventListeners.push({
31    event: 'consent.changed',
32    listener: initialize
33  });
34}());

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.