Run custom JavaScript on any website.

Latest Version

Version
3.4.12
Update
February 20, 2023
Size
588KiB
Developer
Category
Users
50,000+
Rating
4.3876 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Storage
Http://*/
Https://*/
Tabs
See more

Custom JavaScript for Websites 2 Extension

Run custom JavaScript on any website. Use this tool to inject custom JavaScript in any website.

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/
Read more

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"]}
Read more

Similar Extensions

icon

User JavaScript and CSS Extension · Developer Tools 50,000+ 564 ★ 1.62MiB

icon

Scripty - Javascript Injector Extension · Productivity 50,000+ 69 ★ 22.85KiB

icon

Javascript Injector Extension · Developer Tools 50,000+ 9 ★ 59.53KiB

icon

Web Injector Extension · Developer Tools 50,000+ 8 ★ 152KiB

icon

InjectCode Extension · Developer Tools 50,000+ 26 ★ 215KiB

icon

Run Javascript Extension · Developer Tools 50,000+ 46 ★ 2.18MiB

icon

Javascript & Css auto injection Extension · Developer Tools 50,000+ 14 ★ 899KiB

icon

JS-Exec Extension · Productivity 50,000+ 3 ★ 1.83MiB

icon

Disney+ PIP Extension · Accessibility 50,000+ 55 ★ 14.55KiB

icon

Custom JavaScript for Websites 3 Extension · Developer Tools 50,000+ 3 ★ 572KiB

icon

Witchcraft: JS/CSS injector Extension · Developer Tools 50,000+ 10 ★ 27.24KiB

icon

User CSS Extension · Developer Tools 50,000+ 264 ★ 298KiB

icon

Haxball All-in-one Tool Extension · Fun 50,000+ 17 ★ 807KiB

icon

JScript tricks Extension · Developer Tools 50,000+ 50 ★ 340KiB

icon

JS Inject Extension · Developer Tools 50,000+ 0 ★ 551KiB

icon

JavaScript Injector Extension · Developer Tools 50,000+ 33 ★ 397KiB

icon

Console Injector Extension · Developer Tools 50,000+ 12 ★ 20.4KiB

icon

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

icon

Disney+ Picture in Picture Extension · Accessibility 50,000+ 248 ★ 59.57KiB

icon

Code Injector Extension · Developer Tools 50,000+ 10 ★ 110KiB

icon

Web Code Injector Extension · Developer Tools 50,000+ 5 ★ 2.36MiB

icon

Custom Style Script Extension · Developer Tools 50,000+ 37 ★ 49.86KiB

icon

Page Manipulator Extension · Developer Tools 50,000+ 35 ★ 2.17MiB

icon

Stylebot Extension · Accessibility 50,000+ 1603 ★ 10.27MiB

User reviews

icon

Николай Друг (NickIAm) (ID: 000000be17541def) Voted 5 ★ - Updated 10/26/2023 It's an insane extension that I cannot live without. It made my life so much easier on so many websites!

icon

Anshu kumar (ID: 0000003b52bfd3fc) Voted 5 ★ - Updated 09/20/2023 love it

icon

Nathi Nonthasen (ID: 000000563b3f9f35) Voted 4 ★ - Updated 08/22/2023 Please allow more code size, import & export.

icon

Ramit Bhalla (ID: 0000004750f2f884) Voted 4 ★ - Updated 03/23/2023 Awesome plugin, wish it had an option to run a script automatically when the page loads instead of having to open and click save each time

icon

Hatem Badawi (ID: 000000f799eed600) Voted 5 ★ - Updated 02/08/2023 magical