Custom JavaScript for websites  icon

Custom JavaScript for websites

Malware Detected

This extension has been flagged as potentially malicious.

Extension Delisted

This extension is no longer available in the official store. Delisted on 2025-09-15.

Extension Actions

CRX ID
poakhlngfciodnhlhhgnaaelnpjljija
Status
  • Minor Policy Violation
  • Removed Long Ago
  • No Privacy Policy
Description from extension meta

Run custom JavaScript on any website.

Image from store
Custom JavaScript for websites
Description from store

Use this tool to inject custom javascript in any website.

Your scripts are kept in the local storage and applied across domain URLs.

You can use jQuery 1.11.0 or 2.1.0 or your own external scripts

Usage:
- site debugging (wrong list sort, etc.)
- hiding annoyng popups and Ads
- anything you can think of :)

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)
- Launch script on the page embedded by iframe

Change log:
- 2.1.3 - Fixed Cyrillic problem in source
- 2.1.40 - Fixed a problem with the installation

Thanks to:
Ace - http://ace.c9.io/
Pure - http://purecss.io/

Latest reviews

Amanda Frazier
ES6 IIEFs won't work, and I can't seem to access any DOM elements on the screen. Not sure what the point of this is.
robert cannot
You can only set up on the main link ( example.com ) You can not set this link ( example.com/page )
A A
A great idea, but its *constantly* deleting my saved javascript for websites, which means if I'm not backing up the files somewhere literally every time I make a change, I'm going to have to rewrite the code.
דניאל ל
There is a problem bypassing the 30 seconds countdown timer in this website: https://sdarot.tv/watch/3284-%D7%91%D7%99%D7%AA-%D7%94%D7%A0%D7%99%D7%99%D7%A8-money-heist/season/1/episode/4
Andrey Izman
Does not save multi-line template strings and even regular multi-line strings split by ' + '. Just waste of my time. Don't use it
Erik de Boer
Great extension, it does exactly what it has to do perfectly.
Suleiman Boutzamat
After a refresh, my code still runs but it cannot be seen in the editor!
Roman Karagodin
I used this extension until recently with my custom script for autofill, and it works well. But I switched to Custom JavaScript for Websites 2, because CJS1 has several very unpleasant bugs (e.g., in CJS scripts are often ineditable, because their text in editor mystically disappears, except for the 1st line; also, CJS editor is almost impossible to be dealt with from mobile devices). Unlike the this extension, CJS2 is totally free of these issues and works perfectly.
Mike L.
code gets cut off after saving / stops running.
Andrew Surdu
Stupid extension. I press "Save", the page is reloaded automatically and the code is gone. Totally disappointed. Also the tab looses the focus, the code is gone as well.
Zellmer
meine Scripte werden nicht gespeichert, also auch nicht ausgeführt
fires3as0n
I put 20 lines of code, page reloads, I open editor, there is only first line of code there
Anbarasan
I love it
Haneol
I will share my script. This is for youtube and when video is clicked, that will be opened in another specific tab. This will be useful when watching video with second screen and searching with the other. If anyone who can make it better, please let me know... $(document).on("click", "a", function(e){ let href = $(this).attr("href") if (href.startsWith("/watch?v=")) { window.open("https://www.youtube.com" + href, "youtube") setTimeout(function(){ window.history.back() }, 500) } })
Jeremy Wu
hmmm, It would be better if you support controlling script position in HTML https://developer.chrome.com/extensions/content_scripts#run_time
Andrew A 7698
Not work, but in console my script work
Alex P
Doesn't work. Waist of time.
Paul Vasile
Doesn't work
Vasyl Butov
Does exactly what it supposed to, BUT if you clear site data, extension's data clears as well. I'd like ether an option to keep script even after clearing site data or some preset templates to quickly apply changes. P.S.: absolutely love this extension, but 2 starts just for devs to notice this.
Motaz Ibrahim
There is no explanation on how to open the editor and use it I click on it and then nothing
Adrian Boisclair
This is a great extension. Seems to have a few minor issues, ie sometimes the javascript doesn't load into the editor (the dropdown text-box containing the JS) but other than that it works nicely. I'm curious though.. One thing that strikes me as a little bit intrusive on an individuals privacy is that your extension is able to read all of our browsing history. Is this 100% necessary? If you had an anonymous version of it I bet it would be huge in popularity.
Adam Yeh
This is perfect app and i love it so much!
K F
Za każdym razem czasu usuwa napisane skrypty.[PL] Every time deletes prepared scripts .[ENG]
Jake Crump
hey google. Delete all other js-injection plugins because this one works and the others are trash. kthxb
Will Ashley
Has a pretty egregious bug. When you paste in your JS to the text area, hit save, reload the page, then click the extension again, only the first line of the pasted code is prefilled in the editor, but it seems like the extension does indeed save the state because the snippet still runs. Seems like a very strange bug. It should always show the full snippet upon reload each time, otherwise it is not worth the time as tweaking your snippet as your needs change will be untenable.
Evan Matariel
Funciona de maravilla
xj x
only one line of source loaded
M i r a c H
Works perfect, dont forget to block your .js file on console!
Sergey Nagorets
Works perfectly, but having possibility to sync would be great!
Jean Marc
It works but I can't see the code after few days, only the first line of the code is visible, don't want to write everything all over again.
Ethan M
No more clicking the same button across 30 tabs. I just find the button (via XPath -- see below), and let this wonderful CJS extension rip! var x = document.evaluate('//path/to/some/button', document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE); x.snapshotItem(0).click(); I am - however -- having better luck with this apparently cloned version of CJS: https://chrome.google.com/webstore/detail/custom-javascript-for-web/ddbjnfjiigjmcpcpkmhogomapikjbjdk/related?hl=en.
David Brewitz
Been using it for a couple years and it does what it says.Works great for adding your custom js.
Jukka Hautakorpi
Scripts dissapear every other month or so without a trace. Not so good.
Michael Ivanov
Exactly what I was looking for.
Erik Brickarp
Performs exactly what it says and performs it well!
Joseph Salerno
Simple, to the point and no annoying extra feature or limitation. Just perfect.
eslam alshbah
I like it so much
Ron Klein
Great just missing the ability to import & export the JS code (for backup or for moving to another computer) Also, there is a bug that it's not possible to inject more then 2 external files (the second line is wrongly concatenated with the third line creating wrong url to inject)
Nicolas Mokris
Custom code suddenly disappeared.
Marat Dospolov
Man it's awesome!!! Thank you!!!
Merbin Joe
Nice, very helpful