CodeRush.run home

Chrome extension · per-site, opt-in

Run the block
where you found it.

You are reading a code block on a documentation page or in a chat transcript. The CodeRush extension puts a Run button on it, opens the snippet in a sandboxed runner, and never asks for access to every site you visit.

  • No blanket site access
  • Sandboxed runner tab
  • Alt+R opens the full pad

What it adds, and where

Only on the sites you name.

Installation asks for no website access at all. You enable Page buttons for one site at a time from the popup, and only then does the extension register a script for that site, walk its code blocks and pin a Run button to them. Revoking a site removes the injected controls, stops the page observer and drops the permission.

Two things work without any site grant: the selection context menu — highlight code anywhere, right-click, run it — and Alt+R, which opens the full hosted pad in a new tab. For most reading, that is all you need.

The runner is the same sandbox

Different surface, same boundary.

The snippet opens in a runner tab whose toolbar surrounds a sandboxed frame with an opaque origin: it cannot read the page it came from, the extension around it, or your browsing. The runner shows the detected kind, keeps the source editable for an Apply & rerun, and collects console output in a drawer.

It can show reviewed HTML and inline CSS offline first, before you allow JavaScript or outside connections — the sensible default for a block you just found on the internet. The Run button itself is excluded from the copied text, so copying the block still copies only the code.

Installing it, honestly

Not in the Web Store.

The extension is not listed in the Chrome Web Store. Clone or download the repository, open chrome://extensions, turn on Developer mode, choose Load unpacked and pick the extension/ folder. There is no build step: it is plain HTML, CSS and JavaScript, with the compilers vendored so it also works offline.

Everything the extension does, the hosted pad at coderush.run does too — same detector, same transforms, same sandbox, nothing to install. The extension exists for the moment when the code is already in front of you.

Questions

Does the extension read every page I visit?
No. It asks for no website access on install, and page buttons are enabled per site by you. Revoking a site removes the controls and the permission.
Is it in the Chrome Web Store?
No. Load it unpacked from the repository: chrome://extensions, Developer mode, Load unpacked, pick the extension folder.
What does Alt+R do?
It opens the hosted pad in a new tab. It needs no site permission.
Does the snippet run with access to the page it came from?
No. It runs in a sandboxed frame with an opaque origin, in its own runner tab.

Go on. Try it.

Or skip the install and paste into the pad.