PageSourceSearch

https://www.cyfronet.pl/user/themes/cyf-grav/js/filters-scroll.js?g-760888c7

js cyfronet.pl collected 2026-10-02 05:24:50 UTC 518 bytes, 23 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function () {
2  const filters = document.getElementById("filters");
3
4  if (!filters) return;
5
6  const filtering_variants = ["state", "tag"];
7
8  const params = new URLSearchParams(window.location.search);
9
10  var search_params = filtering_variants
11    .map((v) => {
12      return params.get(v);
13    })
14    .filter((item) => item != null);
15
16  console.log(search_params);
17
18  if (search_params.length === 0) return;
19
20  filters.scrollIntoView({
21    behavior: "smooth",
22  });
23});

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.