
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/
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
Does not save multi-line template strings and even regular multi-line strings split by ‘ + ‘.
Just waste of my time. Don’t use it
Great extension, it does exactly what it has to do perfectly.
After a refresh, my code still runs but it cannot be seen in the editor!
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.
code gets cut off after saving / stops running.
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.
meine Scripte werden nicht gespeichert, also auch nicht ausgeführt
I put 20 lines of code, page reloads, I open editor, there is only first line of code there
I love it
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)
}
})
hmmm, It would be better if you support controlling script position in HTML https://developer.chrome.com/extensions/content_scripts#run_time
Not work, but in console my script work
Doesn’t work. Waist of time.
Doesn’t work
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.
There is no explanation on how to open the editor and use it I click on it and then nothing
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.
This is perfect app and i love it so much!
Za każdym razem czasu usuwa napisane skrypty.[PL]
Every time deletes prepared scripts .[ENG]
hey google. Delete all other js-injection plugins because this one works and the others are trash. kthxb
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.
Funciona de maravilla
only one line of source loaded