Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.