{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreia52v5hfnbeo27d7siovcahkwtoywnoapfd6xfslwjgnao6ivrbsu",
    "uri": "at://did:plc:hqad6xwuzg7oqfmwylfkvqfm/app.bsky.feed.post/3mjufidl277e2"
  },
  "path": "/viewtopic.php?t=33351&p=272558#p272558",
  "publishedAt": "2026-04-19T16:20:07.000Z",
  "site": "http://forum.palemoon.org",
  "tags": [
    "https://forum.palemoon.org/viewtopic.php?f=71&t=32889#p268028"
  ],
  "textContent": "> When using Intercept & Modify HTTP Response, how do I assemble the Search string to go with the replacement? If there are dozens of replacements to be done, do I put in wildcards to try to match up with the replacement?\n> There was a file in the zip file called Help.js. What is that for? I can read the source code, but trying to follow what it is suggesting is not something I understand well. How is that file supposed to be used?\n\nI'm not quite sure what you're trying to do. You say, \"If there are dozens of replacements to be done ...\". You don't specify whether all these \"replacements\" are for the same URL pattern (\"host\" + \"path\") or for different patterns. However, in both cases, each \"replacement\" must have its own \"search\" + \"replace\" pair.\n\nIn the screenshot (example) below, there are two URL patterns for which \"replacements\" are made:\n\nPatern 1:\n\nhost = /developer.mozilla.org/\npath = /.*\\/docs\\/.*/\n\nPatern 2:\n\nhost = /developer.mozilla.org/\npath = /.*\\\\.js.*/\n\nFor the first pattern, there are 6 pairs of \"search\" + \"replace,\" while for the second pattern, there is only a single pair of \"search\" + \"replace\":\n\n**Screenshot:**\n\n\n\n**********\n\nI haven't updated the \"Help.js\" file because (over time) many explanations have been added, illustrated with screenshots. For this reason, I've posted a JavaScript that can be used to save to disk all the forum pages where I've posted HELP for this add-on. Please read my post here:\n\nhttps://forum.palemoon.org/viewtopic.php?f=71&t=32889#p268028\n\n* * *",
  "title": "Add-ons • Re: using Intercept & Modify HTTP Response",
  "updatedAt": "2026-04-19T16:20:07.000Z"
}