Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

is there a browser extension that can run a local js instead of the linked file from the website?

share|improve this question
up vote 2 down vote accepted

You didn't specify which browser, but the concept of GreaseMonkey, which is available in FireFox, is also available in some other browsers too.

Basically you can hook into the browser page load, and load your own javascript which could in theory rewrite some of the DOM including it's javascript...

share|improve this answer
Thank you =) With google chrome you even don't need an extension, chrome just accepts the greasemonkey scripts =) – manuel Sep 26 '10 at 18:07
Very nice; I knew chrome was working on supporting greasemonkey scripts a year or so ago. Good to hear it's in now. – John Weldon Sep 26 '10 at 18:09

not only Greasemonkey, but also Chickenfoot, Platypus, Selenium, .., iMacros would do the job. Or you can insert .js with Proxomitron/Privoxy/any other proxy.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .