API MOCK Firefox

Examine source code of API MOCK

Por: yasewang Add-on
Inspect and view changes in API MOCK source codes across current and past versions
xHeader
Modify request and response headers. No ads, no malware.
Please login to examine the extension's source code.
manifest.json
{
  "name": "API MOCK",
  "version": "0.1.0",
  "description": "Modify the response text of Ajax requests",
  "manifest_version": 3,
  "browser_specific_settings": {
    "gecko": {
      "id": "wangyasen8@163.com"
    }
  },
  "permissions": [
    "storage",
    "tabs"
  ],
  "host_permissions": [
    "http://*/*",
    "https://*/*"
  ],
  "action": {
    "default_icon": {
      "16": "./icons/tools16.png",
      "24": "./icons/tools24.png",
      "32": "./icons/tools32.png"
    }
  },
  "icons": {
    "48": "./icons/tools128.png",
    "128": "./icons/tools128.png"
  },
  "background": {
    "scripts": [
      "service_worker.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "./content.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    }
  ],
  "devtools_page": "devtoolsPage/index.html",
  "web_accessible_resources": [
    {
      "resources": [
        "dist/index.html",
        "pageScripts/index.js",
        "html/iframePage/mock.js",
        "html/iframePage/dist/*"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ]
}

Melhores alternativas API MOCK

Aqui estão algumas Firefox add-ons que são similares a API MOCK: