PageSourceSearch

https://www.grenke.de/webfiles/1789554250756/js/inline-scripts/onetrust/onetrust-mainScript.js

js grenke.de collected 2026-10-02 18:59:18 UTC 1,382 bytes, 45 lines download raw bytes

1(function () {
2
3  const onetrust_src = 'https://myprivacy.my.onetrust.eu/cdn/cookies/scripttemplates/otSDKStub.js'
4
5// --- Define global OptanonWrapper safely ---
6  window.OptanonWrapper = window.OptanonWrapper || function OptanonWrapper () {}
7
8  function createOneTrustScript () {
9
10    if (document.querySelector(`script[src="${onetrust_src}"]`)) {
11      return
12    }
13
14    const otScriptProps = document.getElementById('oneTrustScript-props')
15    const domainScript = otScriptProps?.dataset?.domainscript
16    const nonce = otScriptProps?.dataset?.nonce || otScriptProps?.nonce
17
18    const script = document.createElement('script')
19    script.type = 'text/javascript'
20    script.charset = 'UTF-8'
21    script.defer = true
22    script.async = true
23    script.dataset.documentLanguage = 'true'
24    script.dataset.domainScript = domainScript
25    script.nonce = nonce
26    script.src = onetrust_src;
27    (document.head || document.documentElement).appendChild(script)
28  }
29
30  let runTimeout = true
31
32  function triggerOnce () {
33    runTimeout = false
34    createOneTrustScript()
35    window.removeEventListener('pointermove', triggerOnce)
36    window.removeEventListener('pointerdown', triggerOnce)
37  }
38
39  window.addEventListener('pointermove', triggerOnce)
40  window.addEventListener('pointerdown', triggerOnce)
41
42  setTimeout(() => {
43    if (runTimeout) createOneTrustScript()
44  }, 5000);
45})();

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.