Skip to content
Community

Inline rendering with document​.currentScript.

Simon Willison's WeblogAnalysis or commentary·
AI brief

Lean Rada described a technique using the document.currentScript property to insert a small inline element that replaces itself when the page loads.

Written by AI from Simon Willison's Weblog's published text.

Source

“Inline rendering with document​.currentScript Lean Rada describes a neat trick that takes advantage of the document.currentScript property.”
Simon Willison's Weblog, 17 Oct 2026, 21:11.

Interpretation or community commentary rather than straight reporting.

Read original story ↗