PageSourceSearch

https://www.media-j.com/consent/consent.js

js media-j.com collected 2026-10-02 05:22:53 UTC 1,477 bytes, 35 lines download raw bytes

1/* This code was auto-generated by the Toolz tool (See https://toolz.at) as well as the popup.hmtl, the popup-script.js
2*  and the popup-style.css.
3*  It allows cookie handling for Google Consent V2
4*  Instead of using the Toolz CDN and expose our application to potential risks, we decided to store files in the code.
5*  Also, in order to avoid unnecessary calls to unknown servers, the code is self-contained and does not rely on any external libraries.
6*  The content and style of the popup can be customized by editing the HTML and CSS files.
7* */
8
9(async function () {
10  try {
11    // Charger les fichiers
12    const [htmlRes, cssRes, jsRes] = await Promise.all([
13      fetch("/consent/popup.html").then(res => res.text()),
14      fetch("/consent/popup-style.css").then(res => res.text()),
15      fetch("/consent/popup-script.js").then(res => res.text())
16    ]);
17
18    const styleElement = document.createElement("style");
19    styleElement.id = "fetched-css";
20    styleElement.textContent = cssRes;
21    document.head.appendChild(styleElement);
22
23    const htmlContentDiv = document.createElement("div");
24    htmlContentDiv.id = "html-content";
25    htmlContentDiv.innerHTML = htmlRes;
26    document.body.appendChild(htmlContentDiv);
27
28    const scriptElement = document.createElement("script");
29    scriptElement.textContent = jsRes;
30    document.body.appendChild(scriptElement);
31
32  } catch (error) {
33    console.error("Erreur lors du chargement des fichiers :", error);
34  }
35})();

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.