Web Rewriter

Web Rewriter

Create rules to rewrite network traffic

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "$schema": "https://json.schemastore.org/chrome-manifest",
  "manifest_version": 3,
  "name": "Web Rewriter",
  "description": "Create rules to rewrite network traffic",
  "version": "4.0.1",
  "homepage_url": "https://rewrite.jottocraft.com",
  "icons": {
    "16": "assets/16.png",
    "32": "assets/32.png",
    "48": "assets/48.png",
    "128": "assets/128.png"
  },
  "content_scripts": [
    {
      "run_at": "document_start",
      "matches": [
        "*://*/*"
      ],
      "exclude_matches": [
        "https://rewrite.jottocraft.com/*",
        "https://satella.staging.hq.jottocraft.com/*",
        "http://localhost:3000/*"
      ],
      "js": [
        "injector.js"
      ]
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "hook.js"
      ],
      "matches": [
        "*://*/*"
      ]
    }
  ],
  "externally_connectable": {
    "matches": [
      "https://rewrite.jottocraft.com/*",
      "https://satella.staging.hq.jottocraft.com/*",
      "http://localhost:3000/*"
    ]
  },
  "background": {
    "service_worker": "worker.js"
  },
  "permissions": [
    "storage"
  ],
  "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlAxaAL8e1cwtp52mL231vLAb87oxOhjxaYLXmvmHz7BsQzFuvBzYyHpErzEvWEmpJZ/X56RABZggrEE11XgnRxLNcGyUuqL3pNlOcutrSN3/5452IBKscX5Qh8VWJ6MG6K+cPek3CvC2Rerd0ywJkz7kj4GCI1b0dQET9pJjMWgNX+O0X4rY7Lsaofurtc6PHjFQBYXxWQoizvYiVm6bc6HnfG6Eyf2nyu3+FNW5nAcBmLBMBCy7UWnOAI5wIx8Ti4kjw9Pfy2Ha5ncIADwM9nIv42gIKI0E7t4+F81OJesYUWujpmTB2fmbwzLKMhnblWqi/UFcelVAs5LagwBCgQIDAQAB"
}