PageSourceSearch

https://suzuki.cl/scripts/headless.js

js suzuki.cl collected 2026-09-26 14:37:49 UTC 955 bytes, 19 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function() {
2    const main = document.querySelector("main");
3    const url = new URL(window.location.href);
4    const urlParams = new URLSearchParams(url.search);
5
6    if(urlParams.has("headless")) {
7        main.style.maxHeight = '100vh';
8
9        document.querySelector(".header-wrapper").style.display = "none";
10        document.querySelector(".footer-content").style.display = "none";
11
12        document.querySelectorAll(".buttonsBanner").forEach(i => {i.style.display = "none"});
13        document.querySelectorAll("a:not(.no-headless)").forEach(a => {a.style.display = "none"});
14        document.querySelectorAll("button:not(.no-headless)").forEach(a => {a.style.display = "none"});
15
16        document.querySelectorAll(".breadcrumb-wrapper").forEach(i => {i.style.display = "none"});
17        document.querySelectorAll(".car-configurator_button_wrapper").forEach(i => {i.style.display = "none"});
18    }
19});

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.