PageSourceSearch

https://service1.org/_htmx/antiforgery.js

js service1.org collected 2026-09-28 10:46:48 UTC 719 bytes, 1 lines download raw bytes

1document.body.attributes.__htmx_antiforgery||(document.addEventListener("htmx:configRequest",(e=>{if("GET"===e.detail.verb.toUpperCase())return;let t=htmx.config.antiForgery;if(t){if(e.detail.parameters[t.formFieldName])return;t.headerName?e.detail.headers[t.headerName]=t.requestToken:e.detail.parameters[t.formFieldName]=t.requestToken}})),document.addEventListener("htmx:afterOnLoad",(e=>{if(e.detail.boosted){const t="meta[name=htmx-config]",r=(new DOMParser).parseFromString(e.detail.xhr.responseText,"text/html").querySelector(t);if(r){const e=document.querySelector(t),a="antiForgery";htmx.config[a]=JSON.parse(r.attributes.content.value)[a],e.replaceWith(r)}}})),document.body.attributes.__htmx_antiforgery=!0);

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.