Modify the response text of Ajax requests
Ajax Interceptor Tools Extension
🧰 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
Source Manifest.json
How to download and manually install Ajax Interceptor Tools extension for Chrome
Looking for a way to install Ajax Interceptor Tools extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.
However, you may need to install Ajax Interceptor Tools extensions manually, this article outlines two simple methods to effortlessly install Ajax Interceptor Tools extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download Ajax Interceptor Tools extension and manually install through Drag &Drop
If you ever need to manually install a Ajax Interceptor Tools extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.
Step 1: Download the Ajax Interceptor Tools Extension by clicking the "Download CRX" button on the website.
Look for the Ajax Interceptor Tools extension you wish to install. Go to the website and download the Ajax Interceptor Tools extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Ajax Interceptor Tools extension that contains all the data.
Step 2: Extract &Arrange Files
Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.
Step 3: Go to the Chrome Extensions Page
Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.
Step 4: Drag and Drop the Extension
Now, go to the folder where you extracted the Ajax Interceptor Tools extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.
Step 5: Complete the Installation
Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.
Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.
Method 2: Download Ajax Interceptor Tools extension for Chrome and install in Developer Mode
This is another method to install Ajax Interceptor Tools extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.
Step 1: Download the Ajax Interceptor Tools extension file
Select and download the Ajax Interceptor Tools extension by clicking the 'Download CRX' button on the website.
Step 2: Extract the downloaded contents
Convert the file to a ZIP file if it is in CRX format then extract the Ajax Interceptor Tools extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Ajax Interceptor Tools extension running.
Step 3: Open Chrome Extension Setting Page
In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.
Step 4: Enable Developer Mode
After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.
Step 5: Load the Unpacked Extension
Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."
Step 6: Select the Extension Folder
Once the pop-up opens upon clicking Load unpacked, select the Ajax Interceptor Tools extension directory and click on the "Select Folder "button.
Step 7: Confirm and Install
After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.
Conclusion
Here we've made a step-by-step guide on How to manually install Ajax Interceptor Tools extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
Ajax Modifier 3,000+ 48 ★ 2.08MiB
PostWoman Http Test 3,000+ 46 ★ 834KiB
Inssman: Open-Source: Modify HTTP Request 3,000+ 10 ★ 3.51MiB
Request Interceptor 3,000+ 58 ★ 1.89MiB
XSwitch 3,000+ 18 ★ 1.6MiB
Request Interceptor 3,000+ 12 ★ 23.97KiB
Easy-Interceptor 3,000+ 2 ★ 454KiB
Colibri: modify Ajax response 3,000+ 2 ★ 220KiB
GoRes 3,000+ 8 ★ 225KiB
Ajax Proxy 3,000+ 8 ★ 835KiB
Requestly - Intercept, Modify & Mock HTTP Requests 3,000+ 1227 ★ 876KiB
Mock:Intercept and directly return data 3,000+ 6 ★ 487KiB
FeHelper(前端助手) 3,000+ 321 ★ 2.72MiB
tweak: mock and modify HTTP requests 3,000+ 190 ★ 3.22MiB
稀土掘金 3,000+ 339 ★ 4.66MiB
Console Importer 3,000+ 20 ★ 9.55KiB
Octotree - GitHub code tree 3,000+ 1139 ★ 3.54MiB
ModResponse - Mock and replay API 3,000+ 23 ★ 454KiB
Apifox Browser Extension 3,000+ 9 ★ 28.39KiB
JSON-handle 3,000+ 450 ★ 193KiB
Axure RP Extension for Chrome 3,000+ 758 ★ 14.44KiB
Sourcegraph 3,000+ 169 ★ 8.22MiB
MockMan - mock APIs 3,000+ 17 ★ 2.3MiB
Netify 3,000+ 40 ★ 1.24MiB
User reviews
Rock Guo (ID: 0000004757d4e865) Voted 5 ★ - Updated 10/05/2023
Sage Panda (ID: 00000081b03fec5a) Voted 3 ★ - Updated 08/29/2023
hongyan huang (ID: 0000005721c1081b) Voted 5 ★ - Updated 04/01/2023
LIN S (ID: 00000093618a081a) Voted 5 ★ - Updated 09/20/2022