Modify HTTP Response 1.3.3
by Off JustOff
Rewrite http response body using search & replace patterns
About this Add-on
Unfortunately, Mozilla does not provide all the necessary APIs that could allow to migrate this add-on to WebExtensions. If you want to continue using it after November 14, 2017, you should consider replacing your browser with Pale Moon, SeaMonkey or Waterfox. Many thanks for your feedback and support over the years.
*****************************************************************************************************
Warning:
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 Host, Path or Search matches to ^/.+/[igm]{0,3}$ it treated as regexp.
Filter example:
[["example.com",["/",["<h1>Example Domain</h1>","<h3>Small Example Domain</h3>"]]]]
Notes:
- 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
You can send me small gift if you wish. It's not necessary, but I'll be pleased. 1DpoN1pbNrTRqe4KCETjRGzJUVELtEXtPM