Skip to content
← Docs

Context Detector

Context Detector

Paste HTML (or a fragment) with a marker where your input is injected (default: INJECT). Click Detect to infer:

  • Injection context: HTML body, attribute, script block, URL attribute, or DOM sink
  • Confidence level and breakout hints
  • Suggested next steps

Apply

Apply sets the builder’s context filter and syncs the playground preview context so you can test in the matching sandbox mode.

Example

<div class="search">INJECT</div>

Typically resolves to HTML body context — use reflected or polyglot templates that break out of the surrounding markup.