A Firefox plugin that can modify incoming data before the page processes it?

Say the webpage loads external javascript on load, is there any such FireFox plugin that I could use to modify javascript before the page actually processes it? (not just javascript specifically)

Thanks in advance. (I'm also sure that the Tamper Data plugin only changes the header data, not the actual content)

+6
javascript html plugins firefox-addon
source share
6 answers

You have several options:

  • Tamper data will change the POST parameters (and GET really, since you can change the URL).
  • You can also combine FoxyProxy ( https://addons.mozilla.org/en-US/firefox/addon/2464 ) with any number of free interactive proxies (Fiddler, Paros, Burp, Charles)
  • Finally, you can not use a proxy server and write a greasemonkey script.

I think you are most likely lucky with the FoxyProxy + proxy approach. Unfortunately, this is not one addon.

+5
source share

For anyone who has never used tamperdata: Tamper data is for OUTGOING queries. Tamper data can modify an entire request, except for a URL that requires the request to be replayed.

With GreaseMonkey, you can create standalone custom plugins that can modify any element of a page before it is loaded.

Here is the MANUAL you want, which GreaseMonkey explains.

Here are a huge number of "UserScripts" GreaseMonkey. This site contains many examples of what you are looking for.

+6
source share

A minimal browser-based approach would be to create your own bookmarklet. For example, I found the Show Hiddens shortcut extremely useful for debugging forms. While the extremely simple bookmarklet does what is not available to Tamper. I found it here: http://www.squarefree.com/bookmarklets/forms.html

There are also some useful options on the Forms tab of the web developer toolbar.

+2
source share

If you want to change the downloadable resource, use Opera, set the cache so that it never expires, and change the files cached. What I did this a year or two ago is successful.

+2
source share

I believe that GreaseMonkey can modify the data on the page, although I'm not sure if it runs before or after the page loads.

+1
source share

Check out TamperMonkey for Chrome: http://tampermonkey.net/

Or, if you want to do it manually, in Chrome it's really easy.

In Chrome, go to: chrome: // extensions. Then drag your .js file onto this page.

Chrome will automatically create a manifest.json file in the Chrome AppData folder. You can modify the manifest.json file to filter the websites on which you want to use the script.

+1
source share

All Articles