Can we rebuild it?
Toggle JavaScript icon

Can we rebuild Toggle JavaScript?

Build a Chrome extension like Toggle JavaScript — a Toggle JavaScript alternative you own.

If you want a lightweight alternative to manage page scripts, you can build your own Toggle JavaScript tool in minutes. A custom Chrome extension using native browser settings lets you toggle execution across all tabs without installing untrusted third-party binaries.

Users
200K
Rating
★ 4.2
Category
Verdict
YES

The listing record

NameToggle JavaScript
Store rating4.2 / 5 · 203 ratings
Users200K+
Store listingChrome Web Store ↗
Analyzed12 September 2026

What Toggle JavaScript does

Toggle JavaScript provides a simple, easy-to-access browser button to enable or disable JavaScript globally. It was built with web developers in mind, but is equally useful for anyone who wants to quickly enable/disable JavaScript without having to dig deep into Chrome's Settings panel. Features: - global JavaScript master switch - reloads when toggling to ensure accurate rendering (optional since v1.3) More Info: There are similar extensions that enable or disable JavaScript per-domain, but I find this over-complicated so I decided to build a JavaScript "master switch". Also, similar extensions can cause pages to be rendered inaccurately after disabling JavaScript. This extension uses an auto-reload technique to ensure that pages are always rendered correctly after switching JavaScript on or off.

What the store says

★ 4.2 from 203 ratings · 200K users

Pulled live from the Chrome Web Store listing at analysis time.

Can PlugThis rebuild Toggle JavaScript?

YESYes — you can rebuild this.

A basic contentSettings API call wrapped in an action button click.

This extension is one of the simplest possible Manifest V3 builds. It toggles the native chrome.contentSettings.javascript setting and reloads the active tab. PlugThis can generate this entire project in seconds.

What's actually hard to replicate
Native contentSettings APIZero proprietary logic

Why build your own Toggle JavaScript alternative

  • No third-party code running in your browser
  • Ability to add per-domain bypasses or allowlists if desired
  • Customizable keyboard shortcuts to toggle JS instantly
  • Custom icon states to clearly indicate whether JS is active

What it costs vs what you'd save

The original: No price is stated in the store listing.

Your version: The original tool is simple utility freeware, but building your own gives you full control over browser permissions and eliminates the risk of an extension changing ownership.

The starter prompt

Starter prompt — paste into PlugThis
Build a Chrome extension that toggles JavaScript execution globally using chrome.contentSettings.javascript. When the extension action icon is clicked, toggle the JavaScript setting between 'allow' and 'block', update the toolbar icon/badge to reflect the current state, and automatically reload the active tab.
Build it with PlugThis →

Features you could add that Toggle JavaScript doesn't have

Because you own the code, these are a follow-up prompt away — tap one to add it to the prompt above.

  • Per-Site WhitelistAllow specific trusted domains to run JavaScript while keeping the global block enabled.
  • Shortcut HotkeyAssign a quick keyboard shortcut to toggle scripts and refresh without touching the mouse.

Questions about rebuilding Toggle JavaScript

How does disabling JavaScript work in Chrome extensions?

Extensions use the chrome.contentSettings.javascript API to change the global or per-site script execution rule, then reload the tab using chrome.tabs.reload.

Can I make it toggle per-tab instead of globally?

Yes. While the original uses a global switch, you can easily prompt PlugThis to restrict the toggle to the current domain using contentSettings primaryPattern rules.

Does this require any backend or external services?

No backend, API keys, or databases are required. Everything executes locally via standard browser APIs.

How to build it yourself

  1. 1
    Open PlugThis and start a new build

    Head to PlugThis and start a new Chrome extension. You're describing a Toggle JavaScript alternative you'll own outright — no store subscription.

  2. 2
    Paste the starter prompt

    Paste the starter prompt above. PlugThis expands it into a full Manifest V3 extension — popup, content scripts, and service worker included.

  3. 3
    Review, tweak, and load it

    Review the generated code, ask for tweaks in plain English, then download and load the unpacked extension in Chrome to try it.

  4. 4
    Publish it (optional)

    When you're happy, publish your Toggle JavaScript alternative to the Chrome Web Store — or just keep it as a private tool for yourself.

Build your own Toggle JavaScript alternative

Describe it in plain English. PlugThis generates the full Manifest V3 Chrome extension in about two minutes.

Build it with PlugThis →

More teardowns

We run the same teardown on any Chrome extension — what it does, whether a self-built alternative holds up, and the prompt to make one. Tear down another extension, or see the extensions we've actually rebuilt and filmed — real build times, real prompts, real recordings.

Sources & verification

  • All facts pulled live from the Chrome Web Store listing ↗.
  • The verdict is drafted by the PlugThis teardown engine — an opinion about buildability, not affiliation with Toggle JavaScript.
  • Written by PlugThis, which builds Chrome extensions from plain-English prompts.

Published and last updated 12 September 2026. Figures reflect the Chrome Web Store listing on that date and may have changed since.