Ajax Interceptor Tools

Modify the response text of Ajax requests

什么是Ajax Interceptor Tools?

Ajax Interceptor Tools是由Peng Chen开发的Chrome扩展程序,该扩展的主要功能是“Modify the response text of Ajax requests”。

扩展截图

screenshot
screenshot
screenshot
screenshot
screenshot

下载Ajax Interceptor Tools扩展crx文件

下载Ajax Interceptor Tools扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        An extension plugin for Chrome that modifies the response of AJAX requests.

🧰 Main features:
1. Intercept and modify the response of XMLHttpRequest and fetch requests, including 404 status requests.
2. Match requests based on regular expressions and HTTP request methods.
3. Edit response results in JSON or JavaScript format, with support for Mock.js syntax.
4. Easily create mock scenarios in JavaScript programming by accessing original request information from the arguments parameter.
5. New U-Network panel in DevTools for quickly intercepting requests and modifying response results.
6. Support change the request URL, request headers and body.
7. Support importing/exporting rule configurations.
8. Support adjusting the order of groups and rules.
9. Support picture-in-picture option for opening the configuration page.
10. Support intercepting network configuration pages using declarativeNetRequest.
⚠️ Notes:
1. After installing the plugin, restart the browser or refresh the relevant pages to ensure normal use.
2. The plugin only modifies the response at the JS level and cannot display the modified result in the Network panel. The plugin prints the modified results to the console, which can be viewed there.

🌟GitHub repository (please star if you find it helpful): https://github.com/PengChen96/ajax-tools

🧰 主要功能:
1、 支持拦截并修改XMLHttpRequest和fetch请求的响应结果,包括404状态的请求
2、支持基于正则表达式和HTTP请求方法匹配请求
3、支持以JSON或JavaScript格式编辑响应结果(支持使用Mock.js语法)
4、支持在JavaScript编程中从arguments参数获取原始请求信息,轻松创建mock场景
5、在DevTools中新增U-Network面板,快速实现请求拦截和响应结果修改
6、支持更改请求的URL、请求头和请求体
7、支持导入/导出规则配置
8、支持调整分组及规则顺序
9、支持画中画打开配置页面
10、支持使用declarativeNetRequest拦截网络配置页面
⚠️ 注意:
1、安装插件后,请重启浏览器或刷新相关页面,以确保插件正常使用。
2、该插件仅在JS层面对返回结果进行修改,无法在Network面板中查看修改后的结果。插件会将修改后的结果打印到控制台(Console)中,您可以在控制台中查看。

🌟Github(欢迎star~):https://github.com/PengChen96/ajax-tools                    

扩展基本信息

名称 Ajax Interceptor Tools Ajax Interceptor Tools
ID kphegobalneikdjnboeiheiklpbbhncm
官方URL https://chromewebstore.google.com/detail/ajax-interceptor-tools/kphegobalneikdjnboeiheiklpbbhncm
简介 Modify the response text of Ajax requests
文件大小 2.32 MB
安装次数 2,000
当前版本 0.0.9
更新时间 2023-12-12
上架时间 2022-09-20
评分 4.67/5 共6次评分
开发者 Peng Chen
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/PengChen96/ajax-tools
支持的语言 zh-CN
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Ajax Interceptor Tools",
    "version": "0.0.9",
    "description": "Modify the response text of Ajax requests",
    "manifest_version": 3,
    "declarative_net_request": {
        "rule_resources": []
    },
    "permissions": [
        "storage",
        "unlimitedStorage",
        "declarativeNetRequest",
        "declarativeNetRequestFeedback",
        "declarativeNetRequestWithHostAccess"
    ],
    "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": {
        "service_worker": "service_worker.js"
    },
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "js": [
                ".\/content.js"
            ],
            "run_at": "document_start",
            "all_frames": true
        }
    ],
    "devtools_page": "devtoolsPage\/index.html",
    "web_accessible_resources": [
        {
            "resources": [
                "html\/iframePage\/dist\/index.html",
                "html\/iframePage\/dist\/declarativeNetRequest.html",
                "pageScripts\/index.js",
                "html\/iframePage\/mock.js",
                "icons\/iconfont\/iconfont.css",
                "icons\/iconfont\/iconfont.woff2",
                "icons\/iconfont\/iconfont.woff",
                "icons\/iconfont\/iconfont.ttf"
            ],
            "matches": [
                ""
            ]
        }
    ]
}