RunJS
中文 Chrome Store
Chrome extension · local-first

Redefine any site with your own CSS & JS

Bind styles and scripts to a target URL. Open from the popup or Dashboard, then inject after the page lands. Leave code empty to open the URL only — no site access required.

Works seamlessly with
CSSCSS inject JSJS inject URLURL binding MV3Manifest V3 AUTOAuto inject
runjs/ script.css
Local On-device by default
135+ Chrome required
Drive Optional cloud sync
Free No ads · no tracking

Two ways to use it

Open and inject — or just open the URL

Save a name, target URL, and optional CSS/JS in the Dashboard. Local-first by default; turn on Google Drive sync when you need it.

Drop-in

Open & inject

Click a saved entry to open the URL and inject after load. Empty CSS/JS means open-only.

terminal
$ runjs open example.com
→ inject after load
Local-first

Local-first

Scripts, preferences, and drafts stay on this device; optionally sync to your Google Drive app data.

storage.json
local: scripts + prefs
drive: optional appData
ads: false

Highlights

Real-page ready

Follows redirects, supports SPAs and iframes, with configurable inject timing.

Scoped injection

One URL or all sites; match patterns, auto-inject, and enable/disable per script.

Monaco editor

Completions, hover, and Less/Sass in the Dashboard — theme and fonts follow extension settings.

Proportionate permissions

Site access is requested only when you save inject code; declining still saves locally. Chrome 138+ also needs Allow User Scripts enabled.

Features

What you can do

Dashboard

library with General / CSS / JS / Settings / Permissions, Monaco editor, format, URL test, and draft restore.

Popup

search and filter; click to open-and-inject, or open only when code is empty.

Injection

host + path-prefix or Chrome match patterns; isolated or page-main world; start / DOM ready / load / idle / delay; persist across refresh.

Library tools

import/export JSON, batch delete, drag reorder, conflict handling on import.

Optional Google Drive sync

Settings → Storage; merge per script; deletes and list order sync too.

Context menu

right-click any page to open and inject; follows redirects for everyday one-click runs.

Drop-in workflow

Get into a workflow in minutes

Site library, local / Drive, right-click inject, editor, and run timing — five slides through the core loop.

RunJS

Every site, one library

Your scripts, grouped per URL Filter, edit, run — Local & Google Drive
Scripts Per-URL
G
Google
https://www.google.com
◎
Instagram
https://www.instagram.com
𝕏
X
https://x.com
▣
All sites injected
All sites
RunJS

Local-first privacy

Browser storage by default Google Drive sync when you want it
No ads No tracking Import / Export
Storage
Local library usage and optional Google Drive sync.
Storage provider
Browser storage
Chrome local storage on this device (default)
Google Drive
Sync scripts with Google Drive across your devices
Synced Last synced: 2026/10/16 23:42:28
Scripts4
Library code size6.7 KB
Local storage14.5 KB / 10.00 MB
RunJS

Open & inject

Right-click any page and run script straight from the context menu
One click Follows redirects
RunJS context menu mockup
RunJS

CSS + JS Editor

Edit with syntax highlighting Save stays in sync with your library
Import / Export Format
EDIT SAVED — MATCHES LIBRARY
Import Export Format
1function (global, undefined) {
2 "use strict";
3 undefinedVariable = {};
6 function initializeProperties(target, members) {
7 var keys = Object.keys(members);
8 var properties;
10 for (i = 0, len = keys.length; i < len; i++) {
11 var key = keys[i];
12 var enumerable = key.charCodeAt(0) !== 95;
15 if (member.value !== undefined ||
19 properties = properties || {};
26 properties[key] = { value: member, writable: true }
27 }
RunJS

Timing & worlds

Choose when and where your code runs
Isolated Page-main
Run
Execution environmentIsolated environment ▾
Run timingAfter DOM is ready ▾
Delayed run1000
Run in iframes
Page inject
Auto inject
Persistent script
Injection count1
Script settings
Enable script

Capability matrix

Built for real browsing workflows

Open & inject

One-click runs

openinjectredirectspa

Editor

Dashboard Monaco

cssjslesssassformat

Inject scope

Precise or broad

urlmatchall-sitesiframe

Timing

When code runs

startdomreadyloadidledelay

Sync & backup

Optional cloud

localdriveimportexport

Permissions

Ask when needed

hostuser-scriptsenabledisable

Requirements

Chrome 135+

Requires Chrome 135+. To inject saved scripts on Chrome 138+, open chrome://extensions → RunJS details → enable Allow User Scripts. Site access is requested only for origins where you saved inject code.

Redefine the sites you open every day — without editing their source

Keep scripts local-first; turn on Drive sync when you need it. Install from the Chrome Web Store to begin.