PageSourceSearch

https://www.lnzfbcqj.cc/static/landing-v3/scripts/title-left-extra.js?v=20260714-share

js lnzfbcqj.cc collected 2026-09-26 05:35:19 UTC 2,401 bytes, 82 lines download raw bytes

1(function () {
2  function assetUrl(name) {
3    return "/static/landing-v3/assets/" + name;
4  }
5
6  function buildExtra(index) {
7    var extra = document.createElement("div");
8    extra.className = "title-left-extra";
9
10    if (index < 2) {
11      extra.classList.add("title-left-extra--pair");
12      extra.innerHTML =
13        '<img class="title-left-extra-left" src="' +
14        assetUrl("left.png") +
15        '" width="305" height="78" alt="">' +
16        '<img class="title-left-extra-right" src="' +
17        assetUrl("right.png") +
18        '" width="240" alt="">';
19    } else {
20      extra.classList.add("title-left-extra--single");
21      extra.innerHTML =
22        '<img class="title-left-extra-aaa" src="' +
23        assetUrl("aaa.png") +
24        '" width="570" alt="">';
25    }
26
27    return extra;
28  }
29
30  function bindLeftClicks() {
31    document.querySelectorAll(".title-left-extra-left").forEach(function (img) {
32      if (img.dataset.clickBound === "1") return;
33      img.dataset.clickBound = "1";
34      img.setAttribute("role", "button");
35      img.setAttribute("tabindex", "0");
36      img.addEventListener("click", function () {
37        var officialUrl = window.dataMap && window.dataMap.officialUrl;
38        if (officialUrl) window.location.href = officialUrl;
39      });
40      img.addEventListener("keydown", function (event) {
41        if (event.key === "Enter" || event.key === " ") {
42          event.preventDefault();
43          img.click();
44        }
45      });
46    });
47  }
48
49  function injectExtras() {
50    var sections = document.querySelectorAll("#fullpage .section");
51    if (!sections.length) return false;
52
53    sections.forEach(function (section, index) {
54      var titleLeft = section.querySelector(".title-left");
55      if (!titleLeft || titleLeft.querySelector(".title-left-extra")) return;
56      titleLeft.appendChild(buildExtra(index));
57    });
58
59    bindLeftClicks();
60    return true;
61  }
62
63  function waitAndInject() {
64    if (injectExtras()) return;
65
66    var observer = new MutationObserver(function () {
67      if (injectExtras()) observer.disconnect();
68    });
69    observer.observe(document.body, { childList: true, subtree: true });
70
71    setTimeout(function () {
72      injectExtras();
73      observer.disconnect();
74    }, 8000);
75  }
76
77  if (document.readyState === "loading") {
78    document.addEventListener("DOMContentLoaded", waitAndInject);
79  } else {
80    waitAndInject();
81  }
82})();

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.