Topic

document.currentScript

Sign in to follow document.currentScript

Latest news

  1. 18 Oct
    Tiny inline rendering trick using document.currentScript

    A short blog post demonstrates using document.currentScript to replace a small inline <script> with rendered content when the page loads. The post also shows a minimal helper function $ that makes this act like a tiny template language.

    Developers · 1 source

Articles

No articles about document.currentScript yet.