PageSourceSearch

https://www.latribune.fr/scripts/didomiLT.js

js latribune.fr collected 2026-09-24 07:13:12 UTC 2,600 bytes, 86 lines download raw bytes

1(window.gdprAppliesGlobally = !0),
2  (function () {
3    var e, t;
4    (function e(t, a, r, s, n) {
5      function i(e, t, r, s) {
6        if ('function' == typeof r) {
7          window[a] || (window[a] = []);
8          var i = !1;
9          n && (i = n(e, t, r)),
10            i ||
11              window[a].push({
12                command: e,
13                parameter: t,
14                callback: r,
15                version: s,
16              });
17        }
18      }
19      function o(e) {
20        if (window[t] && !0 === window[t].stub && e.data) {
21          var a,
22            n = 'string' == typeof e.data;
23          try {
24            a = n ? JSON.parse(e.data) : e.data;
25          } catch (i) {
26            return;
27          }
28          if (a[r]) {
29            var o = a[r];
30            window[t](
31              o.command,
32              o.parameter,
33              (t, a) => {
34                var r = {};
35                (r[s] = { returnValue: t, success: a, callId: o.callId }),
36                  e.source.postMessage(n ? JSON.stringify(r) : r, '*');
37              },
38              o.version
39            );
40          }
41        }
42      }
43      (i.stub = !0),
44        'function' != typeof window[t] &&
45          ((window[t] = i),
46          window.addEventListener
47            ? window.addEventListener('message', o, !1)
48            : window.attachEvent('onmessage', o));
49    })('__tcfapi', '__tcfapiBuffer', '__tcfapiCall', '__tcfapiReturn'),
50      (function e(t) {
51        if (!window.frames[t]) {
52          if (document.body && document.body.firstChild) {
53            var a = document.body,
54              r = document.createElement('iframe');
55            (r.style.display = 'none'),
56              (r.name = t),
57              (r.title = t),
58              a.insertBefore(r, a.firstChild);
59          } else
60            setTimeout(() => {
61              e(t);
62            }, 5);
63        }
64      })('__tcfapiLocator'),
65      ((e = document.createElement('script')).id = 'spcloader'),
66      (e.type = 'text/javascript'),
67      (e.async = !0),
68      (e.src =
69        'https://sdk.privacy-center.org/5fc0b695-8a88-4319-8a10-e2df49822357/loader.js?target=' +
70        document.location.hostname),
71      (e.charset = 'utf-8'),
72      (t = document.getElementsByTagName('script')[0]).parentNode.insertBefore(
73        e,
74        t
75      );
76  })(),
77  (window.didomiConfig = {
78    user: {
79      bots: {
80        consentRequired: !0,
81        types: ['crawlers', 'performance'],
82      },
83    },
84    notice: { denyOptions: { button: 'primary' } },
85    cookies: { storageSources: { cookies: !1, localStorage: !0 } },
86  });

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.