PageSourceSearch

https://www.rollingstone.de/wp-content/themes/RS-Theme-2023/toggle-element-visibility.js?ver=1.0

js rollingstone.de collected 2026-09-24 17:39:31 UTC 1,193 bytes, 38 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function () {
2  const winWidth =
3    window.innerWidth ||
4    window.document.documentElement.clientWidth ||
5    window.document.body.clientWidth;
6  const mobileMrec = document.querySelectorAll(".asmb-ads-mrec-mobile");
7  const skyBtf = document.getElementById("skyBtfWrapper");
8  const superbanner = document.getElementById("superbannerWrapper");
9  if (winWidth > 900) {
10    aView = "d";
11    if (mobileMrec) {
12      for (let i = 0; i < mobileMrec.length; i++) {
13        mobileMrec[i].id = "none";
14        mobileMrec[i].firstElementChild.id = "none";
15        mobileMrec[i].style.display = "none";
16      }
17    }
18  } else {
19    aView = "m";
20    superbanner.id = "none";
21    superbanner.firstElementChild.id = "none";
22    if (skyBtf) {
23      skyBtf.id = "none";
24      skyBtf.firstElementChild.id = "none";
25      skyBtf.style.display = "none";
26    }
27  }
28
29  let skyBtfNoHome = document.querySelector(".sky_btf_no_home");
30  let newHeight = document.documentElement.scrollHeight / 2;
31  if (skyBtfNoHome) {
32    if (newHeight > 2500) {
33      skyBtfNoHome.style.top = newHeight + "px";
34    } else {
35      skyBtfNoHome.style.top = 2500 + "px";
36    }
37  }
38});

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.