PageSourceSearch

https://app.ambiguous.ai/theme-init.js

js ambiguous.ai collected 2026-10-05 01:04:03 UTC 582 bytes, 19 lines download raw bytes

1(function () {
2  try {
3    var t = localStorage.getItem("ambiguous-theme");
4    var dark = t === "dark" || (t !== "light" && matchMedia("(prefers-color-scheme:dark)").matches);
5    if (dark) document.documentElement.classList.add("dark");
6  } catch (e) {
7  }
8
9  var links = document.querySelectorAll("link[data-media-swap]");
10  for (var i = 0; i < links.length; i++) {
11    (function (link) {
12      var swap = function () {
13        link.media = "all";
14      };
15      if (link.sheet) swap();
16      else link.addEventListener("load", swap, { once: true });
17    })(links[i]);
18  }
19})();

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.