Overview
Advanced custom JavaScript injector with native CSP bypass.
JS Mage is a utility for injecting custom JavaScript directly into the MAIN execution world of web pages. It natively bypasses standard extension isolation and Content Security Policy (CSP) restrictions that normally block inline script execution. This allows your injected code to interact directly with the host page's window object, native variables, and frameworks. The extension uses a draggable, resizable code editor injected into the active tab via a Shadow DOM, preventing the host page's CSS from breaking the editor's UI. Core Features ● Execution Scopes: Maintain independent scripts for specific hostnames (Local) or a single script applied across all websites (Global). ● Execution Modes: Run code manually on demand, or toggle "On Load" to automatically inject the script as soon as the DOM finishes loading. ● In-Page Editor: A floating, resizeable editor overlay with adjustable opacity. Includes a custom regex-based syntax highlighter, a built-in code formatter, and an independent undo/redo history stack. ● Theming: 13 built-in syntax highlighting themes, including standard IDE defaults (Dark+, Monokai, Dracula, Nord, One Dark). ● State & Backup: Export individual scripts as .js files, or dump/restore your entire cross-site storage database via JSON. ● Kill Switch: A master power toggle to instantly disable all script injections without losing your saved code. Controls & Shortcuts ● Click Extension Icon: Toggle the editor UI. ● Double-Click Extension Icon: Toggle master power (Enable/Disable all injections). ● Ctrl/Cmd + Shift + Space: Global shortcut to toggle the editor visibility. ● Ctrl/Cmd + Enter: Execute the current script immediately. ● Ctrl/Cmd + /: Toggle line or block comments. ● Ctrl/Cmd + Z / Shift + Z / Y: Native-style undo and redo. Note: Because scripts execute in the MAIN world context, disabling the extension's power or removing an auto-run script requires a page refresh to clear previously executed code from the browser's memory.
0 out of 5No ratings
Details
- Version1.0
- UpdatedMarch 24, 2026
- Size19.15KiB
- LanguagesEnglish
- Developer
- Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes
Support
For help with questions, suggestions, or problems, please open this page on your desktop browser