PageSourceSearch

https://xagent.id/assets/hero-card.js?v=card-entry-20260821

js xagent.id collected 2026-10-05 06:32:43 UTC 706 bytes, 22 lines download raw bytes

1/* Homepage entrypoint: turn an explicitly submitted public URL into a card. */
2(function () {
3  "use strict";
4
5  var form = document.getElementById("hero-card");
6  if (!form) return;
7  var input = document.getElementById("hero-card-url");
8  var button = form.querySelector("[data-card-submit]");
9
10  form.addEventListener("submit", function (event) {
11    event.preventDefault();
12    var target = window.xagentNormalizePublicUrl(input.value);
13    if (!target) {
14      input.setAttribute("aria-invalid", "true");
15      input.focus();
16      return;
17    }
18    input.removeAttribute("aria-invalid");
19    button.disabled = true;
20    window.location.assign("/card?url=" + encodeURIComponent(target));
21  });
22})();

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.