{"uid":"cap_CqRgdyF_GHz7XxBRTa-vK","slug":"no-document-write-decision-7b46b02b","name":"No document.write Decision","description":"No document.write decision fetches current public evidence from the supplied target and evaluates the documented criterion. It returns the observation, threshold, verdict, exact evidence source, limitations and a mode-specific action. The check is passive: no login attempt, payload injection, exploit, purchase, form submission or load test is performed.","url":"https://webtechnik.halowerk.com/v1/no-document-write-decision?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"target":{"type":"string","maxLength":2048,"minLength":3,"description":"Public HTTP(S) URL or domain to inspect. A bare domain is normalized to HTTPS."},"context":{"type":"object","description":"Optional non-secret correlation labels returned unchanged only in the request lifecycle.","maxProperties":12,"additionalProperties":{"type":["string","number","boolean","null"]}},"baseline":{"type":["object","null"],"description":"Optional baseline returned by a previous snapshot call.","additionalProperties":true},"compare_url":{"type":"string","maxLength":2048,"minLength":3,"description":"Optional public comparison URL. Used by change and monitoring services."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bxbyBmInrqMMnfWFYUkLQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Passively inspects a public URL and returns a pass/fail verdict on whether the page uses document.write, along with evidence, threshold, and recommended action.","exampleAgentPrompt":"Can you check whether example.com uses document.write anywhere on the page? I want a clear pass or fail verdict with the evidence source and any recommended fix.","exampleUseCases":[{"title":"Pre-launch JavaScript hygiene check","prompt":"Before we go live with our redesigned site at staging.mycompany.com, can you check if there are any document.write calls on the page? I need a pass or fail with the evidence."},{"title":"Third-party script compliance audit","prompt":"Our dev team says they removed all document.write usage from shop.brandsite.com — can you verify that and give me the verdict plus where you found the evidence?"},{"title":"Continuous monitoring for regression","prompt":"I want to know if news.example.org has started using document.write again since our last check — please compare against the baseline I have and flag any change in verdict."}],"resultDescription":"Returns an observation describing what was found on the target page, the criterion threshold, a pass/fail verdict, the exact evidence source URL, known limitations of the passive check, and a mode-specific recommended action to remediate or confirm the finding.","failureModes":["Target URL is unreachable or returns a non-200 status — endpoint cannot fetch evidence","Private or login-gated URLs return no meaningful evidence since the check is passive","Dynamically injected document.write calls that execute only after user interaction may be missed","Rate limiting or bot-blocking on the target domain may prevent evidence retrieval","Malformed or non-HTTP(S) URLs fail schema validation"],"whenToPreferThis":"Use this endpoint when you need a quick, passive, no-risk verdict on whether a specific public URL or domain uses document.write, as part of a web performance or JavaScript best-practice audit. It is preferable to manual inspection or full lighthouse runs when you need a lightweight, automatable, single-criterion check with explicit evidence sourcing and a structured verdict. Choose it over generic crawlers when you need the specific no-document.write criterion evaluated and explained.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-11T15:09:06.443Z","isFirstParty":false,"canonicalSlug":"no-document-write-decision-7b46b02b"}