PageSourceSearch

http://wthd.net/schedule.js

js wthd.net collected 2026-10-08 20:30:25 UTC 1,524 bytes, 36 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function () {
2  updateCurrentDJ();
3  setInterval(updateCurrentDJ, 60000); // Update every minute
4});
5
6function updateCurrentDJ() {
7  const now = new Date();
8  const day = now.getDay(); // 0=Sunday, 1=Monday...
9  const hour = now.getHours();
10
11  const currentDjName = document.getElementById('currentDjName');
12  const currentDjTime = document.getElementById('currentDjTime');
13  const djPhoto = document.getElementById('djPhoto');
14
15  let dj = { name: '', time: '', photo: 'images/default.png' };
16
17  if (day >= 1 && day <= 5) {
18    if (hour >= 0 && hour < 6) {
19      dj = { name: 'Joe Massa', time: '12:00 am - 6:00 am', photo: 'images/staff_massa.jpg' };
20    } else if (hour >= 6 && hour < 10) {
21      dj = { name: 'The Jeremy Show', time: '6:00 am - 10:00 am', photo: 'images/staff_jeremy.jpg' };
22    } else if (hour >= 10 && hour < 15) {
23      dj = { name: 'Sherry Farmer', time: '10:00 am - 3:00 pm', photo: 'images/staff_farmer.jpg' };
24    } else if (hour >= 15 && hour < 20) {
25      dj = { name: 'Steve Brewer', time: '2:00 pm - 7:00 pm', photo: 'images/staff_brewer.jpg' };
26    } else if (hour >= 20 && hour < 24) {
27      dj = { name: 'Renee DuBay', time: '8:00 pm - 12:00 am', photo: 'images/staff_renee.jpg' };
28    }
29  } else {
30    dj = { name: 'Thunder Country Weekends', time: 'All Day', photo: 'images/staff_weekends.png' };
31  }
32
33  currentDjName.textContent = dj.name;
34  currentDjTime.textContent = dj.time;
35  djPhoto.src = dj.photo;
36}

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.