Custom Code Runner is a Chrome extension that allows you to run custom JavaScript code on web pages. You can save your code and choose to run it manually or automatically on every page load.
- Run Custom Code: Enter and execute your JavaScript code in the context of the active tab.
- Save Code: Save your code using
chrome.storagefor future use. - Auto-Run on Page Load: Toggle the auto-run feature to execute the saved code automatically on every page load.
- Clone this repository.
git clone https://github.com/rahulsushilsharma/custom-code-runner.git-
Open Chrome and navigate to
chrome://extensions/. -
Enable "Developer mode."
-
Click "Load unpacked" and select the cloned repository folder.
-
Click on the extension icon in the Chrome toolbar.
-
Enter your JavaScript code in the provided textarea and click Save.
-
(Optional) Check the "Auto Run" checkbox if you want the code to execute automatically on every page load.
-
Click "Run Code" to execute the code manually.
icon.png: Icon for the extension.manifest.json: Manifest file containing extension details.popup.html: HTML file for the extension popup.popup.js: JavaScript file for the extension popup logic.content.js: JavaScript file injected into web pages to execute code.background.js: Background script handling auto-run and communication between components.
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.