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
官方網址 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": [
                ""
            ]
        }
    ]
}