Modify HTTP Response

By: Off JustOff

About this add-on

Modify HTTP Response is designed to rewrite http response body using search & replace patterns.

This tool works on low level API and intended for advanced users.
Incorrect filters can cause browser freeze, hang or loose data.
Never use filters from untrusted sources or if you don't understand them.

Filters Syntax:
Filters = [ Filter1, Filter2, ... ]
FilterN = [ Host, Rule1, Rule2, ... ]
RuleN = [ Path, [ Search1, Replace1, Search2, Replace2, ... ] ]

Host, Path, Search and Replace items must be enclosed in double quotes ("), double quotes and backslash (\) must be escaped with backslash. When using the built-in editor, these rules will be applied automatically.

When Host, Path or Search matches to ^\/.+\/[igm]{0,3}$ it treated as regexp.

Filter examples:
[["",["/",["<h1>Example Domain</h1>","<h3>Small Example Domain</h3>"]]]]

- Only one Filter per Host is processed for performance reasons, use multiple Rules within Filter and multiple Search & Replace pairs within each Rule, if required
- To avoid errors use embedded filters editor
- Ctrl+Click on toolbar button calls the options

See also other add-ons made by JustOff.

Install Now

Release Information

Version 1.3.6
Updated on April 16, 2019


Pale Moon 24.0 to 28.*


GNU General Public License 3.0


Add-on Releases (Version History)
Add-on Homepage
Source Repository

- Advertisement -

Site design and Branding © 2020 Moonchild Productions - All rights reserved
Any other content, brand names or logos are copyright or trademark to their respective owners.
Policies: Cookies - User Content - Privacy.

The Pale Moon Add-ons Site is powered by Project Phoebus