AI
Inline rendering with document.currentScript
Simon Willison · Oct 17, 2026 · 5:11 PM ET
Inline rendering with document.currentScript Lean Rada describes a neat trick that takes advantage of the document.currentScript property. You can use that to drop in a tiny inline If you define a shortcut function like this: $=(...n)=>document.currentScript.replaceWith(...n) You get a tiny template language: The year is Tags: javascript
Why it scores
Rules judge: AI item; Topics: real estate; Source: Simon Willison.
Builder score 50
0 to 100: how useful this is for building or owning income-producing assets, digital or physical. Not a rating of how big the news is.
