There is a website that I like visiting which uses a Javascript that does not work on Linux with Iceweasel. Looking into the source, I have found a simple way to fix it, so what I would like to do is set up something like Fiddler2's AutoResponder feature that will intercept a request for the bad Javascript, returning the fixed Javascript from the local filesystem instead.

What is the simplest way to do this?

Note: The webmaster has refused to use my fixed version of the script.

link|improve this question
feedback

1 Answer

Have you looked into using GreaseMonkey? Depending on when the JS is loaded (and how it's executed) - that may be the perfect solution.

link|improve this answer
Yes, I looked into Greasemonkey, but unfortunately by the time that the Greasemonkey script executes, the error has already occurred. – Daniel Trebbien Mar 10 '11 at 0:34
feedback

Your Answer

 
or
required, but never shown

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