Run custom JavaScript on any website.
Custom JavaScript for Websites 2 Extension
Your scripts are kept by the Chrome sync API and applied across domain URLs. You can inject custom JavaScript based on domain or custom Regular Expression (since v3.1.1).
This extension supports dedicated tab to edit your codes since v2.5.1
You can use some built-in libraries such as
* jQuery 1.12.4
* jQuery 2.2.4
* jQuery 3.2.1
* Indefinite Observable 1.0.1
* MooTools 1.6.0
or/and your own external scripts.
Use cases:
* Site debugging (wrong list sort, etc.)
* Extract useful information from website, such as billings/orders metadata
* Hide annoying popups and Ads
* Custom UI
* Anything you can think of :)
Inject large JavaScript: https://github.com/xcv58/Custom-JavaScript-for-Websites-2#how-do-i-inject-large-javascript
New features:
Ace Editor (formating, highlight, undo/redo by hotkeys)
Draft auto save (so doesn't matter when you close the window without saving)
Hosts (websites) switch (you can browse customjs of other websites)
Include external script (eq. Underscore.js is cool)
Thanks to:
Ace - http://ace.c9.io/
Pure - http://purecss.io/
Source Manifest.json
"update_url": "https://clients2.google.com/service/update2/crx",
"description":"Run custom JavaScript on any website.",
"version":"3.4.12",
"manifest_version":2,
"name":"Custom JavaScript for Websites 2",
"short_name":"customjs",
"author":"xcv58",
"minimum_chrome_version":"52.0.2743",
"icons":{"16":"icon-16.png",
"19":"icon-19.png",
"32":"icon-32.png",
"38":"icon-38.png",
"48":"icon-48.png",
"128":"icon-128.png"},
"background":{"scripts":["background.js"],
"persistent":false},
"content_scripts":[{"all_frames":true,
"js":["run.js"],
"matches":["
"web_accessible_resources":["*.css",
"base.js"],
"browser_action":{"default_icon":"icon-48.png",
"default_popup":"popup.html"},
"content_security_policy":"script-src 'self' 'unsafe-eval' https://*.googleapis.com https://gitcdn.link https://cdnjs.cloudflare.com; object-src 'self'",
"permissions":["storage",
"http://*/",
"https://*/",
"tabs"]}
How to download and manually install Custom JavaScript for Websites 2 extension for Chrome
Looking for a way to install Custom JavaScript for Websites 2 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 JavaScript for Websites 2 extensions manually, this article outlines two simple methods to effortlessly install Custom JavaScript for Websites 2 extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download Custom JavaScript for Websites 2 extension and manually install through Drag &Drop
If you ever need to manually install a Custom JavaScript for Websites 2 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 JavaScript for Websites 2 Extension by clicking the "Download CRX" button on the website.
Look for the Custom JavaScript for Websites 2 extension you wish to install. Go to the website and download the Custom JavaScript for Websites 2 extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Custom JavaScript for Websites 2 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 JavaScript for Websites 2 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 JavaScript for Websites 2 extension for Chrome and install in Developer Mode
This is another method to install Custom JavaScript for Websites 2 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 JavaScript for Websites 2 extension file
Select and download the Custom JavaScript for Websites 2 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 JavaScript for Websites 2 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 JavaScript for Websites 2 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 JavaScript for Websites 2 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 JavaScript for Websites 2 extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
User JavaScript and CSS 50,000+ 564 ★ 1.62MiB
Scripty - Javascript Injector 50,000+ 69 ★ 22.85KiB
Javascript Injector 50,000+ 9 ★ 59.53KiB
Web Injector 50,000+ 8 ★ 152KiB
InjectCode 50,000+ 26 ★ 215KiB
Run Javascript 50,000+ 46 ★ 2.18MiB
Javascript & Css auto injection 50,000+ 14 ★ 899KiB
JS-Exec 50,000+ 3 ★ 1.83MiB
Disney+ PIP 50,000+ 55 ★ 14.55KiB
Custom JavaScript for Websites 3 50,000+ 3 ★ 572KiB
Witchcraft: JS/CSS injector 50,000+ 10 ★ 27.24KiB
User CSS 50,000+ 264 ★ 298KiB
Haxball All-in-one Tool 50,000+ 17 ★ 807KiB
JScript tricks 50,000+ 50 ★ 340KiB
JS Inject 50,000+ 0 ★ 551KiB
JavaScript Injector 50,000+ 33 ★ 397KiB
Console Injector 50,000+ 12 ★ 20.4KiB
Live Custom CSS,JS injector on pages 50,000+ 35 ★ 140KiB
Disney+ Picture in Picture 50,000+ 248 ★ 59.57KiB
Code Injector 50,000+ 10 ★ 110KiB
Web Code Injector 50,000+ 5 ★ 2.36MiB
Custom Style Script 50,000+ 37 ★ 49.86KiB
Page Manipulator 50,000+ 35 ★ 2.17MiB
Stylebot 50,000+ 1603 ★ 10.27MiB
User reviews
Николай Друг (NickIAm) (ID: 000000be17541def) Voted 5 ★ - Updated 10/26/2023
Anshu kumar (ID: 0000003b52bfd3fc) Voted 5 ★ - Updated 09/20/2023
Nathi Nonthasen (ID: 000000563b3f9f35) Voted 4 ★ - Updated 08/22/2023
Ramit Bhalla (ID: 0000004750f2f884) Voted 4 ★ - Updated 03/23/2023
Hatem Badawi (ID: 000000f799eed600) Voted 5 ★ - Updated 02/08/2023