PageSourceSearch

https://www.waukeshacounty.gov/media/v3cmyiee/court-calendar.js?20250722

js waukeshacounty.gov collected 2026-09-24 08:48:32 UTC 1,540 bytes, 41 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function (event) {
2  var head = document.getElementsByTagName('head')[0];
3  var link = document.createElement('link');
4  link.rel = 'stylesheet';
5  link.type = 'text/css';
6  link.href = 'https://use.fontawesome.com/3279ad80a8.css';
7  link.media = 'all';
8  head.appendChild(link);
9
10  const dt1 = new Date();
11  const today = getDateParts(dt1);
12  const dt2 = new Date(dt1.setDate(dt1.getDate() + 1));
13  const tomorrow = getDateParts(dt2);
14
15  Array.from(document.getElementsByClassName('court-officer-link')).forEach(
16    (el) => {
17      const i = document.createElement('i');
18      i.setAttribute('class', 'fa fa-calendar');
19      i.setAttribute('aria-hidden', 'true');
20      i.setAttribute('style', 'padding-right: 5px;');
21
22      const url = `https://wcca.wicourts.gov/courtOfficialCalendarReport.html?countyNo=${el.dataset.countyno}&ctofcNo=${el.dataset.ctofcno}&dateRange.end=${today.month}-${today.day}-${today.year}&dateRange.start=${today.month}-${today.day}-${today.year}&includeNonCourt=false&isCourtCal=true&trafficOnly=false`;
23      const parentNode = el.parentNode;
24      parentNode.insertBefore(i, el);
25      el.setAttribute('href', url);
26    }
27  );
28});
29
30function getDateParts(dt) {
31  const year = dt.getFullYear().toString();
32  let month = (dt.getMonth() + 1).toString();
33  if (month.length == 1) month = '0' + month;
34  let day = dt.getDate().toString();
35  if (day.length == 1) day = '0' + day;
36  return {
37    year,
38    month,
39    day,
40  };
41}

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.