PageSourceSearch

https://al.ro.leg.br/static/js/links-decoration-switcher.js?version=1791585889.2107673

js al.ro.leg.br collected 2026-10-09 22:45:01 UTC 1,019 bytes, 27 lines download raw bytes

1const destaqueLinks = document.getElementById("destaque-links");
2destaqueLinks.addEventListener("click", () => {
3  if (destaqueLinks.classList.contains("text-white")) {
4    destaqueLinks.classList.remove("text-white");
5    destaqueLinks.classList.add("text-yellow-300");
6    document.querySelectorAll("a").forEach((link) => {
7      link.style.textDecoration = "underline";
8    });
9    localStorage.setItem("links-decoration", "underline");
10  } else {
11    destaqueLinks.classList.remove("text-yellow-300");
12    destaqueLinks.classList.add("text-white");
13    document.querySelectorAll("a").forEach((link) => {
14      link.style.textDecoration = "none";
15    });
16    localStorage.setItem("links-decoration", "none");
17  }
18});
19
20// restore state after reload
21if (localStorage.getItem("links-decoration") === "underline") {
22  destaqueLinks.classList.remove("text-white");
23  destaqueLinks.classList.add("text-yellow-300");
24  document.querySelectorAll("a").forEach((link) => {
25    link.style.textDecoration = "underline";
26  });
27}

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.