Lightweight JS Snippet

v1.2 · Free

An easy, really lightweight way to insert a script on a specific page. For when you just need a small piece of JavaScript on one page without pulling in a full snippet manager.

What it does

Open the settings screen, paste your JavaScript, pick a page, save. The snippet is enqueued only on that page — not site-wide, not in the admin, not on the login screen. That’s the entire job.

Snippet managers exist and are great when you have a hundred snippets to track. If you have one — a chat widget on the contact page, a tracking pixel on a thank-you page, a custom analytics call on a single landing page — they’re more plumbing than the problem deserves.

Features

  • Single settings screen — paste JS, select target page, save.
  • Loads only on the page you pick — no global footprint.
  • No snippet library, no version control UI, no folders — by design.
  • Tiny plugin file. Activates and gets out of the way.
  • Works with any theme — outputs through the standard WP enqueue path.

Install