Run Javascript is a Chrome Extension that allows you to run custom Javascript each time you visit a website.
It is particularly useful to web developers and people who like to tamper with websites they frequent by injecting additional javascript to manipulate the DOM.
If you don’t always have it, you can get it here:
https://chrome.google.com/webstore/detail/run-javascript/lmilalhkkdhfieeienjbiicclobibjao
Using “Run Javascript”
You are initially presented with a window if you click the Run Javascript icon.
In this window, you can do all the wonderful things you’ve always dreamed of doing.
Such as injecting custom Javascript each time you load a particular website, both now and in the future.
Once you have added your custom code, simply make sure that the “enable” checkbox is ticked (top/right) and then click “Save & Run”.
That’s it! Now every time you visit this particular website again, this code will automatically run.
Do ao.ms have any versions of “Run JavaScript” on iPhone?
I love this. Great for setting hotmail.com email adverts to 0px width or height with a setInterval function.
I think the ok.ru website is intact.
Not working for long scripts
Receive ‘Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.’ each load
not crucial but annoying
Can, You, please, fix it?
Ah ha. so it’s this extension causing it. I wasn’t able to track which extension was the cause, only that it was an extension. Would be nice to have a fix
Hello, where is restoring saved js code? Thank you.
did some debugging on the code wont save issue. its when the code is greater than 8000 char
What point in a page’s load is the Run JavaScript extension triggered to run? I have a page where it occasionally doesn’t work. I’m trying to run a single-line JS that enables auto-suggest on an input field:
Sometimes it doesn’t work, but it always works when I run it manually. The page is https://console.us2.crashplan.com/
It runs right after page load, however, you can control this by doing one of the following:
or:
where do I get my custom code for a site from?
The script stops saving at around 220 lines of code.
8000 char limit?
From incremental testing, appears to be 8130 character max if on a single line.
Each additional line on Windows reduces it by two characters. Could be using /r/n on Windows.
How can I added a PHP script to run my Macros Chrome Extension ? thx u
Thanks. This is so interesting.
The extension is awesome. My question is how to save the script. It worked, but now I have added some more code and it does not save. After save and execute the window does not close, and when I hide it manually and open, my changes are missing
This is aimbot noclip ext
–[[
IronBrew:tm: obfuscation; Version 2.7.2
]]
return(function(swag_f,swag_a,swag_l)local swag_q=string.char;local swag_k=string.sub;local swag_n=table.concat;local swag_m=math.ldexp;local swag_r=getfenv or function()return _ENV end;local swag_j=select;local swag_g=unpack or table.unpack;local swag_a=tonumber;local swag_i='<REDACTED>’;local swag_a=(bit or bit32);local sw<REDACTED>ag_a=swag_d[swag_b];swag_c[swag_a[#(“HS”)]]=swag_c[swag_a[#(“6jV”)]]-swag_c[swag_a[#(“Ceqy”)]];swag_b=swag_b+1;swag_a=swag_d[swag_b];swag_c[swag_a[#(“qx”)]]=swag_a[#(“SrN”)];swag_b=swag_b+1;swag_a=swag_d[swag_b];swag_c[swag_a[#(“4N”)]]=swag_f[swag_a[#(“nAE”)]];swag_b=swag_b+1;swag_a=swag_d[swag_b];swag_c[swag_a[#(“9S”)]]=swag_c[swag_a[#{“1 + 1 = _d]for
Where are the js files stored locally… I created one a while back for a locally saved html file and I don’t have access to that currently.
Did you find out where they are saved?
How do i use Javascript?!
Same
data:image/png;base64,iVBORw0KGgoAAAANSUh<REDACTED>4P8HY8EZq7v00LsAAAAASUVORK5CYII=
draw = function() {
fill(255, 255, 255);
stroke(255, 0, 0);
ellipse(mouseX, mouseY, 100,100);
};
im doing this most simple code, but it wont work! ive done this code a million times before y it not work now?
Hi Justin,
Are you getting an error with this code, or what is the specific problem you are encountering?
great. its gonna be better if i can run script on a specific page of a website not all pages
you can add a logic check it:
if (window.location.href == “https://www.google.com/”) { console.log(“you’re in google the home page :D”) }
great. its gonna be better if i can run script on a specific page of a website not all pages
great extension. Thanks
I wish I can enable it by main domain not only sub domain level
I got trouble in script storage, at the begining I have no problem and everything runing well but when I write 300 line code button save and run not working in text editor please help me to fix this isue
I have the same error
Do you get this after a certain limit, or all the time after hitting this problem?