Ajax Interceptor Tools

Modify the response text of Ajax requests

O que é Ajax Interceptor Tools?

Ajax Interceptor Tools é uma extensão do Chrome desenvolvida por Peng Chen, e sua principal característica é "Modify the response text of Ajax requests".

Capturas de Tela da Extensão

screenshot
screenshot
screenshot
screenshot
screenshot

Baixar o arquivo CRX da Extensão Ajax Interceptor Tools

Baixe arquivos de extensão Ajax Interceptor Tools no formato crx, instale manualmente as extensões do Chrome no navegador ou compartilhe os arquivos crx com amigos para instalar facilmente as extensões do Chrome.

Instruções de Uso da Extensão

                        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                    

Informações Básicas da Extensão

Nome Ajax Interceptor Tools Ajax Interceptor Tools
ID kphegobalneikdjnboeiheiklpbbhncm
URL Oficial https://chromewebstore.google.com/detail/ajax-interceptor-tools/kphegobalneikdjnboeiheiklpbbhncm
Descrição Modify the response text of Ajax requests
Tamanho do Arquivo 2.32 MB
Contagem de Instalações 2,000
Versão Atual 0.0.9
Última Atualização 2023-12-12
Data de Publicação 2022-09-20
Classificação 4.67/5 Total de 6 Avaliações
Desenvolvedor Peng Chen
Email [email protected]
Tipo de Pagamento free
Site da Extensão https://github.com/PengChen96/ajax-tools
Idiomas Suportados 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": [
                ""
            ]
        }
    ]
}