Run custom javascript and css in a webpage with ease

Latest Version

Version
1.0.0
Update
June 21, 2023
Size
207KiB
Developer
Category
Users
361
Rating
4.66667 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Storage
UnlimitedStorage

Tabs
WebRequest
WebRequestBlocking
See more

Custom Code Injector Extension

Inject custom javascript and css in a webpage with ease

Ease of use
✓ Run your own javascript and/or css code
✓ Run 3rd party library javascript and/or css
✓ Automatic save
✓ Target url host as well as path
✓ Exportable and Importable rules
✓ Enable/Disable, Add, Edit, Delete at your finger tips


≡ How to Use

1. Click the Extension Icon (Popup)
2. Click the \"+\" button to add host rule first (this will take you to the Extension option page)
3. After a title has been set, edit the rule to paste in your own javascript code and/or css code and/or add 3rd party library url
4. Flip the switch to allow the javascript or css or library to run (either at popup or in extension option page)
5. Refresh your url to see the code get applied

* For details, refer to User Guide: https://github.com/CharltonC/chrome-custom-code-injector/tree/master/doc/userguide/README.md
* For optimisation, javascript/css code can be optimised prior to be pasted in the code area.
* The editor in the extension is not intended to be a full blown proper code editor. Instead it should be treated as just a pasteboard to store the code. For best editing experience, a proper code editor should be used.


≡ Privacy

* The extension does NOT collect any data or send data to third party.


≡ Release

* 1.0.0 (2021.09.10)
- Initial Release
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Custom Code Injector", "version": "1.0.0", "minimum_chrome_version": "68", "description": "Run custom javascript and css in a webpage with ease", "author": "Charlton Cheng", "permissions": [ "storage", "unlimitedStorage", "", "tabs", "webRequest", "webRequestBlocking" ], "icons": { "16": "asset/icon/icon_16.png", "32": "asset/icon/icon_32.png", "48": "asset/icon/icon_48.png", "128": "asset/icon/icon_128.png" }, "options_page": "option/index.html", "content_scripts": [ { "run_at": "document_end", "matches": [ "*://*/*" ], "js": [ "asset/common.min.js", "ct-script/main.min.js" ] } ], "browser_action": { "default_title": "Custom Code Injector", "default_popup": "popup/index.html", "default_icon": { "16": "asset/icon/icon_16.png", "24": "asset/icon/icon_24.png", "32": "asset/icon/icon_32.png" } }, "background": { "scripts": [ "asset/common.min.js", "bg/main.min.js" ] }}
Read more

How to download and manually install Custom Code Injector extension for Chrome

Looking for a way to install Custom Code Injector extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Custom Code Injector extensions manually, this article outlines two simple methods to effortlessly install Custom Code Injector extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Custom Code Injector extension and manually install through Drag &Drop

If you ever need to manually install a Custom Code Injector extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Custom Code Injector Extension by clicking the "Download CRX" button on the website.

Look for the Custom Code Injector extension you wish to install. Go to the website and download the Custom Code Injector extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Custom Code Injector extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Custom Code Injector extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Custom Code Injector extension for Chrome and install in Developer Mode

This is another method to install Custom Code Injector extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Custom Code Injector extension file

Select and download the Custom Code Injector extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Custom Code Injector extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Custom Code Injector extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Custom Code Injector extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Custom Code Injector extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Scripty - Javascript Injector Extension · Productivity 361 69 ★ 22.85KiB

icon

Inject Code Extension · Developer Tools 361 7 ★ 2.96MiB

icon

Inject Code Extension · Developer Tools 361 10 ★ 4.7MiB

icon

Custom HTML in Pages Extension · Developer Tools 361 0 ★ 880KiB

icon

Code Injector Extension · Developer Tools 361 10 ★ 110KiB

icon

Custom JavaScript for Websites 3 Extension · Developer Tools 361 3 ★ 572KiB

icon

Browser Injector Extension · Productivity 361 1 ★ 540KiB

icon

Code Injector Extension · Developer Tools 361 14 ★ 1.83MiB

icon

Kode Injector Extension · Developer Tools 361 0 ★ 3.96MiB

icon

Live Custom CSS,JS injector on pages Extension · Developer Tools 361 35 ★ 140KiB

icon

ABC JS-CSS Injector Extension · Developer Tools 361 5 ★ 1.83MiB

icon

Sites custom codes - inject CSS and JS Extension · Developer Tools 361 3 ★ 403KiB

icon

Custom Site JS Extension · Developer Tools 361 1 ★ 94.64KiB

icon

Web Code Injector Extension · Developer Tools 361 5 ★ 2.36MiB

icon

JS Injector Extension · Developer Tools 361 2 ★ 1.88MiB

icon

Prototype - Inject new code in your websites Extension · Developer Tools 361 1 ★ 144KiB

icon

Page Manipulator Extension · Developer Tools 361 35 ★ 2.17MiB

icon

exec JavaScript Extension · Developer Tools 361 1 ★ 329KiB

icon

Custom JavaScript for Websites 2 Extension · Developer Tools 361 129 ★ 588KiB

icon

JS Inject Extension · Developer Tools 361 0 ★ 551KiB

icon

Javascript & Css auto injection Extension · Developer Tools 361 14 ★ 899KiB

icon

Web Injector Extension · Developer Tools 361 8 ★ 152KiB

icon

InjectCode Extension · Developer Tools 361 26 ★ 215KiB

icon

Inject Javascript -- Synced & Open Source Extension · Productivity 361 1 ★ 538KiB

User reviews

icon

Tomáš Hudec (ID: 0000003e28a60d72) Voted 5 ★ - Updated 05/26/2022 I'm missing just regular expressions (or at least wildcards) for domains.

icon

Dave Hope (ID: 0000006226e6c82a) Voted 5 ★ - Updated 11/24/2021 Great tool!