PageSourceSearch

https://primedirection.org/scheme-script.js

js primedirection.org collected 2026-10-04 07:45:38 UTC 425 bytes, 14 lines download raw bytes

1(() => {
2  const docEl = document.documentElement;
3  const theme = window.matchMedia('(prefers-color-scheme: dark)').matches
4    ? 'dark'
5    : 'light';
6  docEl.classList.add(theme);
7
8  window
9    .matchMedia('(prefers-color-scheme: dark)')
10    .addEventListener('change', (event) => {
11      docEl.classList.remove(event.matches ? 'light' : 'dark');
12      docEl.classList.add(event.matches ? 'dark' : 'light');
13    });
14})();

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.